Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

Stock /GetStockLevel

Allows 250 calls per minute

Response: List<StockItemLevel>



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

Parameters

NameTypeDescription
stockItemIdGuidUsed to specify stock item id

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/Stock/GetStockLevel

Headers

Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

Request Body

This is an example of the request structure. Results will vary depending on your data.

stockItemId=efc07aae-1d6a-4963-8194-7d3d8b015282

Response

This is an example of the response JSON. Results will vary depending on your data.

[
  {
    "Location": {
      "StockLocationId": "eb4ad00a-b713-4766-b995-70c3c6d5971a",
      "StockLocationIntId": 2,
      "LocationName": "sample string 3",
      "IsFulfillmentCenter": true,
      "LocationTag": "sample string 5",
      "BinRack": "sample string 6",
      "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": "2021-07-29T09:24:42.8152266+01:00",
    "LastUpdateOperation": "sample string 10",
    "rowid": "b5491d1c-c94a-4ae2-8bc9-8baedae931cb",
    "PendingUpdate": true,
    "StockItemPurchasePrice": 13.1,
    "StockItemId": "5ea1e653-fd63-4dbd-adc2-935b1edc8830",
    "StockItemIntId": 15
  }
]