Back

Search

Search

Methods

Inventory

Orders

Stock /GetStockLevel

Response: List<StockItemLevel>



Use this call to retrieve report about "item stock level"

Parameters

NameTypeDescription
stockItemIdGuidUsed to specify stock item id

HTTP Endpoint

Server /Stock / GetStockLevel

Permissions


Example Code

Example Request

The following request format is required for this method.

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

stockItemId=d2729fc3-f40a-40f0-990b-2c5909e08851

Response

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

[
  {
    "Location": {
      "StockLocationId": "17651367-f6d5-4085-baff-54a58e5c8dae",
      "LocationName": "sample string 2",
      "IsFulfillmentCenter": true,
      "LocationTag": "sample string 4",
      "BinRack": "sample string 5"
    },
    "StockLevel": 1,
    "StockValue": 2.1,
    "MinimumLevel": 3,
    "InOrderBook": 4,
    "Due": 5,
    "InOrders": 4,
    "Available": -3,
    "UnitCost": 2.1,
    "SKU": "sample string 6",
    "AutoAdjust": true,
    "LastUpdateDate": "2018-02-19T16:57:07.0531583+00:00",
    "LastUpdateOperation": "sample string 9",
    "rowid": "6c55d9dd-1443-436c-9d02-ac2ab314248a",
    "PendingUpdate": true,
    "StockItemId": "1c602c7b-bc9a-42f7-81d6-d29dc8f2f1e0"
  },
  {
    "Location": {
      "StockLocationId": "17651367-f6d5-4085-baff-54a58e5c8dae",
      "LocationName": "sample string 2",
      "IsFulfillmentCenter": true,
      "LocationTag": "sample string 4",
      "BinRack": "sample string 5"
    },
    "StockLevel": 1,
    "StockValue": 2.1,
    "MinimumLevel": 3,
    "InOrderBook": 4,
    "Due": 5,
    "InOrders": 4,
    "Available": -3,
    "UnitCost": 2.1,
    "SKU": "sample string 6",
    "AutoAdjust": true,
    "LastUpdateDate": "2018-02-19T16:57:07.0531583+00:00",
    "LastUpdateOperation": "sample string 9",
    "rowid": "6c55d9dd-1443-436c-9d02-ac2ab314248a",
    "PendingUpdate": true,
    "StockItemId": "1c602c7b-bc9a-42f7-81d6-d29dc8f2f1e0"
  }
]