Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Inventory /GetInventoryItemBatchInformation

Allows 150 calls per minute

Response: List<StockItemBatch>



Used to get the batch information of a specific item

Parameters

NameTypeDescription
RequestGetInventoryItemBatchInformationRequestDetails for the batch to be fetched

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/GetInventoryItemBatchInformation

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={
  "StockItemId": "69899339-ceca-4c86-873b-7ae912116665",
  "StockLocationId": "d4d72b43-0253-44d0-8070-e441d83233b5",
  "AvailableOnly": true,
  "AssignableOnly": true
}

Response

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

[
  {
    "BatchId": 1,
    "SKU": "sample string 2",
    "InventoryTrackingType": 3,
    "StockItemId": "63399120-e56c-441f-b6ca-84a7c815a1ec",
    "BatchNumber": "sample string 5",
    "ExpiresOn": "2023-01-10T13:49:55.291079+00:00",
    "SellBy": "2023-01-10T13:49:55.291079+00:00",
    "Inventory": [
      {
        "BatchInventoryId": 1,
        "BatchId": 2,
        "StockLocationId": "e46ab101-3adb-4841-8977-2f12485a4a68",
        "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
  }
]