Get the detail (composition) of a specific order item
Name | Type | Description |
---|---|---|
orderId | Guid | Order id |
stockItemId | Guid | Stock item id |
fulfilmentCenter | Guid | Location to get the order item composition for |
The following request format is required for this method.
POST https://eu-ext.linnworks.net/api/Orders/GetOrderItemComposition
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=d1f3c021-9665-40a3-b8c5-59013647e934&stockItemId=6bfa31b4-15af-4ed5-86e7-362762a91924&fulfilmentCenter=d5acd08c-c41c-4a03-af4d-b973af24d400
This is an example of the response JSON. Results will vary depending on your data.
{
"ItemId": "61a8f0c9-204a-4eba-945a-3945c8836292",
"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": "39229f7a-7431-49a4-a97b-d1001dbda1b6",
"Rowid": "da39be58-c142-4c68-98f7-f9fa223f4358",
"pkPurchaseId": "879de5d7-ff84-4401-859b-5c79aa221f01",
"ExternalInvoiceNumber": "sample string 4",
"fkSupplierId": "e537cbae-c89c-451a-9f99-c4ea0d8bbcea",
"DateOfDelivery": "2022-03-09T13:04:14.2435779+00:00",
"QuotedDeliveryDate": "2022-03-09T13:04:14.2435779+00:00",
"SupplierName": "sample string 8",
"fkLocationId": "9014b0f8-7c21-4484-a4cd-0210577a09f1"
},
"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": "f9739e17-2baa-4a07-903c-8a3fcdecc4b4",
"AdditionalInfo": [
{
"pkOptionId": "cb63dfd7-a637-44bb-887c-4b5d222f382f",
"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": "5a92b278-ddb9-416e-8cda-621f047e09c2",
"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": "7d24bac4-95f1-41ea-97ab-00e1b395d11b",
"LogicalDelete": true
}
],
"RowId": "4b128a61-adc6-4b75-a4ef-b6daf8a6ca52",
"OrderId": "e153b008-a35a-454a-8eff-2f9eb4eb4418",
"StockItemId": "541d8b8f-c24e-4766-809f-c8d465b94ddf"
}