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=d00f8345-937e-4267-b4de-7a38a869d151&newOrders=[
  {
    "Items": [
      {
        "RowId": "a31dc80a-2e7c-44db-8a9c-62f430342083",
        "Quantity": 2,
        "Weight": 3.1,
        "UnitCost": 4.1
      }
    ],
    "PostalServiceId": "da6cf75f-2d21-40f7-bc04-abf8b69f5442"
  }
]&type=sample string 1&fulfilmentLocationId=7f180178-228c-4fe9-84b9-b87b11fa52e6&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": "db7ee28c-6cc2-4a62-904b-ebd6aecce194",
          "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-09-05T15:10:05.2277041+03:00",
      "Source": "sample string 14",
      "SubSource": "sample string 15",
      "SiteCode": "sample string 16",
      "HoldOrCancel": true,
      "DespatchByDate": "2022-09-05T15:10:05.2277041+03:00",
      "ScheduledDelivery": {
        "From": "2022-09-05T15:10:05.2277041+03:00",
        "To": "2022-09-05T15:10:05.2277041+03:00"
      },
      "HasScheduledDelivery": true,
      "Location": "637f285b-7d44-43d4-ac52-6bbd09e52d02",
      "NumItems": 20,
      "PickwaveIds": [
        1
      ],
      "StockAllocationType": 0
    },
    "ShippingInfo": {
      "Vendor": "sample string 1",
      "PostalServiceId": "4345bf24-b659-4bfb-8d8a-676a02943ca9",
      "PostalServiceName": "sample string 3",
      "TotalWeight": 4.0,
      "ItemWeight": 5.0,
      "PackageCategoryId": "63818ae2-57ba-48df-8d9f-c34943768e3d",
      "PackageCategory": "sample string 7",
      "PackageTypeId": "acc8c2eb-7142-4cac-920b-a5c31a903dec",
      "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": "3ec3471d-088a-4b05-a02e-fe10452c294f"
      },
      "BillingAddress": {
      }
    },
    "TotalsInfo": {
      "Subtotal": 2.1,
      "PostageCost": 3.1,
      "PostageCostExTax": 4.1,
      "Tax": 5.1,
      "TotalCharge": 6.1,
      "PaymentMethod": "sample string 7",
      "PaymentMethodId": "f43d6193-fa5a-420e-9549-c23ec8b72535",
      "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": "7a0df00d-4772-4db0-aaaf-c25169cbc706",
        "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": "1ad709db-ac38-442d-a31f-62a2fe9f049b",
          "Rowid": "ddaa79b0-9441-4200-abf1-d3c5a2909a1e",
          "pkPurchaseId": "deff4234-a316-4012-8578-c00cfbe2b400",
          "ExternalInvoiceNumber": "sample string 4",
          "fkSupplierId": "31e7fdf9-186c-4b5f-b7a5-0b62f3c5ced3",
          "DateOfDelivery": "2022-09-05T15:10:05.2277041+03:00",
          "QuotedDeliveryDate": "2022-09-05T15:10:05.2277041+03:00",
          "SupplierName": "sample string 8",
          "fkLocationId": "07c63b01-998e-42c2-b711-cc5054b3f709"
        },
        "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": "338bd8da-6317-40ae-8aeb-8d81a7a777eb",
        "AdditionalInfo": [
          {
            "pkOptionId": "8489672e-1615-416f-94a3-b5021205eceb",
            "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": "429c87a5-c00b-4325-ab25-05711c475da9",
            "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": "617f88ab-a30d-4953-8ac1-262be557ac23",
            "LogicalDelete": true
          }
        ],
        "RowId": "e04c20ab-7892-405c-acf9-e5aaef222b2d",
        "OrderId": "d8d801c6-675d-47b3-a262-b333eb6306bd",
        "StockItemId": "9b3d7148-f8b7-4ec4-ab01-aa689a6d055f"
      }
    ],
    "HasItems": true,
    "TotalItemsSum": 0,
    "OrderId": "a2bb6e2f-e2e8-49d2-90b6-a43af80319b3"
  }
]