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=fb7c3147-0c76-4ba2-9b08-339af6cd1c64

Response

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

[
  {
    "fkRowId": "5e1bad8b-e793-4657-b656-e589b537d162",
    "LocationId": 2,
    "LocationName": "sample string 3",
    "IgnoreSync": true,
    "MaxListedQuantity": 1,
    "EndWhenStock": 1,
    "StockPercentage": 1.1,
    "LastUpdate": "2018-10-03T11:12:37.610701+01:00",
    "UpdateStatus": "sample string 5",
    "SubmittedQuantity": 6,
    "ListedQuantity": 7,
    "RetryCount": 8,
    "StockItemId": "7d3d9945-2883-426c-9f6f-5258b0c610e4"
  },
  {
    "fkRowId": "5e1bad8b-e793-4657-b656-e589b537d162",
    "LocationId": 2,
    "LocationName": "sample string 3",
    "IgnoreSync": true,
    "MaxListedQuantity": 1,
    "EndWhenStock": 1,
    "StockPercentage": 1.1,
    "LastUpdate": "2018-10-03T11:12:37.610701+01:00",
    "UpdateStatus": "sample string 5",
    "SubmittedQuantity": 6,
    "ListedQuantity": 7,
    "RetryCount": 8,
    "StockItemId": "7d3d9945-2883-426c-9f6f-5258b0c610e4"
  }
]