Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

OpenOrders /SearchOrders

Allows 150 calls per minute

Response: SearchOrdersResponse


Parameters

NameTypeDescription
requestSearchOrdersRequest
cancellationTokenCancellationToken

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/OpenOrders/SearchOrders

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.

request={
  "LocationId": "312e26ed-7395-4a9f-a173-fcd843bb8c3e",
  "SearchTerm": "sample string 1"
}&cancellationToken={
  "IsCancellationRequested": false,
  "CanBeCanceled": false,
  "WaitHandle": {
    "Handle": {
      "value": 1300
    },
    "SafeWaitHandle": {
      "IsInvalid": false,
      "IsClosed": false
    }
  }
}

Response

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

{
  "OpenOrders": [
    {
      "ViewId": 0,
      "LocationId": "00000000-0000-0000-0000-000000000000",
      "TotalOrders": 0,
      "OrderIds": null,
      "Count": 0
    }
  ],
  "ProcessedOrders": [
    "35ad4aeb-603a-45d3-81dd-d9b7e54fa6bd"
  ]
}