Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Orders /GetOrdersRelations

Allows 150 calls per minute

Response: Dictionary<Guid,List>



Get order relations for a list of orders.

Parameters

NameTypeDescription
orderIdsList<Guid>List of order Ids

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/Orders/GetOrdersRelations

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.

orderIds=[
  "440bdb12-8399-4356-a51d-2b915a8cbb58"
]

Response

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

{
  "b7ad72c8-1fe5-4697-9fb0-39cb668e93d1": [
    {
      "ParentOrderId": "186c15c5-93be-4fe2-9d84-f799acbf2666",
      "ChildOrderId": "995eecdb-4495-4db1-8061-bf64652bf3b3",
      "Parent": 3,
      "Child": 4,
      "Type": "sample string 5"
    }
  ]
}