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

GET | 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=[
  "001804b5-faad-4851-bcb5-21f9316abd3d"
]

Response

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

{
  "ad68ee44-f830-4175-88c8-13cd39e08e34": [
    {
      "ParentOrderId": "dace0dc0-ebee-4fa3-9c9e-2faeda69c723",
      "ChildOrderId": "5e7d645e-7b43-47a4-bf60-58351bc9f36a",
      "Parent": 3,
      "Child": 4,
      "Type": "sample string 5"
    }
  ]
}