Orders

SetOrderPackagingSplit

Split an order by packaging <b>Rate limit: </b><span style="background-color:#0272d9;color:white;padding:4px 8px;text-align:center;border-radius:5px; font-size: small;"><b>150</b></span> / minute

post/api/Orders/SetOrderPackagingSplit

Request

  • Base URL
    https://eu-ext.linnworks.net
  • URL
    https://eu-ext.linnworks.net/api/Orders/SetOrderPackagingSplit
  • Auth
    API key in header Authorization

Request body

orderIdstring uuid

Order id

Example request

{
  "orderId": "00000000-0000-0000-0000-000000000000",
  "packagingSplit": [
    {
      "pkBinId": "00000000-0000-0000-0000-000000000000",
      "pkPostalServiceId": "00000000-0000-0000-0000-000000000000",
      "fkPackagingTypeId": "00000000-0000-0000-0000-000000000000",
      "Items": [
        {
          "AssignedBatches": [
            {
              "OrderItemRowId": "00000000-0000-0000-0000-000000000000",
              "fkBinId": "00000000-0000-0000-0000-000000000000"
            }
          ],
          "RowId": "00000000-0000-0000-0000-000000000000"
        }
      ]
    }
  ]
}

Response

OK

Example response

{
  "TotalsInfo": {
    "PaymentMethodId": "00000000-0000-0000-0000-000000000000"
  },
  "ShippingInfo": {
    "PostalServiceId": "00000000-0000-0000-0000-000000000000",
    "PackageCategoryId": "00000000-0000-0000-0000-000000000000",
    "PackageTypeId": "00000000-0000-0000-0000-000000000000"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.