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": [
    "26ab3d00-39b7-43a5-a496-bb7690bd9c97"
  ]
}

Response

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

[
  {
    "pkStockItemId": "42cde79d-3dcf-4190-a994-475eaaf60d9b",
    "StockItemLevels": [
      {
        "Location": {
          "StockLocationId": "30edc926-c69c-441d-a4f4-c13ad034b76a",
          "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.0708549+00:00",
        "LastUpdateOperation": "sample string 10",
        "rowid": "d0d38cf9-9de1-4783-b68f-08b751d2668f",
        "PendingUpdate": true,
        "StockItemPurchasePrice": 13.1,
        "StockItemId": "91873443-b12b-4473-b9ea-c1c59fa3fa0b",
        "StockItemIntId": 15
      }
    ]
  }
]