Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

Orders /ProcessOrder_RequiredBatchScans

Allows 150 calls per minute

Response: Void



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

Parameters

NameTypeDescription
BatchAssignmentBatchAssignmentForOrderItemsBatch information to be added

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/Orders/ProcessOrder_RequiredBatchScans

Headers

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

Request Body

This is an example of the request structure. Results will vary depending on your data.

BatchAssignment={
  "orderId": "90943428-fa9e-4884-bb53-f8822f76e31c",
  "batchToItemMapping": [
    {
      "orderItemRowId": "0ea98679-d846-485a-b97e-60b703afec1f",
      "batchInventoryId": 2,
      "quantity": 3
    }
  ]
}

Response

This is an example of the response JSON. Results will vary depending on your data.