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=[
  "c4baffbc-df29-4017-b1a2-e7e8e057b0f8"
]

Response

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

{
  "1db414cc-6eae-42f6-a96d-3ac3e8f6f638": [
    {
      "ParentOrderId": "ae5bec03-bb22-468e-8abf-d338fb248bb4",
      "ChildOrderId": "9015b875-34c9-4990-bb94-48db3d96dee3",
      "Parent": 3,
      "Child": 4,
      "Type": "sample string 5"
    }
  ]
}