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=21f538ec-eea7-4bba-8fab-f9fad08b3348

Response

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

[
  {
    "Location": {
      "StockLocationId": "4aead473-ae61-4fea-ab60-a0f16cae5ce7",
      "LocationName": "sample string 2",
      "IsFulfillmentCenter": true,
      "LocationTag": "sample string 4",
      "BinRack": "sample string 5",
      "IsWarehouseManaged": true
    },
    "StockLevel": 1,
    "StockValue": 2.1,
    "MinimumLevel": 3,
    "InOrderBook": 4,
    "Due": 5,
    "JIT": true,
    "InOrders": 4,
    "Available": -3,
    "UnitCost": 2.1,
    "SKU": "sample string 7",
    "AutoAdjust": true,
    "LastUpdateDate": "2019-11-28T09:46:00.6511742+00:00",
    "LastUpdateOperation": "sample string 10",
    "rowid": "1d40702b-f1c6-44ed-a6ca-2bce5bd027df",
    "PendingUpdate": true,
    "StockItemPurchasePrice": 13.1,
    "StockItemId": "4a8a1100-4b41-400d-a1e1-1d179899886e",
    "StockItemIntId": 15
  },
  {
    "Location": {
      "StockLocationId": "4aead473-ae61-4fea-ab60-a0f16cae5ce7",
      "LocationName": "sample string 2",
      "IsFulfillmentCenter": true,
      "LocationTag": "sample string 4",
      "BinRack": "sample string 5",
      "IsWarehouseManaged": true
    },
    "StockLevel": 1,
    "StockValue": 2.1,
    "MinimumLevel": 3,
    "InOrderBook": 4,
    "Due": 5,
    "JIT": true,
    "InOrders": 4,
    "Available": -3,
    "UnitCost": 2.1,
    "SKU": "sample string 7",
    "AutoAdjust": true,
    "LastUpdateDate": "2019-11-28T09:46:00.6511742+00:00",
    "LastUpdateOperation": "sample string 10",
    "rowid": "1d40702b-f1c6-44ed-a6ca-2bce5bd027df",
    "PendingUpdate": true,
    "StockItemPurchasePrice": 13.1,
    "StockItemId": "4a8a1100-4b41-400d-a1e1-1d179899886e",
    "StockItemIntId": 15
  }
]