Back

Search

Search

Methods

Inventory

Orders

Inventory /BatchGetInventoryItemChannelSKUs

Rate Limit: 150/min

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=[
  "c0135c25-eeae-46bb-a90e-093286103217",
  "881ed89a-50e9-4543-8fe4-5615e333ee9d"
]

Response

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

[
  {
    "StockItemId": "4b51c194-fe21-45af-93e3-091e8d33f842",
    "ChannelSkus": [
      {
        "ChannelSKURowId": "8e06bc3a-4091-47b6-8b82-bf7453da55a3",
        "SKU": "sample string 2",
        "Source": "sample string 3",
        "SubSource": "sample string 4",
        "UpdateStatus": "sample string 5",
        "ChannelReferenceId": "sample string 6",
        "LastUpdate": "2021-02-21T11:27:32.0889126+00:00",
        "MaxListedQuantity": 8,
        "EndWhenStock": 9,
        "SubmittedQuantity": 10,
        "ListedQuantity": 11,
        "StockPercentage": 12.1,
        "IgnoreSync": true,
        "IgnoreSyncMultiLocation": true,
        "IsMultiLocation": true,
        "StockItemId": "124ffdfd-cdee-47d0-818b-921501f2759d",
        "StockItemIntId": 16
      },
      {
        "ChannelSKURowId": "8e06bc3a-4091-47b6-8b82-bf7453da55a3",
        "SKU": "sample string 2",
        "Source": "sample string 3",
        "SubSource": "sample string 4",
        "UpdateStatus": "sample string 5",
        "ChannelReferenceId": "sample string 6",
        "LastUpdate": "2021-02-21T11:27:32.0889126+00:00",
        "MaxListedQuantity": 8,
        "EndWhenStock": 9,
        "SubmittedQuantity": 10,
        "ListedQuantity": 11,
        "StockPercentage": 12.1,
        "IgnoreSync": true,
        "IgnoreSyncMultiLocation": true,
        "IsMultiLocation": true,
        "StockItemId": "124ffdfd-cdee-47d0-818b-921501f2759d",
        "StockItemIntId": 16
      }
    ]
  },
  {
    "StockItemId": "4b51c194-fe21-45af-93e3-091e8d33f842",
    "ChannelSkus": [
      {
        "ChannelSKURowId": "8e06bc3a-4091-47b6-8b82-bf7453da55a3",
        "SKU": "sample string 2",
        "Source": "sample string 3",
        "SubSource": "sample string 4",
        "UpdateStatus": "sample string 5",
        "ChannelReferenceId": "sample string 6",
        "LastUpdate": "2021-02-21T11:27:32.0889126+00:00",
        "MaxListedQuantity": 8,
        "EndWhenStock": 9,
        "SubmittedQuantity": 10,
        "ListedQuantity": 11,
        "StockPercentage": 12.1,
        "IgnoreSync": true,
        "IgnoreSyncMultiLocation": true,
        "IsMultiLocation": true,
        "StockItemId": "124ffdfd-cdee-47d0-818b-921501f2759d",
        "StockItemIntId": 16
      },
      {
        "ChannelSKURowId": "8e06bc3a-4091-47b6-8b82-bf7453da55a3",
        "SKU": "sample string 2",
        "Source": "sample string 3",
        "SubSource": "sample string 4",
        "UpdateStatus": "sample string 5",
        "ChannelReferenceId": "sample string 6",
        "LastUpdate": "2021-02-21T11:27:32.0889126+00:00",
        "MaxListedQuantity": 8,
        "EndWhenStock": 9,
        "SubmittedQuantity": 10,
        "ListedQuantity": 11,
        "StockPercentage": 12.1,
        "IgnoreSync": true,
        "IgnoreSyncMultiLocation": true,
        "IsMultiLocation": true,
        "StockItemId": "124ffdfd-cdee-47d0-818b-921501f2759d",
        "StockItemIntId": 16
      }
    ]
  }
]