Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Inventory /GetInventoryItemBatchInformationByIds

Allows 150 calls per minute

Response: GetInventoryItemBatchInformationByIdsResponse


Parameters

NameTypeDescription
requestGetInventoryItemBatchInformationByIdsRequest

Permissions

GlobalPermissions.Inventory.Stock.StockReadNode

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/Inventory/GetInventoryItemBatchInformationByIds

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": [
    "6bf3f7f5-f335-48ca-b469-b29d4590ec8d"
  ],
  "StockLocationId": "e0ddfb13-0dc3-4eed-bd3e-fed3aee7455f",
  "AvailableOnly": true
}

Response

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

{
  "InventoryItemBatchInformation": [
    {
      "StockItemId": "2aba4dd5-3128-44a3-8b24-bfcd94b15be7",
      "ItemBatchInformation": [
        {
          "BatchId": 1,
          "SKU": "sample string 2",
          "InventoryTrackingType": 3,
          "StockItemId": "2319a352-a5fe-473f-ad63-49e24490ac39",
          "BatchNumber": "sample string 5",
          "ExpiresOn": "2022-09-05T15:10:06.7197776+03:00",
          "SellBy": "2022-09-05T15:10:06.7197776+03:00",
          "Inventory": [
            {
              "BatchInventoryId": 1,
              "BatchId": 2,
              "StockLocationId": "182a4f0c-5e6f-4418-b723-399e3b925795",
              "BinRack": "sample string 4",
              "PrioritySequence": 5,
              "Quantity": 6,
              "StockValue": 7.0,
              "StartQuantity": 8,
              "PickedQuantity": 9,
              "BatchStatus": "Available",
              "IsDeleted": true,
              "WarehouseBinrackStandardType": 1,
              "WarehouseBinrackTypeName": "sample string 12",
              "InTransfer": 1,
              "BinRackId": 1,
              "WarehouseBinrackTypeId": 1
            }
          ],
          "IsDeleted": true
        }
      ]
    }
  ]
}