Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Orders /SetOrderSplitPackagingManualOverwrite

Allows 150 calls per minute

Response: CalcOrderHeader



Designed to save order split packaging after a manual override

Parameters

NameTypeDescription
requestCalcOrderHeaderRequest object with data to be saved in the database

Permissions

GlobalPermissions.OrderBook.ViewOrderDetailsNode

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/Orders/SetOrderSplitPackagingManualOverwrite

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.

request={
  "pkOrderID": "636b9978-a359-4405-875f-b4d909ce9a59",
  "nOrderId": 2,
  "fkPostalServiceId": "e5cccc1b-3bf7-471a-abad-cdd4e3807b94",
  "fkCountryId": "9bfb26f5-1313-48aa-927d-1e37adf0b4aa",
  "cCountry": "sample string 5",
  "ItemWeight": 6.0,
  "fkPackagingGroupId": "cc832d6b-df3b-479f-89e4-57a4cdd9e330",
  "fkPackagingTypeId": "085f96dc-0db0-45d0-9539-475be6854563",
  "IsSplitPackaging": false,
  "PackagingWeight": 9.0,
  "TotalWeight": 10.0,
  "TotalWidth": 1.0,
  "TotalHeight": 1.0,
  "TotalDepth": 1.0,
  "ManualAdjust": true,
  "CanAutoSplit": false,
  "IsAutoSplit": false,
  "SplitPackageCount": 13,
  "LabelPrinted": true,
  "CalculationHints": [
    "sample string 1"
  ],
  "Items": [
    {
      "fkStockItemId": "69d3a4ae-2a7c-45cf-a593-1b44b49e9f7b",
      "fkOrderItemId": "5512310c-f0eb-49e6-88fe-453562b99aaa",
      "StockItemIntId": 3,
      "SKU": "sample string 4",
      "nQty": 5,
      "ItemWeight": 6.0,
      "DimHeight": 7.0,
      "DimWidth": 8.0,
      "DimDepth": 9.0,
      "PackageGroup": "59a7592c-af7d-4786-ba4b-a19eff2b1482",
      "fkCompositeParentRowId": "6e536a48-63d9-4cb9-baad-8a534810c198",
      "IsCompositeChild": true,
      "Boxes": [
        {
          "BoxId": 1,
          "StockItemIntId": 2,
          "BoxName": "sample string 3",
          "Width": 4.0,
          "Height": 5.0,
          "Length": 6.0,
          "Weight": 7.0,
          "ValuePercentage": 8.0,
          "Barcode": "sample string 9",
          "PackagingTypeId": "604e7859-684e-4233-afc8-ac82dd3ecdda",
          "LogicalDelete": true
        }
      ]
    }
  ],
  "Bins": [
    {
      "pkBinId": "f20b1093-f320-45f0-a0b4-33b889756cc5",
      "TrackingNumber": "sample string 2",
      "LabelId": "sample string 3",
      "Weight": 1.0,
      "PrintDate": "2022-09-05T15:10:01.5018471+03:00",
      "Cost": 1.0,
      "fkPackagingTypeId": "37cabb96-63cb-4b22-ac49-13f740651fc5",
      "Width": 1.0,
      "Height": 1.0,
      "Depth": 1.0,
      "PackagingWeight": 1.0,
      "ItemWeight": 1.0,
      "ManualAdjust": true,
      "Items": [
        {
          "ShippingOrderItemId": 1,
          "BinId": "10b69d17-7b0d-4ef0-81d4-62b418789b08",
          "fkOrderItemId": "8e06bf75-3bd6-4276-9a93-3be76d6f6a6f",
          "BoxId": 1,
          "Quantity": 4
        }
      ]
    }
  ],
  "ThreeDimPackaging": {
    "TotalPackages": 1,
    "Packages": [
      {
        "PackagingId": "5fbbe786-6453-4771-84a3-f1ff77c1103d",
        "Width": 2.1,
        "Height": 3.1,
        "Depth": 4.1,
        "ItemWeight": 5.0,
        "PackagingWeight": 6.0,
        "Faces": [
          {
            "TopLeft": {
              "IsEmpty": false,
              "X": 1.1,
              "Y": 2.1
            },
            "BottomLeft": {
              "IsEmpty": false,
              "X": 1.1,
              "Y": 2.1
            },
            "TopRight": {
              "IsEmpty": false,
              "X": 1.1,
              "Y": 2.1
            },
            "BottomRight": {
              "IsEmpty": false,
              "X": 1.1,
              "Y": 2.1
            }
          }
        ],
        "Items": [
          {
            "ID": "2ca12202-67b8-425d-be63-c532c2377565",
            "PkStockItemId": "28b6672e-52ba-4bdc-8ee4-28ae10bc30c2",
            "SKU": "sample string 2",
            "Width": 3.1,
            "Height": 4.1,
            "Depth": 5.1,
            "Weight": 6.0,
            "X": 7.1,
            "Y": 8.1,
            "Z": 9.1,
            "Layer": 10,
            "Faces": [
              {
                "TopLeft": {
                  "IsEmpty": false,
                  "X": 1.1,
                  "Y": 2.1
                },
                "BottomLeft": {
                  "IsEmpty": false,
                  "X": 1.1,
                  "Y": 2.1
                },
                "TopRight": {
                  "IsEmpty": false,
                  "X": 1.1,
                  "Y": 2.1
                },
                "BottomRight": {
                  "IsEmpty": false,
                  "X": 1.1,
                  "Y": 2.1
                }
              }
            ]
          }
        ],
        "LayerCount": 7,
        "LayerFace": {
          "1": {
            "TopLeft": {
              "IsEmpty": false,
              "X": 1.1,
              "Y": 2.1
            },
            "BottomLeft": {
              "IsEmpty": false,
              "X": 1.1,
              "Y": 2.1
            },
            "TopRight": {
              "IsEmpty": false,
              "X": 1.1,
              "Y": 2.1
            },
            "BottomRight": {
              "IsEmpty": false,
              "X": 1.1,
              "Y": 2.1
            }
          }
        },
        "IsManualPackage": true
      }
    ],
    "UnpackedItems": {
      "6da802d9-31ba-498e-9d0b-10244bde4761": 2
    }
  },
  "DimMethod": 0
}

