Retrieves a list of order details for a given order reference number, returns maximum of 50 orders.
For eBay orders, if Sellling Manager Pro sales number is available the order can be retrived by this number
Name | Type | Description |
---|---|---|
ReferenceId | String | Order reference id, or SecondaryReferenceNumber |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Orders/GetOrderDetailsByReferenceId
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.
ReferenceId=sample string 1
This is an example of the response JSON. Results will vary depending on your data.
[
{
"OrderId": "58735158-397e-4d32-82ad-f0a72b9266ac",
"NumOrderId": 2,
"Processed": true,
"ProcessedDateTime": "2023-01-10T13:49:54.4855093+00:00",
"FulfilmentLocationId": "c833e55c-ba66-4f18-b2f7-d7026ebaf310",
"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": "f8b743e1-e46a-4c88-9b21-2c4392f36ff7",
"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.4855093+00:00",
"Source": "sample string 14",
"SubSource": "sample string 15",
"SiteCode": "sample string 16",
"HoldOrCancel": true,
"DespatchByDate": "2023-01-10T13:49:54.4855093+00:00",
"ScheduledDelivery": {
"From": "2023-01-10T13:49:54.4855093+00:00",
"To": "2023-01-10T13:49:54.4855093+00:00"
},
"HasScheduledDelivery": true,
"Location": "74fc2a95-1ddd-4f3e-8624-4332881ce557",
"NumItems": 20,
"PickwaveIds": [
1
],
"StockAllocationType": 0
},
"ShippingInfo": {
"Vendor": "sample string 1",
"PostalServiceId": "10b75714-b604-480a-91e5-bff0fadb3698",
"PostalServiceName": "sample string 3",
"TotalWeight": 4.0,
"ItemWeight": 5.0,
"PackageCategoryId": "e4b49069-38a8-4589-88c3-1bdcc449cf5a",
"PackageCategory": "sample string 7",
"PackageTypeId": "ed7b6579-1a0c-45cf-9689-44a14405a190",
"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": "87a22bc2-99e6-4c65-8afb-2ff53cac8d00"
},
"BillingAddress": {
}
},
"TotalsInfo": {
"Subtotal": 2.1,
"PostageCost": 3.1,
"PostageCostExTax": 4.1,
"Tax": 5.1,
"TotalCharge": 6.1,
"PaymentMethod": "sample string 7",
"PaymentMethodId": "2b5cf4c9-54db-4280-8624-40131d2def7c",
"ProfitMargin": 9.1,
"TotalDiscount": 10.1,
"Currency": "sample string 11",
"CountryTaxRate": 12.1,
"ConversionRate": 13.1
},
"ExtendedProperties": [
{
"RowId": "6eaaff8e-c860-4b88-80c8-b08d2b9d2445",
"Name": "sample string 2",
"Value": "sample string 3",
"Type": "sample string 4"
}
],
"FolderName": [
"sample string 1"
],
"Items": [
{
"ItemId": "37580235-35ae-4698-9b50-d4c0a11bc88b",
"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": "6a42db15-6ade-41f2-8355-6d1cc336045c",
"Rowid": "da58a770-86ed-4835-ba8a-b3d70e273d4f",
"pkPurchaseId": "a48a1c89-9798-45c5-90a4-c30760bbb65f",
"ExternalInvoiceNumber": "sample string 4",
"fkSupplierId": "9552296f-4a5a-487f-8793-ab591de4c56d",
"DateOfDelivery": "2023-01-10T13:49:54.4855093+00:00",
"QuotedDeliveryDate": "2023-01-10T13:49:54.4855093+00:00",
"SupplierName": "sample string 8",
"fkLocationId": "b569db5f-4c2c-4257-9d87-a994bb64ea82"
},
"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": "328d71b4-a145-4bf2-a799-847a950c4ed9",
"AdditionalInfo": [
{
"pkOptionId": "58b08730-c4be-407a-8dee-de8fb0ad2fa4",
"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": "14f00433-3931-44a8-b965-2feb14b2dd0b",
"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": "7b5e6604-5962-423b-914e-7fc918bc5a8f",
"LogicalDelete": true
}
],
"RowId": "f6c7471c-3fa8-4319-9ae4-71a92734a92d",
"OrderId": "cf56d779-de88-47a3-b9cf-2619d7acdb0b",
"StockItemId": "40d23ea2-812f-4893-b6db-456d21d3242f"
}
],
"Notes": [
{
"OrderNoteId": "8cd797e2-e05a-4750-a16b-ae4358cff19d",
"OrderId": "97e33837-3ae3-4ee4-834f-4db93d2ffae2",
"NoteDate": "2023-01-10T13:49:54.4855093+00:00",
"Internal": true,
"Note": "sample string 5",
"CreatedBy": "sample string 6",
"NoteTypeId": 64
}
],
"PaidDateTime": "2023-01-10T13:49:54.4855093+00:00",
"TaxId": "sample string 5"
}
]