Add rolling stock take/count. Rolling stock count will create a stock count header for every day (UTC based). Every request will create a session, adds all entries into the stock count
recounts all totals and discrepancies. WMS location or batched items requires BatchInventoryId to be specified. If you are submitting stock level for item that doesn't have batch inventory you must create it first, get its id and submit in the count
The method validates all entries, if any errors encountered the whole request will be rejected.
Name | Type | Description |
---|---|---|
request | AddRollingStockTakeRequest |
The following request format is required for this method.
POST https://eu-ext.linnworks.net/api/Stock/AddRollingStockTake
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.
request={
"LocationId": "eb7b0876-cefa-434c-8529-fc8923dd0369",
"SessionDuriationSeconds": 1,
"Items": [
{
"BinRack": "sample string 1",
"PickingWaveItems": [
{
"PickingWaveItemsRowId": 1,
"PickingWaveId": 2,
"UserName": "sample string 3",
"ToPickQuantity": 4,
"PickedQuantity": 5,
"StockItemId": "42717071-1e82-44ec-8b70-6fb68fb8af35",
"OrderId": 7,
"UserId": 1
}
],
"StockItemId": "f15d2c43-5803-4550-afa4-9557e5e4ecc3",
"Quantity": 2,
"OriginalQuantity": 1,
"StockValue": 1.0,
"BatchInventoryId": 1
}
]
}
This is an example of the response JSON. Results will vary depending on your data.
{
"ErroredItems": [
{
"BinRack": "sample string 1",
"PickingWaveItems": [
{
"PickingWaveItemsRowId": 1,
"PickingWaveId": 2,
"UserName": "sample string 3",
"ToPickQuantity": 4,
"PickedQuantity": 5,
"StockItemId": "63321213-7ea7-48fd-b019-b2feeeba359d",
"OrderId": 7,
"UserId": 1
}
],
"Errors": [
"sample string 1"
],
"StockItemId": "13ac2a3c-1b4f-411d-8c51-de9da6bb0b46",
"Quantity": 2,
"OriginalQuantity": 1,
"StockValue": 1.0,
"BatchInventoryId": 1
}
]
}