Get order items
Name | Type | Description |
---|---|---|
orderId | Guid | Order id |
fulfilmentCenter | Guid | Current fulfilment center |
The following request format is required for this method.
POST https://eu-ext.linnworks.net/api/Orders/GetOrderItems
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=46e17c3d-8ef5-4f8f-9e3a-b0c69cd53f1a&fulfilmentCenter=fe3c674d-b642-4d1a-9738-5ee3784ce92b
This is an example of the response JSON. Results will vary depending on your data.
[
{
"ItemId": "cf7e2f6e-45b1-4071-bf8f-cc2f1ce68173",
"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": "7143dc2e-3e71-48ba-a90d-3df5e2dabdd2",
"Rowid": "73eab6b8-5673-4a8f-a3e9-db1f477cd003",
"pkPurchaseId": "8572ace8-1547-4f45-89ad-43b777843a5f",
"ExternalInvoiceNumber": "sample string 4",
"fkSupplierId": "ffad3ebd-9279-4197-9abc-3e2efaf562a9",
"DateOfDelivery": "2022-03-09T13:04:14.081012+00:00",
"QuotedDeliveryDate": "2022-03-09T13:04:14.081012+00:00",
"SupplierName": "sample string 8",
"fkLocationId": "254f6410-cc5a-4653-a4c7-8c22ee4e1607"
},
"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": "13f205ae-be33-4d93-b5cc-6899b7f7b231",
"AdditionalInfo": [
{
"pkOptionId": "a75bb395-3f28-4ecd-b481-7489a73d72cd",
"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": "c6d2764f-4ca5-4e13-bb9f-a6a25ef89345",
"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": "639988b7-c5b9-41f9-91b6-97bb296d5c4f",
"LogicalDelete": true
}
],
"RowId": "9a9eae0e-c8d2-44ea-af56-5cb20b7d231f",
"OrderId": "3ecc49c8-70ef-4aeb-95bb-13b23ac81b5f",
"StockItemId": "261c4b5a-70d5-4066-954d-cac44fc95307"
}
]