Name | Type | Description |
---|---|---|
request | AssignOrderItemBatches |
The following request format is required for this method.
POST https://eu-ext.linnworks.net/api/Orders/AssignOrderItemBatches
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={
"Batches": [
{
"OrderItemBatchId": 1,
"OrderItemRowId": "e8cc8c57-9172-4792-a5a9-2563fd5211b1",
"BatchInventoryId": 3,
"Quantity": 4,
"Batch": {
"BatchId": 1,
"SKU": "sample string 2",
"InventoryTrackingType": 3,
"StockItemId": "c4ab8e33-b199-4f74-8212-e109d7a8c0c3",
"BatchNumber": "sample string 5",
"ExpiresOn": "2022-03-09T13:04:02.7820531+00:00",
"SellBy": "2022-03-09T13:04:02.7820531+00:00",
"Inventory": [
{
"BatchInventoryId": 1,
"BatchId": 2,
"StockLocationId": "bc388b9c-9ea4-40ba-abc8-dd529d608531",
"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
}
]
}
This is an example of the response JSON. Results will vary depending on your data.