Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

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": "ee9a5c90-279c-4259-b693-16a8ffc7b9d4",
  "LocationId": "6433db3f-5aba-41be-9091-c9be3b80d5d1"
}

Response

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

{
  "StockLevel": {
    "Location": {
      "StockLocationId": "8e7d3f56-73a4-4f50-9d11-7f32db3e2a10",
      "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.8232153+01:00",
    "LastUpdateOperation": "sample string 10",
    "rowid": "1aea7590-3486-4172-86dd-94eea53ac676",
    "PendingUpdate": true,
    "StockItemPurchasePrice": 13.1,
    "StockItemId": "89e3e3e0-0e59-41ff-84f6-5e07e3bf765b",
    "StockItemIntId": 15
  }
}