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": "8dc99992-ffe1-4852-a03e-8486201909a9",
  "LocationId": "8c8d7c33-21dd-4247-9168-ba4f47d84355"
}

Response

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

{
  "StockLevel": {
    "Location": {
      "StockLocationId": "281139da-6547-43aa-af2c-a48fbeda5055",
      "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": "2023-01-10T13:49:55.0669211+00:00",
    "LastUpdateOperation": "sample string 10",
    "rowid": "1d85801f-b708-42dc-bdfd-b3dd2e31e91c",
    "PendingUpdate": true,
    "StockItemPurchasePrice": 13.1,
    "StockItemId": "b9842dbb-0b08-4404-8c0c-a8f262bc1309",
    "StockItemIntId": 15
  }
}