Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

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

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=df348710-9c5c-4301-89b0-f750d9aaf584&newOrders=[
  {
    "Items": [
      {
        "RowId": "2b8642dc-f588-45b7-be75-9ee38240d029",
        "Quantity": 2,
        "Weight": 3.1,
        "UnitCost": 4.1
      }
    ],
    "PostalServiceId": "317f7fa7-0837-4934-96d7-1bf722be54cb"
  }
]&type=sample string 1&fulfilmentLocationId=ada468bc-17e1-4416-80a8-11b6c781efb8&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": "ced36707-2691-4dab-b57b-62bb68edf9f4",
          "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": "2021-07-29T09:24:51.6658749+01:00",
      "Source": "sample string 14",
      "SubSource": "sample string 15",
      "SiteCode": "sample string 16",
      "HoldOrCancel": true,
      "DespatchByDate": "2021-07-29T09:24:51.6658749+01:00",
      "ScheduledDelivery": {
        "From": "2021-07-29T09:24:51.6658749+01:00",
        "To": "2021-07-29T09:24:51.6658749+01:00"
      },
      "HasScheduledDelivery": true,
      "Location": "0dcc3fc3-87d5-43f1-aca2-b70462d18f71",
      "NumItems": 20,
      "PickwaveIds": [
        1
      ],
      "StockAllocationType": 0
    },
    "ShippingInfo": {
      "Vendor": "sample string 1",
      "PostalServiceId": "7edcb572-1f01-4428-98d7-d78de352d155",
      "PostalServiceName": "sample string 3",
      "TotalWeight": 4.0,
      "ItemWeight": 5.0,
      "PackageCategoryId": "435efbc5-0e8d-47ce-b634-fd2a9b4b4617",
      "PackageCategory": "sample string 7",
      "PackageTypeId": "9bfea5ed-805f-4c50-aa81-f4b5f6395d00",
      "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": "926831e6-8c60-4d09-99a6-27f15f94fa9c"
      },
      "BillingAddress": {
      }
    },
    "TotalsInfo": {
      "Subtotal": 2.1,
      "PostageCost": 3.1,
      "Tax": 4.1,
      "TotalCharge": 5.1,
      "PaymentMethod": "sample string 6",
      "PaymentMethodId": "463ddf2e-977b-4899-8844-2f943a1b521e",
      "ProfitMargin": 8.1,
      "TotalDiscount": 9.1,
      "Currency": "sample string 10",
      "CountryTaxRate": 11.1,
      "ConversionRate": 12.1
    },
    "TaxInfo": {
      "TaxNumber": "sample string 1"
    },
    "FolderName": [
      "sample string 1"
    ],
    "IsPostFilteredOut": true,
    "CanFulfil": true,
    "Fulfillment": {
      "FulfillmentState": 0,
      "PurchaseOrderState": 1
    },
    "Items": [
      {
        "ItemId": "742214f9-f3b3-4e05-9154-8bbf2f602520",
        "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": "648b86a2-2615-4956-aa1a-7b8d037e77f2",
          "Rowid": "db29978b-6542-476c-b74b-38443d5a69a8",
          "pkPurchaseId": "4b42e0b1-cca6-4a3c-bfff-c3a544e4a9ce",
          "ExternalInvoiceNumber": "sample string 4",
          "fkSupplierId": "44745d7a-efae-47e2-8224-edd9fd9849ce",
          "DateOfDelivery": "2021-07-29T09:24:51.6658749+01:00",
          "QuotedDeliveryDate": "2021-07-29T09:24:51.6658749+01:00",
          "SupplierName": "sample string 8",
          "fkLocationId": "8e6863ab-6980-45e8-9cb2-944ba83299cf"
        },
        "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": "bce0ce96-7702-41d1-99cf-06a31ad16a28",
        "AdditionalInfo": [
          {
            "pkOptionId": "8dfb381f-d530-4a8a-a53a-d37b837ae1f2",
            "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": "58724f68-cf00-4499-87f8-afacb6b3bb1d",
            "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": "e56a1a82-a900-4d88-b72a-a9def8fa003e",
            "LogicalDelete": true
          }
        ],
        "RowId": "9e830b80-6ee3-47d6-8731-f22435dc5191",
        "OrderId": "a59aecaf-4362-4aa4-867d-264f90e6be17",
        "StockItemId": "b3d39196-27e5-435b-835a-2c273036bb7a"
      }
    ],
    "HasItems": true,
    "TotalItemsSum": 0,
    "OrderId": "ee068989-3010-4d11-ac87-0d440fe79962"
  }
]