Back

Search

Search

Methods

Inventory

Orders

Inventory /GetInventoryItemsCompositionByIds

Allows 250 calls per minute

Response: GetInventoryItemsCompositionByIdsResponse



Use this call to get all StockItem Compositions

Parameters

NameTypeDescription
requestGetInventoryItemsCompositionByIdsRequestObject with InventoryItemIds

Example Request

The following request format is required for this method.

Endpoint URL

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

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.

request={
  "InventoryItemIds": [
    "247db3f9-f7c8-4a98-8abd-e8e206266446"
  ]
}

Response

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

{
  "InventoryItemsCompositionByIds": {
    "cb2a7b08-c273-42dc-b04b-8514718cbfd9": [
      {
        "LinkedStockItemId": "5f9977c7-34cb-4984-b385-1a31834b35c2",
        "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": "a2e77eee-6546-4466-bf79-7f73af1c35ab",
        "StockItemId": "f76ed540-5c41-49a6-9c0b-8dba599c5e49",
        "StockItemIntId": 2
      }
    ]
  }
}