Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

Orders /GetOrderItemComposition

Allows 150 calls per minute

Response: OrderItem



Get the detail (composition) of a specific order item

Parameters

NameTypeDescription
orderIdGuidOrder id
stockItemIdGuidStock item id
fulfilmentCenterGuidLocation to get the order item composition for

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/Orders/GetOrderItemComposition

Headers

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

Request Body

This is an example of the request structure. Results will vary depending on your data.

orderId=f52b1562-9bfc-4aa7-9100-c5547e97a88a&stockItemId=0943102d-59b3-43ab-a7d0-141003ab655f&fulfilmentCenter=206ef393-768c-4c78-b081-6dc18e288e7f

Response

This is an example of the response JSON. Results will vary depending on your data.

{
  "ItemId": "091f87c4-4434-431d-9d08-983dd438e579",
  "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": "6174fbd0-ec33-4331-ac81-7600f5babe06",
    "Rowid": "66972371-1eac-4250-9661-34ada5f93a48",
    "pkPurchaseId": "c9c8c40e-73b2-4a20-82d8-1dbbd71c0ead",
    "ExternalInvoiceNumber": "sample string 4",
    "fkSupplierId": "69e02982-c82b-40c8-a5e3-c48b34eab6e7",
    "DateOfDelivery": "2021-07-29T09:24:52.226449+01:00",
    "QuotedDeliveryDate": "2021-07-29T09:24:52.226449+01:00",
    "SupplierName": "sample string 8",
    "fkLocationId": "0820ef00-1cda-411c-93e8-b80b61d76564"
  },
  "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": "a972a0fb-3af3-4f68-b045-dc9a892a9efd",
  "AdditionalInfo": [
    {
      "pkOptionId": "dac67c7b-e15c-4995-b190-825cc685aa2c",
      "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": "18a6b11f-ba8e-41ee-bcd6-7f3192c3b949",
      "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": "f53ca827-25c9-45c1-8bfc-e48765622543",
      "LogicalDelete": true
    }
  ],
  "RowId": "a1142dfd-2d2e-40ba-9e44-98c501154a68",
  "OrderId": "136295cd-997e-4d9d-9c5a-4634c6c50af2",
  "StockItemId": "1b12d284-0030-4357-affd-4a47c1911f55"
}