Allows the change of non batched / composite stock levels in build. Accepts either StockItemId or SKU and Stock location name or id
Name | Type | Description |
---|---|---|
request | UpdateStockLevelsBulkRequest |
The following request format is required for this method.
POST https://eu-ext.linnworks.net/api/Stock/UpdateStockLevelsBulk
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={
"Items": [
{
"SKU": "sample string 1",
"StockItemId": "be23ff54-129e-40a7-bfd6-74ff25ccda27",
"StockLocationName": "sample string 2",
"StockLocationId": "216ca8f8-dae0-45aa-8b98-68fbdd22ccf7",
"StockLevel": 1,
"StockValue": 1.1,
"UnitCost": 1.1,
"Binrack": "sample string 3",
"MinimumLevel": 1,
"RowIndex": 4
}
]
}
This is an example of the response JSON. Results will vary depending on your data.
{
"Items": [
{
"Errors": [
"sample string 1"
],
"SKU": "sample string 1",
"StockItemId": "855d276f-4b64-4dc6-8245-23452eb2689e",
"StockLocationName": "sample string 2",
"StockLocationId": "3a747a36-d1c0-43be-b916-a355f0ee530c",
"StockLevel": 1,
"StockValue": 1.1,
"UnitCost": 1.1,
"Binrack": "sample string 3",
"MinimumLevel": 1,
"RowIndex": 4
}
]
}