Get a list of order item batch information for the specified order
Name | Type | Description |
---|---|---|
parameters | OrderItemBatchInfo | Made up of pkOrderId |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Orders/GetOrderItemBatchsByOrderId
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": "1ac83f04-ac96-45b2-96c0-ef1039c93f43"
}
This is an example of the response JSON. Results will vary depending on your data.
[
{
"OrderItemBatchId": 1,
"OrderItemRowId": "f247e521-4f5e-4338-b284-21c069ea5eeb",
"BatchInventoryId": 3,
"Quantity": 4,
"Batch": {
"BatchId": 1,
"SKU": "sample string 2",
"InventoryTrackingType": 3,
"StockItemId": "cafed87f-2934-46e8-938e-9bc0353e263c",
"BatchNumber": "sample string 5",
"ExpiresOn": "2023-01-10T13:49:54.222404+00:00",
"SellBy": "2023-01-10T13:49:54.222404+00:00",
"Inventory": [
{
"BatchInventoryId": 1,
"BatchId": 2,
"StockLocationId": "959b6383-7d2d-4cbf-98ec-9b53733bde05",
"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
},
"DespatchUnitValue": 0.0,
"AssignmentType": 0
}
]