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.
GET | 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=2023-01-10T13:49:46.354069+00:00&locationId=cb213ae7-281b-420c-899a-63e7b597e63e&categoryId=355a12e8-3f31-4f95-a840-f42d738006af&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
}
]
}