Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Orders /SplitOrder

Allows 150 calls per minute

Response: List<OpenOrder>



Split a specific order

Parameters

NameTypeDescription
orderIdGuidOrder id
newOrdersOrderSplit[]New orders
typeStringSplit type
fulfilmentLocationIdGuidCurrent fulfilment center
recalcPackagingBoolean

Example Request

The following request format is required for this method.

Endpoint URL

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

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=dbc374b4-bf92-4faa-9005-9d72e4d777ff&newOrders=[
  {
    "Items": [
      {
        "RowId": "8bb47f34-08e9-459e-9efb-0a078bb0e5e4",
        "Quantity": 2,
        "Weight": 3.1,
        "UnitCost": 4.1
      }
    ],
    "PostalServiceId": "aa5aa7b3-24a7-4be2-87d1-6c34992cc14d"
  }
]&type=sample string 1&fulfilmentLocationId=ca9a760f-4742-41f4-b516-cbb72fefeab0&recalcPackaging=true

Response

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

[
  {
    "NumOrderId": 1,
    "GeneralInfo": {
      "Status": 1,
      "LabelPrinted": true,
      "LabelError": "sample string 3",
      "InvoicePrinted": true,
      "PickListPrinted": true,
      "IsRuleRun": true,
      "Notes": 7,
      "PartShipped": true,
      "Marker": 64,
      "IsParked": true,
      "Identifiers": [
        {
          "IdentifierId": 1,
          "IsCustom": true,
          "ImageId": "7afef7db-8b0b-4019-b937-34a135db3bc2",
          "ImageUrl": "sample string 4",
          "Tag": "sample string 5",
          "Name": "sample string 6"
        }
      ],
      "ReferenceNum": "sample string 10",
      "SecondaryReference": "sample string 11",
      "ExternalReferenceNum": "sample string 12",
      "ReceivedDate": "2022-08-03T16:02:33.6755365+01:00",
      "Source": "sample string 14",
      "SubSource": "sample string 15",
      "SiteCode": "sample string 16",
      "HoldOrCancel": true,
      "DespatchByDate": "2022-08-03T16:02:33.6755365+01:00",
      "ScheduledDelivery": {
        "From": "2022-08-03T16:02:33.6755365+01:00",
        "To": "2022-08-03T16:02:33.6755365+01:00"
      },
      "HasScheduledDelivery": true,
      "Location": "9cf9eebb-1b4d-4b68-8438-43e27a740efb",
      "NumItems": 20,
      "PickwaveIds": [
        1
      ],
      "StockAllocationType": 0
    },
    "ShippingInfo": {
      "Vendor": "sample string 1",
      "PostalServiceId": "4d69a8f2-f9c1-4c60-92af-18b07dacd93d",
      "PostalServiceName": "sample string 3",
      "TotalWeight": 4.0,
      "ItemWeight": 5.0,
      "PackageCategoryId": "d05f8832-7218-4ac9-b153-d264113f79c3",
      "PackageCategory": "sample string 7",
      "PackageTypeId": "d706ba84-fbd0-4f96-9836-1d1b7de69241",
      "PackageType": "sample string 8",
      "PostageCost": 9.1,
      "PostageCostExTax": 10.1,
      "TrackingNumber": "sample string 11",
      "ManualAdjust": true
    },
    "CustomerInfo": {
      "ChannelBuyerName": "sample string 1",
      "Address": {
        "EmailAddress": "sample string 1",
        "Address1": "sample string 2",
        "Address2": "sample string 3",
        "Address3": "sample string 4",
        "Town": "sample string 5",
        "Region": "sample string 6",
        "PostCode": "sample string 7",
        "Country": "sample string 8",
        "Continent": "sample string 9",
        "FullName": "sample string 10",
        "Company": "sample string 11",
        "PhoneNumber": "sample string 12",
        "CountryId": "583a2b0e-0b26-4d5b-bc70-d05752530c65"
      },
      "BillingAddress": {
      }
    },
    "TotalsInfo": {
      "Subtotal": 2.1,
      "PostageCost": 3.1,
      "PostageCostExTax": 4.1,
      "Tax": 5.1,
      "TotalCharge": 6.1,
      "PaymentMethod": "sample string 7",
      "PaymentMethodId": "d42478c2-7e67-4ab3-9a25-6eb08e65f242",
      "ProfitMargin": 9.1,
      "TotalDiscount": 10.1,
      "Currency": "sample string 11",
      "CountryTaxRate": 12.1,
      "ConversionRate": 13.1
    },
    "TaxInfo": {
      "TaxNumber": "sample string 1"
    },
    "FolderName": [
      "sample string 1"
    ],
    "IsPostFilteredOut": true,
    "CanFulfil": true,
    "Fulfillment": {
      "FulfillmentState": 0,
      "PurchaseOrderState": 1
    },
    "Items": [
      {
        "ItemId": "c6876caa-a556-4fc1-9ccd-afeead6ae4de",
        "ItemNumber": "sample string 2",
        "SKU": "sample string 3",
        "ItemSource": "sample string 4",
        "Title": "sample string 5",
        "Quantity": 6,
        "CategoryName": "sample string 8",
        "CompositeAvailablity": 1,
        "StockLevelsSpecified": true,
        "OnOrder": 10,
        "OnPurchaseOrder": {
          "pkPurchaseItemId": "266cf74b-42f1-49bb-803f-5ac248e4115b",
          "Rowid": "514a075e-4776-4a76-b801-1d3df399ebb6",
          "pkPurchaseId": "7c3d06a1-f227-4c37-aa4f-99a9834336e9",
          "ExternalInvoiceNumber": "sample string 4",
          "fkSupplierId": "487e524c-9185-49aa-8ccf-02593e77aa76",
          "DateOfDelivery": "2022-08-03T16:02:33.6755365+01:00",
          "QuotedDeliveryDate": "2022-08-03T16:02:33.6755365+01:00",
          "SupplierName": "sample string 8",
          "fkLocationId": "9306602e-0607-4dd1-95cb-de1a422d8baa"
        },
        "InOrderBook": 1,
        "Level": 11,
        "MinimumLevel": 1,
        "AvailableStock": 12,
        "PricePerUnit": 13.1,
        "UnitCost": 14.1,
        "DespatchStockUnitCost": 15.1,
        "Discount": 16.1,
        "Tax": 21.1,
        "TaxRate": 17.1,
        "Cost": 18.1,
        "CostIncTax": 19.1,
        "CompositeSubItems": [
          {
          }
        ],
        "IsService": true,
        "SalesTax": 21.1,
        "TaxCostInclusive": true,
        "PartShipped": true,
        "Weight": 24.1,
        "BarcodeNumber": "sample string 25",
        "Market": 26,
        "ChannelSKU": "sample string 27",
        "ChannelTitle": "sample string 28",
        "DiscountValue": 10.806660973526899,
        "HasImage": true,
        "ImageId": "d2ec0b77-eeed-4eb7-bb6b-84da82a74a0e",
        "AdditionalInfo": [
          {
            "pkOptionId": "0709e3ea-7f43-48a4-8013-d5521d84a7fa",
            "Property": "sample string 2",
            "Value": "sample string 3"
          }
        ],
        "StockLevelIndicator": 29,
        "ShippingCost": 30.1,
        "PartShippedQty": 31,
        "ItemName": "sample string 32",
        "BatchNumberScanRequired": true,
        "SerialNumberScanRequired": true,
        "BinRack": "sample string 35",
        "BinRacks": [
          {
            "Quantity": 1,
            "BinRack": "sample string 2",
            "Location": "c7d206f8-485c-4a55-90d9-8741d8c517ba",
            "BatchId": 1,
            "OrderItemBatchId": 1
          }
        ],
        "InventoryTrackingType": 36,
        "isBatchedStockItem": false,
        "IsWarehouseManaged": true,
        "IsUnlinked": false,
        "StockItemIntId": 39,
        "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": "493c1902-9c93-440e-b6b7-2f3b600397be",
            "LogicalDelete": true
          }
        ],
        "RowId": "82af382a-9cf9-4a47-8014-8ea68aacfa99",
        "OrderId": "435ef02f-6ad2-45ad-a6bd-3effd61ebcc4",
        "StockItemId": "a7dd174e-0109-45b0-8d5e-dc92ca5266ff"
      }
    ],
    "HasItems": true,
    "TotalItemsSum": 0,
    "OrderId": "289001c5-ccb5-42f1-bc4f-9942fcaa5a1c"
  }
]