Use this call to retrieve report about "stock changes of an item"
Name | Type | Description |
---|---|---|
stockItemId | Guid | Used to specify report stock item id |
locationId | Guid | Used to specify report location id. If null then combined |
entriesPerPage | Int32 | Used to specify number of entries per page in report |
pageNumber | Int32 | Used to specify report page number. If -1 then will return all pages |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Stock/GetItemChangesHistory
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.
stockItemId=04f0335c-022d-43bd-a532-76476e0970dc&locationId=aa24e6c8-d13b-4c2d-a643-60cc872dd501&entriesPerPage=1&pageNumber=1
This is an example of the response JSON. Results will vary depending on your data.
{
"PageNumber": 1,
"EntriesPerPage": 2,
"TotalEntries": 3,
"TotalPages": 2,
"Data": [
{
"Date": "2023-01-10T13:49:55.0000801+00:00",
"Level": 2,
"StockValue": 3.1,
"Note": "sample string 4",
"ChangeQty": 5,
"ChangeValue": 6.1,
"StockItemId": "854dffac-169a-4b3b-a61d-f58dce39399f",
"StockItemIntId": 8
}
]
}