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

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": "03de6b6c-6de0-4e60-a17d-8c394706edb4",
  "LocationId": "f19df5c7-ef98-49fe-a8a2-259b91f7d07f"
}

Response

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

{
  "StockLevel": {
    "Location": {
      "StockLocationId": "0135a025-5cec-47be-9286-6e4831e925cf",
      "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-03-09T13:04:11.957506+00:00",
    "LastUpdateOperation": "sample string 10",
    "rowid": "6541cf6e-ae0c-424e-9576-d6819750af10",
    "PendingUpdate": true,
    "StockItemPurchasePrice": 13.1,
    "StockItemId": "df6740f9-2e15-4821-9959-45ea1f0d3905",
    "StockItemIntId": 15
  }
}