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

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": "d5e50ed0-d309-406c-922b-c6dd329ebaad",
  "StockLocationId": "2a6050cb-2eaa-483e-80d5-6f0872e27ee3",
  "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": "8c5c9d90-449e-4341-bb14-26f6b42f5885",
    "BatchNumber": "sample string 5",
    "ExpiresOn": "2022-03-09T13:04:14.6631985+00:00",
    "SellBy": "2022-03-09T13:04:14.6631985+00:00",
    "Inventory": [
      {
        "BatchInventoryId": 1,
        "BatchId": 2,
        "StockLocationId": "dcfd44b0-a0c7-468c-8128-b22f83372f12",
        "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
  }
]