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.

Get

Endpoint URL

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

GET https://eu-ext.linnworks.net/api/Orders/ProcessOrdersInBatch?ordersIds=%5B%0D%0A%20%20%22b00e11c1-c27a-487a-be63-1ec4ae382112%22%0D%0A%5D&locationId=f12ed415-2bbb-43a9-9b5d-593eee683d32&context=%7B%0D%0A%20%20%22Module%22%3A%20%22sample%20string%201%22%0D%0A%7D

Headers

Connection: keep-alive
Accept: application/json
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

Post

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=[
  "b00e11c1-c27a-487a-be63-1ec4ae382112"
]&locationId=f12ed415-2bbb-43a9-9b5d-593eee683d32&context={
  "Module": "sample string 1"
}

Response

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

[
  {
    "OrderId": "6b2c9b6e-0cb7-41be-92f1-f959cd106545",
    "Processed": true,
    "Error": "sample string 3"
  }
]