Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

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": "fd77c6cf-e4d0-4648-b6db-f2802c89daaa",
  "StockLocationId": "7690dedd-da1e-45e4-a5e5-941205bb420d",
  "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": "e1c77642-6b12-4988-a65e-aa5f4aeddbce",
    "BatchNumber": "sample string 5",
    "ExpiresOn": "2021-07-29T09:24:57.2805019+01:00",
    "SellBy": "2021-07-29T09:24:57.2805019+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
  }
]