diff --git a/package.json b/package.json index 6dc8dc39..9987a277 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "csv": "^1.1.0", "debug": "^2.2.0", "optimist": "^0.6.1", - "sphere-node-sdk": "^1.17.6", + "sphere-node-sdk": "^1.20.0", "sphere-node-utils": "^0.7.0", "tmp": "^0.0.23", "underscore": "^1.8.3", diff --git a/src/coffee/stockimport.coffee b/src/coffee/stockimport.coffee index 58577167..d265eb11 100644 --- a/src/coffee/stockimport.coffee +++ b/src/coffee/stockimport.coffee @@ -305,6 +305,7 @@ class StockImport predicate = "sku in (#{skus.join(', ')})" @client.inventoryEntries.all() + .perPage(500) .where(predicate) .fetch() .then (results) =>