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=[
  "04505290-bb44-4c29-abfe-42cc885642b0",
  "b435328d-8400-4cf1-bfbe-53062f5bb944"
]

Response

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

[
  {
    "StockItemId": "3d5771d0-1d47-4122-8287-886ed954d7d0",
    "ChannelSkus": [
      {
        "ChannelSKURowId": "fb181a79-b3d2-4c7d-b5cb-02f7bb5dc8ca",
        "SKU": "sample string 2",
        "Source": "sample string 3",
        "SubSource": "sample string 4",
        "UpdateStatus": "sample string 5",
        "ChannelReferenceId": "sample string 6",
        "LastUpdate": "2020-05-20T15:02:02.8985055+01:00",
        "MaxListedQuantity": 8,
        "EndWhenStock": 9,
        "SubmittedQuantity": 10,
        "ListedQuantity": 11,
        "StockPercentage": 12.1,
        "IgnoreSync": true,
        "IgnoreSyncMultiLocation": true,
        "IsMultiLocation": true,
        "StockItemId": "ff0b4aa6-826e-4ac0-a113-b16b03cafc1f",
        "StockItemIntId": 16
      },
      {
        "ChannelSKURowId": "fb181a79-b3d2-4c7d-b5cb-02f7bb5dc8ca",
        "SKU": "sample string 2",
        "Source": "sample string 3",
        "SubSource": "sample string 4",
        "UpdateStatus": "sample string 5",
        "ChannelReferenceId": "sample string 6",
        "LastUpdate": "2020-05-20T15:02:02.8985055+01:00",
        "MaxListedQuantity": 8,
        "EndWhenStock": 9,
        "SubmittedQuantity": 10,
        "ListedQuantity": 11,
        "StockPercentage": 12.1,
        "IgnoreSync": true,
        "IgnoreSyncMultiLocation": true,
        "IsMultiLocation": true,
        "StockItemId": "ff0b4aa6-826e-4ac0-a113-b16b03cafc1f",
        "StockItemIntId": 16
      }
    ]
  },
  {
    "StockItemId": "3d5771d0-1d47-4122-8287-886ed954d7d0",
    "ChannelSkus": [
      {
        "ChannelSKURowId": "fb181a79-b3d2-4c7d-b5cb-02f7bb5dc8ca",
        "SKU": "sample string 2",
        "Source": "sample string 3",
        "SubSource": "sample string 4",
        "UpdateStatus": "sample string 5",
        "ChannelReferenceId": "sample string 6",
        "LastUpdate": "2020-05-20T15:02:02.8985055+01:00",
        "MaxListedQuantity": 8,
        "EndWhenStock": 9,
        "SubmittedQuantity": 10,
        "ListedQuantity": 11,
        "StockPercentage": 12.1,
        "IgnoreSync": true,
        "IgnoreSyncMultiLocation": true,
        "IsMultiLocation": true,
        "StockItemId": "ff0b4aa6-826e-4ac0-a113-b16b03cafc1f",
        "StockItemIntId": 16
      },
      {
        "ChannelSKURowId": "fb181a79-b3d2-4c7d-b5cb-02f7bb5dc8ca",
        "SKU": "sample string 2",
        "Source": "sample string 3",
        "SubSource": "sample string 4",
        "UpdateStatus": "sample string 5",
        "ChannelReferenceId": "sample string 6",
        "LastUpdate": "2020-05-20T15:02:02.8985055+01:00",
        "MaxListedQuantity": 8,
        "EndWhenStock": 9,
        "SubmittedQuantity": 10,
        "ListedQuantity": 11,
        "StockPercentage": 12.1,
        "IgnoreSync": true,
        "IgnoreSyncMultiLocation": true,
        "IsMultiLocation": true,
        "StockItemId": "ff0b4aa6-826e-4ac0-a113-b16b03cafc1f",
        "StockItemIntId": 16
      }
    ]
  }
]