Name | Type | Description |
---|---|---|
request | AssignStockToOrderRequest |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Orders/AssignStockToOrder
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={
"OrderId": "63595d7b-77cc-42ed-8f02-542ef3a1252d",
"OrderItemRows": [
"96162ade-3d7c-4152-9d45-94e800d1136c"
],
"BatchAssignmentMode": 0
}
This is an example of the response JSON. Results will vary depending on your data.
[
{
"OrderItemBatchId": 1,
"OrderItemRowId": "17939a69-6536-4d0b-8b41-7b0306570463",
"BatchInventoryId": 3,
"Quantity": 4,
"Batch": {
"BatchId": 1,
"SKU": "sample string 2",
"InventoryTrackingType": 3,
"StockItemId": "9664ddc3-c106-4acf-9ab8-d3813dbb90d9",
"BatchNumber": "sample string 5",
"ExpiresOn": "2023-01-10T13:49:54.5267181+00:00",
"SellBy": "2023-01-10T13:49:54.5267181+00:00",
"Inventory": [
{
"BatchInventoryId": 1,
"BatchId": 2,
"StockLocationId": "415bb098-b5d3-4565-9c4a-cbc4a302d02d",
"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
}
]