Back

Search

Search

Methods

Inventory

Orders

Stock /GetStockLevel_Batch

Response: List<GetStockLevel_BatchResponse>



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

Parameters

NameTypeDescription
requestGetStockLevel_BatchRequestMethod request parameters

HTTP Endpoint

Server /Stock / GetStockLevel_Batch

Permissions


Example Code

Example Request

The following request format is required for this method.

POST https://eu-ext.linnworks.net//api/Stock/GetStockLevel_Batch HTTP/1.1
Host: eu-ext.linnworks.net
Connection: keep-alive
Accept: application/json, text/javascript, */*; q=0.01
Origin: https://www.linnworks.net
Accept-Language: en
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: https://www.linnworks.net/
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

request={
  "StockItemIds": [
    "2d05be56-df93-4d13-91f2-8d450c9326a1",
    "178b515d-88d4-45fc-9c98-59fdbb7c18af"
  ]
}

Response

This is an example response. Results may vary depending on your data.

[
  {
    "pkStockItemId": "20727dfc-7ecd-49fc-ad2e-7d39a4fa438f",
    "StockItemLevels": [
      {
        "Location": {
          "StockLocationId": "104447d2-e87e-47c3-a490-ce87b7934ba2",
          "LocationName": "sample string 2",
          "IsFulfillmentCenter": true,
          "LocationTag": "sample string 4",
          "BinRack": "sample string 5",
          "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": "2019-11-28T09:46:00.6551586+00:00",
        "LastUpdateOperation": "sample string 10",
        "rowid": "04240a9e-a87b-4cc5-8014-b4c7b94d55b0",
        "PendingUpdate": true,
        "StockItemPurchasePrice": 13.1,
        "StockItemId": "0774835e-335e-44f5-af65-65886d6376d6",
        "StockItemIntId": 15
      },
      {
        "Location": {
          "StockLocationId": "104447d2-e87e-47c3-a490-ce87b7934ba2",
          "LocationName": "sample string 2",
          "IsFulfillmentCenter": true,
          "LocationTag": "sample string 4",
          "BinRack": "sample string 5",
          "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": "2019-11-28T09:46:00.6551586+00:00",
        "LastUpdateOperation": "sample string 10",
        "rowid": "04240a9e-a87b-4cc5-8014-b4c7b94d55b0",
        "PendingUpdate": true,
        "StockItemPurchasePrice": 13.1,
        "StockItemId": "0774835e-335e-44f5-af65-65886d6376d6",
        "StockItemIntId": 15
      }
    ]
  },
  {
    "pkStockItemId": "20727dfc-7ecd-49fc-ad2e-7d39a4fa438f",
    "StockItemLevels": [
      {
        "Location": {
          "StockLocationId": "104447d2-e87e-47c3-a490-ce87b7934ba2",
          "LocationName": "sample string 2",
          "IsFulfillmentCenter": true,
          "LocationTag": "sample string 4",
          "BinRack": "sample string 5",
          "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": "2019-11-28T09:46:00.6551586+00:00",
        "LastUpdateOperation": "sample string 10",
        "rowid": "04240a9e-a87b-4cc5-8014-b4c7b94d55b0",
        "PendingUpdate": true,
        "StockItemPurchasePrice": 13.1,
        "StockItemId": "0774835e-335e-44f5-af65-65886d6376d6",
        "StockItemIntId": 15
      },
      {
        "Location": {
          "StockLocationId": "104447d2-e87e-47c3-a490-ce87b7934ba2",
          "LocationName": "sample string 2",
          "IsFulfillmentCenter": true,
          "LocationTag": "sample string 4",
          "BinRack": "sample string 5",
          "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": "2019-11-28T09:46:00.6551586+00:00",
        "LastUpdateOperation": "sample string 10",
        "rowid": "04240a9e-a87b-4cc5-8014-b4c7b94d55b0",
        "PendingUpdate": true,
        "StockItemPurchasePrice": 13.1,
        "StockItemId": "0774835e-335e-44f5-af65-65886d6376d6",
        "StockItemIntId": 15
      }
    ]
  }
]