Split a specific order
Name | Type | Description |
---|---|---|
orderId | Guid | Order id |
newOrders | OrderSplit[] | New orders |
type | String | Split type |
fulfilmentLocationId | Guid | Current fulfilment center |
recalcPackaging | Boolean |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Orders/SplitOrder
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
This is an example of the request structure. Results will vary depending on your data.
orderId=dbe377bb-ed88-4b59-9809-e79b1c4a510b&newOrders=[
{
"Items": [
{
"RowId": "5f3fba83-05fe-4f94-960c-75039ca31277",
"Quantity": 2,
"Weight": 3.1,
"UnitCost": 4.1
}
],
"PostalServiceId": "a0bdcb25-9c7f-4840-a193-3676004feb11"
}
]&type=sample string 1&fulfilmentLocationId=bf32c797-4df5-4300-b394-1319ce79a043&recalcPackaging=true
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": "e2e3dfea-f7d5-4bc0-9c0e-6eb3743ec35b",
"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": "2023-01-10T13:49:54.3480414+00:00",
"Source": "sample string 14",
"SubSource": "sample string 15",
"SiteCode": "sample string 16",
"HoldOrCancel": true,
"DespatchByDate": "2023-01-10T13:49:54.3480414+00:00",
"ScheduledDelivery": {
"From": "2023-01-10T13:49:54.3480414+00:00",
"To": "2023-01-10T13:49:54.3480414+00:00"
},
"HasScheduledDelivery": true,
"Location": "2605bc5f-5ced-4a52-bb93-8ace5b6c4840",
"NumItems": 20,
"PickwaveIds": [
1
],
"StockAllocationType": 0
},
"ShippingInfo": {
"Vendor": "sample string 1",
"PostalServiceId": "adc868f2-cbc0-4779-b34e-6ea863c54d46",
"PostalServiceName": "sample string 3",
"TotalWeight": 4.0,
"ItemWeight": 5.0,
"PackageCategoryId": "3ff8cb25-67e4-4940-8c21-ce4ba752ee04",
"PackageCategory": "sample string 7",
"PackageTypeId": "6bbf41d9-da6a-425e-bf6d-b386074c25af",
"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": "67d511d7-4cf4-43bc-87d8-5b630d95039b"
},
"BillingAddress": {
}
},
"TotalsInfo": {
"Subtotal": 2.1,
"PostageCost": 3.1,
"PostageCostExTax": 4.1,
"Tax": 5.1,
"TotalCharge": 6.1,
"PaymentMethod": "sample string 7",
"PaymentMethodId": "dba65293-37cc-454c-90c8-02c8d3315e37",
"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": "b2824aab-2e3f-4f7b-ac01-a06e781f9be7",
"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": "b4d755c8-8c4f-4159-8f6c-cd7598c9bbed",
"Rowid": "0625786d-dc4b-40eb-b9fc-9dc2f9e69854",
"pkPurchaseId": "93779d11-f2ea-4110-969f-ba58b2260c45",
"ExternalInvoiceNumber": "sample string 4",
"fkSupplierId": "448680ff-98cd-4efc-9000-aecac1af1b5e",
"DateOfDelivery": "2023-01-10T13:49:54.3480414+00:00",
"QuotedDeliveryDate": "2023-01-10T13:49:54.3480414+00:00",
"SupplierName": "sample string 8",
"fkLocationId": "7d2540f7-8328-4c8a-80c1-b487e7f335b7"
},
"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": "4d2a2adf-7e38-4eda-bbbd-24f223b3fbc0",
"AdditionalInfo": [
{
"pkOptionId": "4fe85344-f72e-4770-9e13-9f277dd316e0",
"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": "335f8f65-a7cb-4c6b-9a5c-355ac83264c2",
"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": "f206de0c-4039-4af0-8ee1-5bc1b6de3c62",
"LogicalDelete": true
}
],
"RowId": "dc1feef1-7d80-43fe-b101-5fd66e5a4626",
"OrderId": "0dbd584a-3df6-4c0a-b34e-d2348404d5d4",
"StockItemId": "f688498a-5111-4753-88cd-71bf20dc0519"
}
],
"HasItems": true,
"TotalItemsSum": 0,
"OrderId": "dcc555f6-3a2e-4b6e-ab6f-35d1e4c89c65"
}
]