Response

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

{
  "pkOrderID": "14e2fd8c-e696-4653-87dc-e1afa30e5d07",
  "nOrderId": 2,
  "fkPostalServiceId": "6f065432-ba88-44d4-bc86-280343937b3a",
  "fkCountryId": "fd394d7e-6319-418e-ba6c-2ce46cec7ec3",
  "cCountry": "sample string 5",
  "ItemWeight": 6.0,
  "fkPackagingGroupId": "e30bab56-f209-46eb-b992-76122bfa256b",
  "fkPackagingTypeId": "dfcd36c4-b7de-4978-8851-4ba1b6dcedd2",
  "IsSplitPackaging": false,
  "PackagingWeight": 9.0,
  "TotalWeight": 10.0,
  "TotalWidth": 1.0,
  "TotalHeight": 1.0,
  "TotalDepth": 1.0,
  "ManualAdjust": true,
  "CanAutoSplit": false,
  "IsAutoSplit": false,
  "SplitPackageCount": 13,
  "LabelPrinted": true,
  "CalculationHints": [
    "sample string 1"
  ],
  "Items": [
    {
      "fkStockItemId": "ce74b164-8b55-4635-aa1d-84cb60a04854",
      "fkOrderItemId": "d9a948f9-02fa-4993-aafa-81b873ffd0db",
      "StockItemIntId": 3,
      "SKU": "sample string 4",
      "nQty": 5,
      "ItemWeight": 6.0,
      "DimHeight": 7.0,
      "DimWidth": 8.0,
      "DimDepth": 9.0,
      "PackageGroup": "0cd54ed8-6499-4e67-8713-e1b7d06f669b",
      "fkCompositeParentRowId": "70b5674f-58a0-4875-9495-bb48d4768b8b",
      "IsCompositeChild": true,
      "Boxes": [
        {
          "BoxId": 1,
          "StockItemIntId": 2,
          "BoxName": "sample string 3",
          "Width": 4.0,
          "Height": 5.0,
          "Length": 6.0,
          "Weight": 7.0,
          "ValuePercentage": 8.0,
          "Barcode": "sample string 9",
          "PackagingTypeId": "79d05200-d21d-4024-a074-f1dc16ddffe6",
          "LogicalDelete": true
        }
      ]
    }
  ],
  "Bins": [
    {
      "pkBinId": "c5293490-4911-4df0-b8ef-ff68a9013d20",
      "TrackingNumber": "sample string 2",
      "LabelId": "sample string 3",
      "Weight": 1.0,
      "PrintDate": "2022-09-05T15:10:05.0626151+03:00",
      "Cost": 1.0,
      "fkPackagingTypeId": "c050b756-f0b6-45c8-8645-f64e40605bce",
      "Width": 1.0,
      "Height": 1.0,
      "Depth": 1.0,
      "PackagingWeight": 1.0,
      "ItemWeight": 1.0,
      "ManualAdjust": true,
      "Items": [
        {
          "ShippingOrderItemId": 1,
          "BinId": "c8734d4d-0fb2-41df-9e20-9cb676d304cb",
          "fkOrderItemId": "ad771549-7d32-4fe6-b0cc-c400179fdf21",
          "BoxId": 1,
          "Quantity": 4
        }
      ]
    }
  ],
  "ThreeDimPackaging": {
    "TotalPackages": 1,
    "Packages": [
      {
        "PackagingId": "3d7ae6d6-6b7d-4a1e-bb17-d79bfda23d70",
        "Width": 2.1,
        "Height": 3.1,
        "Depth": 4.1,
        "ItemWeight": 5.0,
        "PackagingWeight": 6.0,
        "Faces": [
          {
            "TopLeft": {
              "IsEmpty": false,
              "X": 1.1,
              "Y": 2.1
            },
            "BottomLeft": {
              "IsEmpty": false,
              "X": 1.1,
              "Y": 2.1
            },
            "TopRight": {
              "IsEmpty": false,
              "X": 1.1,
              "Y": 2.1
            },
            "BottomRight": {
              "IsEmpty": false,
              "X": 1.1,
              "Y": 2.1
            }
          }
        ],
        "Items": [
          {
            "ID": "02e7c5d2-6dd0-4caf-a82c-0ed2babda282",
            "PkStockItemId": "473ad27b-6928-4ad3-9ecf-8e545af54750",
            "SKU": "sample string 2",
            "Width": 3.1,
            "Height": 4.1,
            "Depth": 5.1,
            "Weight": 6.0,
            "X": 7.1,
            "Y": 8.1,
            "Z": 9.1,
            "Layer": 10,
            "Faces": [
              {
              }
            ]
          }
        ],
        "LayerCount": 7,
        "LayerFace": {
          "1": {
          }
        },
        "IsManualPackage": true
      }
    ],
    "UnpackedItems": {
      "f4c47dd9-e3fe-45cc-863a-5327b754b746": 2
    }
  },
  "DimMethod": 0
}