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

GET | 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=[
  "c5a9f3bc-68f0-40d8-bf75-b50acecd520f"
]&locationId=200448ca-a89f-4dca-abbf-368de5ba629e&context={
  "Module": "sample string 1"
}

Response

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

[
  {
    "OrderId": "12c1342e-87e2-4d81-850c-8ec27b74875d",
    "Processed": true,
    "Error": "sample string 3"
  }
]