Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

Inventory /GetInventoryItemCompositions

Allows 250 calls per minute

Response: List<StockItemComposition>



Use this call to get all StockItem Compositions

Parameters

NameTypeDescription
inventoryItemIdGuidId of StockItem
getFullDetailBooleanIndicate if the method has to be recursive, going throw inner composites, getting only real items

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/Inventory/GetInventoryItemCompositions

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.

inventoryItemId=d21c813d-6e54-4956-b4a2-22a2ed4786b4&getFullDetail=true

Response

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

[
  {
    "LinkedStockItemId": "c3e8508d-45c5-42fb-9ed2-56decb0807a6",
    "ItemTitle": "sample string 2",
    "SKU": "sample string 3",
    "Quantity": 4,
    "PurchasePrice": 5.1,
    "InventoryTrackingType": 64,
    "DimHeight": 7.1,
    "DimWidth": 8.1,
    "DimDepth": 9.1,
    "Weight": 10.1,
    "PackageGroupId": "dab11876-e198-4289-baed-d57b0762b100",
    "StockItemId": "a2a4780c-c96c-4754-be28-ab7a3baecc08",
    "StockItemIntId": 2
  }
]