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=[
  "48ca1540-436d-478c-a18c-35f4f0220522"
]

Response

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

{
  "5e3cafa4-95be-4151-8645-72b6e0b29a22": [
    {
      "ParentOrderId": "7912a210-b433-4341-bf95-9f62c374db07",
      "ChildOrderId": "27119584-3218-4bdb-9194-a71158e7936b",
      "Parent": 3,
      "Child": 4,
      "Type": "sample string 5"
    }
  ]
}