Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

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

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": [
    "c149ca22-552c-4163-9c4c-7b7bbea05bcd"
  ],
  "StockLocationId": "1381e0d3-0b0a-42a1-bc1f-7a96a5a97609",
  "AvailableOnly": true
}

Response

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

{
  "InventoryItemBatchInformation": [
    {
      "StockItemId": "6c86bde3-c80b-400c-9ee9-06ff3bbe6715",
      "ItemBatchInformation": [
        {
          "BatchId": 1,
          "SKU": "sample string 2",
          "InventoryTrackingType": 3,
          "StockItemId": "3ab8a133-facf-46df-b640-5f4d0bbef435",
          "BatchNumber": "sample string 5",
          "ExpiresOn": "2021-07-29T09:24:57.3804912+01:00",
          "SellBy": "2021-07-29T09:24:57.3804912+01:00",
          "Inventory": [
            {
              "BatchInventoryId": 0,
              "BatchId": 0,
              "StockLocationId": "00000000-0000-0000-0000-000000000000",
              "BinRack": "Available",
              "PrioritySequence": 0,
              "Quantity": 0,
              "StockValue": 0.0,
              "StartQuantity": 0,
              "PickedQuantity": 0,
              "BatchStatus": "Available",
              "IsDeleted": false,
              "WarehouseBinrackStandardType": null,
              "WarehouseBinrackTypeName": "Available",
              "InTransfer": null,
              "BinRackId": null,
              "WarehouseBinrackTypeId": null
            }
          ],
          "IsDeleted": true
        }
      ]
    }
  ]
}