Use this call to retrieve report about "Stock info for products in a specific category and location"
Name | Type | Description |
---|---|---|
date | Nullable<DateTime> | Used to specify report date or null for current period |
locationId | Guid | Used to specify report location id |
categoryId | Guid | Used to specify report category id |
pageNumber | Int32 | Used to specify report page number |
entriesPerPage | Int32 | Used to specify number of entries per page in report |
The following request format is required for this method.
POST https://eu-ext.linnworks.net/api/Dashboards/GetInventoryLocationProductsData
Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE
This is an example of the request structure. Results will vary depending on your data.
date=2022-03-09T13:04:03.2647649+00:00&locationId=0817fc54-fcce-4fc5-a9cc-06b26960ce27&categoryId=c6ccc61e-550a-420d-a775-faa23789e277&pageNumber=1&entriesPerPage=1
This is an example of the response JSON. Results will vary depending on your data.
{
"TotalResults": 1,
"Results": [
{
"ItemNumber": "sample string 1",
"ItemTitle": "sample string 2",
"StockLevel": 3,
"StockValue": 4.1
}
]
}