Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Orders /ProcessOrdersInBatch

Allows 250 calls per minute

Response: List<ProcessOrderResult>



Process a list of orders

Parameters

NameTypeDescription
ordersIdsList<Guid>List of orders ids
locationIdNullable<Guid>User location
contextClientContextInformation about where the call came from

Example Request

The following request format is required for this method.

Endpoint URL

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

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.

ordersIds=[
  "44cfec2e-1a37-4ca9-a432-0295a06a5be3"
]&locationId=23bf9689-ea1d-4c09-8e6d-df5937f221ba&context={
  "Module": "sample string 1"
}

Response

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

[
  {
    "OrderId": "57cbea54-d932-4f1f-8eb9-8f47b7443726",
    "Processed": true,
    "Error": "sample string 3"
  }
]