Get a possible order split by packaging
Name | Type | Description |
---|---|---|
orderId | Guid | Order id |
openOrdersOnly | Boolean | Whether to search open orders only, or all orders |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Orders/GetOrderPackagingSplit
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
This is an example of the request structure. Results will vary depending on your data.
orderId=ef9b88ae-eb92-4943-a49e-a85850c03012&openOrdersOnly=true
This is an example of the response JSON. Results will vary depending on your data.
[
{
"pkBinId": "18766ff0-121d-4af2-ac0f-97d061556078",
"pkPostalServiceId": "e5a69e2a-d4d7-49f6-8db1-d8153b0be87a",
"PackagingWeight": 3.0,
"fkPackagingTypeId": "554cd031-ce29-434a-aa40-d759f232d61d",
"Items": [
{
"AssignedBatches": [
{
"OrderItemRowId": "05fca648-ae24-4a8d-99f8-38f06b572707",
"BatchNumber": "sample string 2",
"fkBinId": "b671374a-c6bd-4816-b378-6e0bfdf5c101",
"fkOrderItemBatchId": 4,
"Quantity": 5
}
],
"RowId": "c69d427d-42e7-4ad8-a6ad-76550b208144",
"BoxId": 1,
"Quantity": 2,
"TrackingNumber": "sample string 3",
"Weight": 4.0,
"SKU": "sample string 5",
"Title": "sample string 6",
"IsBatched": true
}
],
"TotalWeight": 5.0,
"Width": 6.0,
"Height": 7.0,
"Depth": 8.0,
"TrackingNumbers": "sample string 3"
}
]