Get a specific open order
Name | Type | Description |
---|---|---|
orderId | Guid | Order id |
fulfilmentLocationId | Nullable<Guid> | Current fulfilment center |
loadItems | Boolean | Load or not the order items information |
loadAdditionalInfo | Boolean | Load or not the order additional info |
The following request format is required for this method.
POST https://eu-ext.linnworks.net/api/Orders/GetOrder
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=b44f56a9-5cf9-4385-a06e-3bd68df606b0&fulfilmentLocationId=d7b06cc6-3815-4959-87fc-2c16ff861b47&loadItems=true&loadAdditionalInfo=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": "eb097bd3-b27d-4472-b32f-6f511249d41a",
"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-03-09T13:04:14.2939491+00:00",
"Source": "sample string 14",
"SubSource": "sample string 15",
"SiteCode": "sample string 16",
"HoldOrCancel": true,
"DespatchByDate": "2022-03-09T13:04:14.2939491+00:00",
"ScheduledDelivery": {
"From": "2022-03-09T13:04:14.2939491+00:00",
"To": "2022-03-09T13:04:14.2939491+00:00"
},
"HasScheduledDelivery": true,
"Location": "e8eee918-158d-4e36-a7ae-23eaedb70bd6",
"NumItems": 20,
"PickwaveIds": [
1
],
"StockAllocationType": 0
},
"ShippingInfo": {
"Vendor": "sample string 1",
"PostalServiceId": "1fb736ad-b8ae-4a3d-a251-96980b76497c",
"PostalServiceName": "sample string 3",
"TotalWeight": 4.0,
"ItemWeight": 5.0,
"PackageCategoryId": "e1d86244-b244-475c-8e40-99019220b70c",
"PackageCategory": "sample string 7",
"PackageTypeId": "ce1e9233-b5ab-44bf-b0d4-8d7ba6cc82d9",
"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": "0d4bfc18-ec5c-4ea8-be28-649e230b1474"
},
"BillingAddress": {
}
},
"TotalsInfo": {
"Subtotal": 2.1,
"PostageCost": 3.1,
"PostageCostExTax": 4.1,
"Tax": 5.1,
"TotalCharge": 6.1,
"PaymentMethod": "sample string 7",
"PaymentMethodId": "c80ea85e-97c8-4931-984b-18074857e4c6",
"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": "8a385609-ea80-4f7d-838d-3273b19bf87e",
"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": "c0c887e6-339c-4f02-8a8f-bbcb5528c793",
"Rowid": "8a64e0e9-a21b-47eb-9407-9e9c684fd559",
"pkPurchaseId": "ffdb00d0-2c14-4b74-8070-6b805928ecc1",
"ExternalInvoiceNumber": "sample string 4",
"fkSupplierId": "197f696b-c851-4aaf-9621-001fa8e0e0e9",
"DateOfDelivery": "2022-03-09T13:04:14.2939491+00:00",
"QuotedDeliveryDate": "2022-03-09T13:04:14.2939491+00:00",
"SupplierName": "sample string 8",
"fkLocationId": "143de447-8820-4172-8d72-4508a99e8fc7"
},
"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": "6fc3d0fe-eb63-46da-9e79-6db96e1687a7",
"AdditionalInfo": [
{
"pkOptionId": "73e28334-dc01-499f-b423-e499c77b3e7a",
"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": "a814ce15-1dcc-4460-bb5e-ce357d41b47a",
"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": "5e53019a-89ff-49e3-98ad-c4ab24705900",
"LogicalDelete": true
}
],
"RowId": "e1e00e1a-1f39-4c39-9500-5fc72d18dc05",
"OrderId": "38fc0223-121c-4479-9ea5-a1aae770102e",
"StockItemId": "b7e2d764-0224-4c85-9c82-3b4037acefc1"
}
],
"HasItems": true,
"TotalItemsSum": 0,
"OrderId": "9b7b6300-9960-48f3-be1a-ddc47050f191"
}