Increases the stock level and current stock value of a batched stock item by the specified quantity
Name | Type | Description |
---|---|---|
stockItem | BatchedBookIn | Batch stock item |
The following request format is required for this method.
POST https://eu-ext.linnworks.net/api/Stock/BookInStockBatch
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.
stockItem={
"SKU": "sample string 1",
"BatchNumber": "sample string 2",
"LocationId": "c2ff44c5-06ff-44b6-8d23-2277c5ecfb45",
"BinRack": "sample string 4",
"Quantity": 5,
"StockValue": 6.0,
"BatchStatus": "sample string 7",
"PrioritySequence": 1,
"ExpiresOn": "2022-03-09T13:04:02.2958304+00:00",
"SellBy": "2022-03-09T13:04:02.2958304+00:00"
}
This is an example of the response JSON. Results will vary depending on your data.
{
"BatchId": 1,
"SKU": "sample string 2",
"InventoryTrackingType": 3,
"StockItemId": "58a2d006-1c7b-4c8e-8413-7f9593d7ebd9",
"BatchNumber": "sample string 5",
"ExpiresOn": "2022-03-09T13:04:12.0033827+00:00",
"SellBy": "2022-03-09T13:04:12.0033827+00:00",
"Inventory": [
{
"BatchInventoryId": 1,
"BatchId": 2,
"StockLocationId": "7e774a0c-646a-44d9-adcc-978cf9be757b",
"BinRack": "sample string 4",
"PrioritySequence": 5,
"Quantity": 6,
"StockValue": 7.0,
"StartQuantity": 8,
"PickedQuantity": 9,
"BatchStatus": "Available",
"IsDeleted": true,
"WarehouseBinrackStandardType": 1,
"WarehouseBinrackTypeName": "sample string 12",
"InTransfer": 1,
"BinRackId": 1,
"WarehouseBinrackTypeId": 1
}
],
"IsDeleted": true
}