Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Orders /GetOrderRelations

Allows 250 calls per minute

Response: List<OrderRelation>



Get order relations

Parameters

NameTypeDescription
orderIdGuidOrder id

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/Orders/GetOrderRelations

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.

orderId=8c86b3e0-ad41-4f35-95d9-1266817e54bb

Response

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

[
  {
    "ParentOrderId": "37f65500-fb2b-496d-aaf9-50d9090762c9",
    "ChildOrderId": "0159d390-adeb-410a-bb9a-c3c77f4b8d20",
    "Parent": 3,
    "Child": 4,
    "Type": "sample string 5"
  }
]