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.

Get

Endpoint URL

This is an example of the request structure. Results will vary depending on your data.

GET https://eu-ext.linnworks.net/api/Stock/GetStockLevel_Batch?request=%7B%0D%0A%20%20%22StockItemIds%22%3A%20%5B%0D%0A%20%20%20%20%226eceaaeb-3880-43e7-8c0f-177a5dad1c49%22%0D%0A%20%20%5D%0D%0A%7D

Headers

Connection: keep-alive
Accept: application/json
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

Post

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": [
    "6eceaaeb-3880-43e7-8c0f-177a5dad1c49"
  ]
}

Response

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

[
  {
    "pkStockItemId": "f130bd3f-f752-4c91-9095-06c07de84e1b",
    "StockItemLevels": [
      {
        "Location": {
          "StockLocationId": "ee303909-e645-45e3-ab18-4a72bd5262ae",
          "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-01-13T12:45:46.1955048+00:00",
        "LastUpdateOperation": "sample string 10",
        "rowid": "e6b21a20-9c32-4bbd-9d7b-ec0af97e4c99",
        "PendingUpdate": true,
        "StockItemPurchasePrice": 13.1,
        "StockItemId": "f5db5173-eb63-4b31-8703-5bc1fac2114e",
        "StockItemIntId": 15
      }
    ]
  }
]