Back

Search

Search

Methods

Inventory

Orders

Inventory /BatchGetInventoryItemChannelSKUs

Response: IEnumerable<StockItemChannelSkuResponse>



Use this call to get stock item channel skus for a list of inventory items

Parameters

NameTypeDescription
inventoryItemIdsList<Guid>List of Stock item Id's'

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=[
  "bc20d1bc-4ac4-48e4-be98-fa2a001cf8d7",
  "09482a66-cf04-4734-851f-8b5fb6d20415"
]

Response

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

[
  {
    "StockItemId": "1033c30f-6cdb-4bd3-9db0-6e3839e8031f",
    "ChannelSkus": [
      {
        "ChannelSKURowId": "f9e35a99-1c01-40d6-86a8-3cda7b1a0339",
        "SKU": "sample string 2",
        "Source": "sample string 3",
        "SubSource": "sample string 4",
        "UpdateStatus": "sample string 5",
        "ChannelReferenceId": "sample string 6",
        "LastUpdate": "2020-08-11T14:34:53.9934555+01:00",
        "MaxListedQuantity": 8,
        "EndWhenStock": 9,
        "SubmittedQuantity": 10,
        "ListedQuantity": 11,
        "StockPercentage": 12.1,
        "IgnoreSync": true,
        "IgnoreSyncMultiLocation": true,
        "IsMultiLocation": true,
        "StockItemId": "af3dde87-d6a3-44a9-8701-1767a1d67dfa",
        "StockItemIntId": 16
      },
      {
        "ChannelSKURowId": "f9e35a99-1c01-40d6-86a8-3cda7b1a0339",
        "SKU": "sample string 2",
        "Source": "sample string 3",
        "SubSource": "sample string 4",
        "UpdateStatus": "sample string 5",
        "ChannelReferenceId": "sample string 6",
        "LastUpdate": "2020-08-11T14:34:53.9934555+01:00",
        "MaxListedQuantity": 8,
        "EndWhenStock": 9,
        "SubmittedQuantity": 10,
        "ListedQuantity": 11,
        "StockPercentage": 12.1,
        "IgnoreSync": true,
        "IgnoreSyncMultiLocation": true,
        "IsMultiLocation": true,
        "StockItemId": "af3dde87-d6a3-44a9-8701-1767a1d67dfa",
        "StockItemIntId": 16
      }
    ]
  },
  {
    "StockItemId": "1033c30f-6cdb-4bd3-9db0-6e3839e8031f",
    "ChannelSkus": [
      {
        "ChannelSKURowId": "f9e35a99-1c01-40d6-86a8-3cda7b1a0339",
        "SKU": "sample string 2",
        "Source": "sample string 3",
        "SubSource": "sample string 4",
        "UpdateStatus": "sample string 5",
        "ChannelReferenceId": "sample string 6",
        "LastUpdate": "2020-08-11T14:34:53.9934555+01:00",
        "MaxListedQuantity": 8,
        "EndWhenStock": 9,
        "SubmittedQuantity": 10,
        "ListedQuantity": 11,
        "StockPercentage": 12.1,
        "IgnoreSync": true,
        "IgnoreSyncMultiLocation": true,
        "IsMultiLocation": true,
        "StockItemId": "af3dde87-d6a3-44a9-8701-1767a1d67dfa",
        "StockItemIntId": 16
      },
      {
        "ChannelSKURowId": "f9e35a99-1c01-40d6-86a8-3cda7b1a0339",
        "SKU": "sample string 2",
        "Source": "sample string 3",
        "SubSource": "sample string 4",
        "UpdateStatus": "sample string 5",
        "ChannelReferenceId": "sample string 6",
        "LastUpdate": "2020-08-11T14:34:53.9934555+01:00",
        "MaxListedQuantity": 8,
        "EndWhenStock": 9,
        "SubmittedQuantity": 10,
        "ListedQuantity": 11,
        "StockPercentage": 12.1,
        "IgnoreSync": true,
        "IgnoreSyncMultiLocation": true,
        "IsMultiLocation": true,
        "StockItemId": "af3dde87-d6a3-44a9-8701-1767a1d67dfa",
        "StockItemIntId": 16
      }
    ]
  }
]