29 $requestData = [
'scopeId' => 1,
'qty' => $qty,
'pageSize' => $pageSize,
'currentPage' => $currentPage];
32 'resourcePath' => self::RESOURCE_PATH .
'?' . http_build_query(
$requestData),
36 'service' =>
'catalogInventoryStockRegistryV1',
38 'operation' =>
'catalogInventoryStockRegistryV1GetLowStockItems',
42 $this->assertArrayHasKey(
'items',
$output);
56 'search_criteria' => [
'current_page' => 1,
'page_size' => 10,
'qty' => 100],
64 'stock_status' =>
null,
72 'stock_status' =>
null,
getLowStockItemsDataProvider()
_webApiCall( $serviceInfo, $arguments=[], $webApiAdapterCode=null, $storeCode=null, $integration=null)
testGetLowStockItems($qty, $currentPage, $pageSize, $result)