Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

Orders /GetOrderPackagingSplit

Allows 250 calls per minute

Response: List<OrderPackagingSplit>



Get a possible order split by packaging

Parameters

NameTypeDescription
orderIdGuidOrder id
openOrdersOnlyBooleanWhether to search open orders only, or all orders

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/Orders/GetOrderPackagingSplit

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=74049351-eced-46b0-9f86-23dd3ace7579&openOrdersOnly=true

Response

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

[
  {
    "pkBinId": "5081670d-9c7f-406e-8f14-7684912d4a96",
    "pkPostalServiceId": "0a421328-9fbc-45ca-bd99-1b9a0e058ef4",
    "PackagingWeight": 3.0,
    "fkPackagingTypeId": "6e61b2f5-ae8c-49f9-b230-f1de89e266be",
    "Items": [
      {
        "AssignedBatches": [
          {
            "OrderItemRowId": "b399d59b-9aa8-4fa0-a2a7-353c12314c0b",
            "BatchNumber": "sample string 2",
            "fkBinId": "02032df8-14b9-480e-99b9-15588f0d8b09",
            "fkOrderItemBatchId": 4,
            "Quantity": 5
          }
        ],
        "RowId": "9206a9ac-7739-445f-9447-5fab92c0493c",
        "BoxId": 1,
        "Quantity": 2,
        "TrackingNumber": "sample string 3",
        "Weight": 4.0,
        "SKU": "sample string 5",
        "Title": "sample string 6",
        "IsBatched": true
      }
    ],
    "TotalWeight": 7.0,
    "TrackingNumbers": "sample string 3"
  }
]