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=d5169b77-06fe-4d32-88d6-a844cd8826a5

Response

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

[
  {
    "ParentOrderId": "1695fd75-cbfd-4a52-93e4-e43bf5dca755",
    "ChildOrderId": "e65b9c90-32fe-477a-ae56-4a09bc1e5601",
    "Parent": 3,
    "Child": 4,
    "Type": "sample string 5"
  }
]