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

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": [
    "72445679-8b72-4080-bac2-98e6def0cb09"
  ],
  "StockLocationId": "5e1f1d8f-ecd6-408c-bef6-4e406d469a24",
  "AvailableOnly": true
}

Response

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

{
  "InventoryItemBatchInformation": [
    {
      "StockItemId": "650d2846-a0f6-4e6f-b81c-e14defd58741",
      "ItemBatchInformation": [
        {
          "BatchId": 1,
          "SKU": "sample string 2",
          "InventoryTrackingType": 3,
          "StockItemId": "dd282bf4-e01f-4468-be49-03e83349dff6",
          "BatchNumber": "sample string 5",
          "ExpiresOn": "2022-03-09T13:04:14.6751687+00:00",
          "SellBy": "2022-03-09T13:04:14.6751687+00:00",
          "Inventory": [
            {
              "BatchInventoryId": 1,
              "BatchId": 2,
              "StockLocationId": "f2f250c9-5015-4a82-83fc-7388ff9e4f19",
              "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
        }
      ]
    }
  ]
}