Back

Search

Search

Methods

Inventory

Orders

Inventory /BatchGetInventoryItemChannelSKUs

Response: IEnumerable<StockItemChannelSkuResponse>


Parameters

NameTypeDescription
inventoryItemIdsList<Guid>

HTTP Endpoint

Server /Inventory / BatchGetInventoryItemChannelSKUs

Permissions


Example Code

Example Request

The following request format is required for this method.

POST https://eu-ext.linnworks.net//api/Inventory/BatchGetInventoryItemChannelSKUs HTTP/1.1
Host: eu-ext.linnworks.net
Connection: keep-alive
Accept: application/json, text/javascript, */*; q=0.01
Origin: https://www.linnworks.net
Accept-Language: en
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: https://www.linnworks.net/
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

inventoryItemIds=[
  "b65de821-43ca-405c-a472-f9c09e4631b9",
  "d2f50037-b355-4b58-9e0c-ccdf8315315f"
]

Response

This is an example response. Results may vary depending on your data.

[
  {
    "StockItemId": "6f4d9cff-69b0-43f0-a13b-f87365d4403d",
    "ChannelSkus": [
      {
        "ChannelSKURowId": "2b5979a8-0f63-41d8-bfa7-fedc39b8109d",
        "SKU": "sample string 2",
        "Source": "sample string 3",
        "SubSource": "sample string 4",
        "UpdateStatus": "sample string 5",
        "ChannelReferenceId": "sample string 6",
        "LastUpdate": "2020-11-10T15:13:09.6353677+00:00",
        "MaxListedQuantity": 8,
        "EndWhenStock": 9,
        "SubmittedQuantity": 10,
        "ListedQuantity": 11,
        "StockPercentage": 12.1,
        "IgnoreSync": true,
        "IgnoreSyncMultiLocation": true,
        "IsMultiLocation": true,
        "StockItemId": "626bc6d2-a3cc-43f8-9c30-dd87ad903fa9",
        "StockItemIntId": 16
      },
      {
        "ChannelSKURowId": "2b5979a8-0f63-41d8-bfa7-fedc39b8109d",
        "SKU": "sample string 2",
        "Source": "sample string 3",
        "SubSource": "sample string 4",
        "UpdateStatus": "sample string 5",
        "ChannelReferenceId": "sample string 6",
        "LastUpdate": "2020-11-10T15:13:09.6353677+00:00",
        "MaxListedQuantity": 8,
        "EndWhenStock": 9,
        "SubmittedQuantity": 10,
        "ListedQuantity": 11,
        "StockPercentage": 12.1,
        "IgnoreSync": true,
        "IgnoreSyncMultiLocation": true,
        "IsMultiLocation": true,
        "StockItemId": "626bc6d2-a3cc-43f8-9c30-dd87ad903fa9",
        "StockItemIntId": 16
      }
    ]
  },
  {
    "StockItemId": "6f4d9cff-69b0-43f0-a13b-f87365d4403d",
    "ChannelSkus": [
      {
        "ChannelSKURowId": "2b5979a8-0f63-41d8-bfa7-fedc39b8109d",
        "SKU": "sample string 2",
        "Source": "sample string 3",
        "SubSource": "sample string 4",
        "UpdateStatus": "sample string 5",
        "ChannelReferenceId": "sample string 6",
        "LastUpdate": "2020-11-10T15:13:09.6353677+00:00",
        "MaxListedQuantity": 8,
        "EndWhenStock": 9,
        "SubmittedQuantity": 10,
        "ListedQuantity": 11,
        "StockPercentage": 12.1,
        "IgnoreSync": true,
        "IgnoreSyncMultiLocation": true,
        "IsMultiLocation": true,
        "StockItemId": "626bc6d2-a3cc-43f8-9c30-dd87ad903fa9",
        "StockItemIntId": 16
      },
      {
        "ChannelSKURowId": "2b5979a8-0f63-41d8-bfa7-fedc39b8109d",
        "SKU": "sample string 2",
        "Source": "sample string 3",
        "SubSource": "sample string 4",
        "UpdateStatus": "sample string 5",
        "ChannelReferenceId": "sample string 6",
        "LastUpdate": "2020-11-10T15:13:09.6353677+00:00",
        "MaxListedQuantity": 8,
        "EndWhenStock": 9,
        "SubmittedQuantity": 10,
        "ListedQuantity": 11,
        "StockPercentage": 12.1,
        "IgnoreSync": true,
        "IgnoreSyncMultiLocation": true,
        "IsMultiLocation": true,
        "StockItemId": "626bc6d2-a3cc-43f8-9c30-dd87ad903fa9",
        "StockItemIntId": 16
      }
    ]
  }
]