Update the order with the batch numbers scanned during process order (i.e. those items with dbo.StockItem.BatchNumberScanRequired set)
batches must be provided for all items in the order which require batch number scanning (including composite children)
Overwrites any existing batch assignment for the required items
Name | Type | Description |
---|---|---|
BatchAssignment | BatchAssignmentForOrderItems | Batch information to be added |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Orders/ProcessOrder_RequiredBatchScans
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.
BatchAssignment={
"orderId": "cf6c6f6e-dce8-45d7-8fe3-72cd71f8d31d",
"batchToItemMapping": [
{
"orderItemRowId": "06850f23-a41a-4f88-84ac-f37a58adf887",
"batchInventoryId": 2,
"quantity": 3
}
]
}
This is an example of the response JSON. Results will vary depending on your data.
null