Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Stock /GetStockLevelByLocation

Allows 250 calls per minute

Response: GetStockLevelByLocationResponse



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

Parameters

NameTypeDescription
requestGetStockLevelByLocationRequest

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/Stock/GetStockLevelByLocation

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.

request={
  "StockItemId": "0a5c421c-be7f-49ae-8e45-6bb48119a317",
  "LocationId": "cc5b6ae4-b6e0-4c64-8776-434f7c73fc11"
}

Response

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

{
  "StockLevel": {
    "Location": {
      "StockLocationId": "0f3fd30a-df24-4f4e-a89d-f01bba9e107a",
      "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": "2022-09-05T15:10:03.7136954+03:00",
    "LastUpdateOperation": "sample string 10",
    "rowid": "b397fde8-7ebd-4874-842d-776a6616bb0c",
    "PendingUpdate": true,
    "StockItemPurchasePrice": 13.1,
    "StockItemId": "d3d62782-cf8d-4b3d-a52f-1e435bb8ba4c",
    "StockItemIntId": 15
  }
}