Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

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

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": [
    "15a39c76-c7f5-40e5-89b6-2659ca781b9b"
  ]
}

Response

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

[
  {
    "pkStockItemId": "af002b13-7b5f-4008-b763-d96db8c3b51b",
    "StockItemLevels": [
      {
        "Location": {
          "StockLocationId": "3eaa2242-2317-4def-b91f-19b2a6096784",
          "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.82735+01:00",
        "LastUpdateOperation": "sample string 10",
        "rowid": "f87e174b-1c97-402a-9baa-a60335eca4a7",
        "PendingUpdate": true,
        "StockItemPurchasePrice": 13.1,
        "StockItemId": "9d399634-dfdd-4d92-a24b-40b3188abfc9",
        "StockItemIntId": 15
      }
    ]
  }
]