Back

Search

Search

Methods

Inventory

Orders

Inventory /GetInventoryItemChannelSKUsWithLocation

Response: List<StockItemChannelSKUWithLocation>



Use this call to retrieve all stock item channel sku's with location for a given channel sku RowId

Parameters

NameTypeDescription
channelSKURowIdGuidChannelSKU record Id

HTTP Endpoint

Server /Inventory / GetInventoryItemChannelSKUsWithLocation

Permissions


Example Code

Example Request

The following request format is required for this method.

POST https://eu-ext.linnworks.net//api/Inventory/GetInventoryItemChannelSKUsWithLocation 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

channelSKURowId=593c9d5d-69b0-4b05-97ca-54da205f49a8

Response

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

[
  {
    "fkRowId": "1445cfb7-170b-411b-80cb-ce8cd1ccdeb6",
    "LocationId": 2,
    "LocationName": "sample string 3",
    "IgnoreSync": true,
    "MaxListedQuantity": 1,
    "EndWhenStock": 1,
    "StockPercentage": 1.1,
    "LastUpdate": "2018-02-19T16:57:09.3874748+00:00",
    "UpdateStatus": "sample string 5",
    "SubmittedQuantity": 6,
    "ListedQuantity": 7,
    "RetryCount": 8,
    "StockItemId": "f8fe8a34-0880-4287-a17f-86937116bf75"
  },
  {
    "fkRowId": "1445cfb7-170b-411b-80cb-ce8cd1ccdeb6",
    "LocationId": 2,
    "LocationName": "sample string 3",
    "IgnoreSync": true,
    "MaxListedQuantity": 1,
    "EndWhenStock": 1,
    "StockPercentage": 1.1,
    "LastUpdate": "2018-02-19T16:57:09.3874748+00:00",
    "UpdateStatus": "sample string 5",
    "SubmittedQuantity": 6,
    "ListedQuantity": 7,
    "RetryCount": 8,
    "StockItemId": "f8fe8a34-0880-4287-a17f-86937116bf75"
  }
]