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

GET 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": "67079db8-5e46-45f6-829e-f78e4d80f32a",
  "SearchTerm": "sample string 1"
}&cancellationToken={
  "IsCancellationRequested": false,
  "CanBeCanceled": false,
  "WaitHandle": {
    "Handle": {
      "value": 1376
    },
    "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": [
    "4a3224ba-bad0-4e37-bfd9-21497d5c8a76"
  ]
}