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=b26b81f8-41fc-4fff-8025-983d30f4414c&openOrdersOnly=true
This is an example of the response JSON. Results will vary depending on your data.
[
{
"pkBinId": "b5e5ba19-146d-4788-a20e-5cce66e385ad",
"pkPostalServiceId": "b9ce5104-dc9d-4ef1-a577-8be9a4efbea4",
"PackagingWeight": 3.0,
"fkPackagingTypeId": "9f74de31-c00b-4032-b99c-7061d7497572",
"Items": [
{
"AssignedBatches": [
{
"OrderItemRowId": "d9367ce9-9d21-4b10-b46e-28a7aa2a24c7",
"BatchNumber": "sample string 2",
"fkBinId": "8d35babd-2148-4281-a772-4332cae64b35",
"fkOrderItemBatchId": 4,
"Quantity": 5
}
],
"RowId": "c426e8fb-4461-4dbc-b093-99dc0ee66ad8",
"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"
}
]