Get list of open orders
Name | Type | Description |
---|---|---|
ordersIds | List<Guid> | Orders ids |
fulfilmentLocationId | Nullable<Guid> | Current fulfilment center |
loadItems | Boolean | Load or not the orders items information |
loadAdditionalInfo | Boolean | Load or not the orders additional info |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Orders/GetOrders
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.
ordersIds=[
"05d47a64-3aaf-43cd-a99c-a48b7d84365e"
]&fulfilmentLocationId=b3442b42-0d4a-4296-b082-1646e066a8f9&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": "df905bcc-626e-42da-b711-3a7695d88761",
"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.6528828+00:00",
"Source": "sample string 14",
"SubSource": "sample string 15",
"SiteCode": "sample string 16",
"HoldOrCancel": true,
"DespatchByDate": "2023-01-10T13:49:54.6528828+00:00",
"ScheduledDelivery": {
"From": "2023-01-10T13:49:54.6528828+00:00",
"To": "2023-01-10T13:49:54.6528828+00:00"
},
"HasScheduledDelivery": true,
"Location": "20dff82d-ac60-44a3-91ed-1137934bee9b",
"NumItems": 20,
"PickwaveIds": [
1
],
"StockAllocationType": 0
},
"ShippingInfo": {
"Vendor": "sample string 1",
"PostalServiceId": "50ad04ba-1c61-43be-94fc-88f37217a49f",
"PostalServiceName": "sample string 3",
"TotalWeight": 4.0,
"ItemWeight": 5.0,
"PackageCategoryId": "192c72ad-e101-4d00-b06e-83a1a293f9ff",
"PackageCategory": "sample string 7",
"PackageTypeId": "14b69fd6-8bbf-46d5-9e01-f31a4144037e",
"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": "7daa82ef-7ac8-4add-b1ec-6147c6bee12c"
},
"BillingAddress": {
}
},
"TotalsInfo": {
"Subtotal": 2.1,
"PostageCost": 3.1,
"PostageCostExTax": 4.1,
"Tax": 5.1,
"TotalCharge": 6.1,
"PaymentMethod": "sample string 7",
"PaymentMethodId": "7a84d1f7-cf04-4d57-89f9-00394548d2cf",
"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": "05ce614b-fd92-490d-817b-047fa973045b",
"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": "cb08807c-f2d1-461e-a40e-b3165028144a",
"Rowid": "c78e04fa-99c0-40ba-a8b3-293c15cfcf62",
"pkPurchaseId": "b456ed2b-70a2-4e76-b1e5-3c4653839718",
"ExternalInvoiceNumber": "sample string 4",
"fkSupplierId": "e7d98643-b5ca-4f48-92ee-40099dd59278",
"DateOfDelivery": "2023-01-10T13:49:54.6528828+00:00",
"QuotedDeliveryDate": "2023-01-10T13:49:54.6528828+00:00",
"SupplierName": "sample string 8",
"fkLocationId": "cfd4ab69-f2d9-4608-acee-5b3e54e35dc6"
},
"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": "33574a44-5fb8-4693-9b58-b1c6fd5422d0",
"AdditionalInfo": [
{
"pkOptionId": "d52ee571-44c6-429e-a6d4-0b3262ef2bbb",
"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": "84135ea5-4ccb-47a3-9c86-470bd642bb08",
"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": "2070cbeb-0a95-4868-9178-b093a056ffd9",
"LogicalDelete": true
}
],
"RowId": "3f9f2c2b-bfe5-48ff-b9c5-113c83689f81",
"OrderId": "1fe475bd-e9fa-4b6d-b361-f35d19847470",
"StockItemId": "0eb38d03-d093-4c48-8311-bb4dc0952fdc"
}
],
"HasItems": true,
"TotalItemsSum": 0,
"OrderId": "983b5779-7774-4cbb-ac2b-e7c393fa4581"
}
]