Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Stock /GetStockLevel_Batch

Allows 250 calls per minute

Response: List<GetStockLevel_BatchResponse>



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

Parameters

NameTypeDescription
requestGetStockLevel_BatchRequestMethod request parameters

Example Request

The following request format is required for this method.

Endpoint URL

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

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={
  "StockItemIds": [
    "2faa7482-3c76-4540-bed4-c24593746d69"
  ]
}

Response

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

[
  {
    "pkStockItemId": "f078d2ef-08a9-40d9-bc27-fc7ff1189b63",
    "StockItemLevels": [
      {
        "Location": {
          "StockLocationId": "63e2975e-300c-4851-a03e-9091ad3eaa39",
          "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.7176937+03:00",
        "LastUpdateOperation": "sample string 10",
        "rowid": "38e87579-8599-44a0-a423-d0b070fd44e7",
        "PendingUpdate": true,
        "StockItemPurchasePrice": 13.1,
        "StockItemId": "aa7e0a7f-183a-4067-a11d-0b7ec8ea9c77",
        "StockItemIntId": 15
      }
    ]
  }
]