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=4422cdb7-4749-48e2-aced-9d0927f41894

Response

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

[
  {
    "ParentOrderId": "64efc390-2bc4-4a12-8a1c-828fd87c261b",
    "ChildOrderId": "02480a26-ba45-4022-9c47-2c58ec694bb2",
    "Parent": 3,
    "Child": 4,
    "Type": "sample string 5"
  }
]