Get a list of available batchs for each order item for the specified order
Name | Type | Description |
---|---|---|
parameters | AvailableOrderItemBatchsInfo | Made up of pkOrderId |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Orders/GetAllAvailableOrderItemBatchsByOrderId
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.
parameters={
"pkOrderId": "953c9f8b-58fb-4e70-aa2b-2a825cbe4663"
}
This is an example of the response JSON. Results will vary depending on your data.
[
{
"BatchId": 1,
"SKU": "sample string 2",
"InventoryTrackingType": 3,
"StockItemId": "e00d0a9d-f07f-4f4d-891a-82e2f3313506",
"BatchNumber": "sample string 5",
"ExpiresOn": "2023-01-10T13:49:54.2477675+00:00",
"SellBy": "2023-01-10T13:49:54.2477675+00:00",
"Inventory": [
{
"BatchInventoryId": 1,
"BatchId": 2,
"StockLocationId": "5aa03db0-3029-4da3-af1a-0e6ffabf51cb",
"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
}
]