Hello,
If you want to pull all of your inventory items, you can run http://apps.linnworks.net//Api/Method/Stock-GetStockItems call with empty keyword.
Here is the raw request for GetInventoryItemsCount:
POST https://ext.linnworks.net//api/Inventory/GetInventoryItemsCount HTTP/1.1
Host: ext.linnworks.net
Connection: keep-alive
Content-Length: 40
Accept: application/json, text/javascript, */*; q=0.01
Origin: https://www.linnworks.net
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36
Accept-Language: en
Authorization: YOUR TOKEN
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: https://www.linnworks.net/
Accept-Encoding: gzip, deflate, br
Body:
includeDeleted=true&includeArchived=true
Worked like a charm.
Stuart Cameron
On the last line 1,10 indicates start at the first record and retrieve 10 more right? How do I establish how many Inventory Items I have so that I can retrieve them all, setting a higher figure than the amount of records available displays an error.
If I try (which is how I interpret the documentation), then I receive an error, so I am obviously missing something fundamentalThanks in advance for the direction and assistance