Back

Search

Search

Methods

Inventory

Orders

Orders /Get_OpenOrderBasicInfoFromItems

Response: Get_OpenOrderBasicInfoFromItemsResponse



Get a basic info of open orders, from a list of open order items

Parameters

NameTypeDescription
requestGet_OpenOrderBasicInfoFromItemsRequest

HTTP Endpoint

Server /Orders / Get_OpenOrderBasicInfoFromItems

Permissions

GlobalPermissions.OrderBook.OpenOrdersNode

Example Code

Example Request

The following request format is required for this method.

POST https://eu-ext.linnworks.net//api/Orders/Get_OpenOrderBasicInfoFromItems HTTP/1.1
Host: eu-ext.linnworks.net
Connection: keep-alive
Accept: application/json, text/javascript, */*; q=0.01
Origin: https://www.linnworks.net
Accept-Language: en
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: https://www.linnworks.net/
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

request={
  "OpenOrderItems": [
    "133e960d-fffc-4533-881b-51c9e42b6c7f",
    "d561e630-6712-474b-9c71-a2e233257dff"
  ]
}

Response

This is an example response. Results may vary depending on your data.

{
  "OpenOrders": [
    {
      "rowid": "166c791c-0a44-4c79-bc44-79e6afd6f1d9",
      "ItemNumber": "sample string 2",
      "fkOrderID": "a97e6dca-690b-4013-acef-62fe8c14f00c",
      "nOrderId": 4,
      "DispatchBy": "2019-08-21T13:34:05.8964713+01:00",
      "Status": 6
    },
    {
      "rowid": "166c791c-0a44-4c79-bc44-79e6afd6f1d9",
      "ItemNumber": "sample string 2",
      "fkOrderID": "a97e6dca-690b-4013-acef-62fe8c14f00c",
      "nOrderId": 4,
      "DispatchBy": "2019-08-21T13:34:05.8964713+01:00",
      "Status": 6
    }
  ]
}