Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Orders /GetOrderItemBatchsByOrderId

Allows 150 calls per minute

Response: List<OrderItemBatch>



Get a list of order item batch information for the specified order

Parameters

NameTypeDescription
parametersOrderItemBatchInfoMade up of pkOrderId

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/Orders/GetOrderItemBatchsByOrderId

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.

parameters={
  "pkOrderId": "9329ed32-f859-4264-ae31-77f07b90a83b"
}

Response

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

[
  {
    "OrderItemBatchId": 1,
    "OrderItemRowId": "7fb5dc02-0c06-4c26-9b9b-a09e75201ab6",
    "BatchInventoryId": 3,
    "Quantity": 4,
    "Batch": {
      "BatchId": 1,
      "SKU": "sample string 2",
      "InventoryTrackingType": 3,
      "StockItemId": "d82b8d8b-13a0-4b16-b84e-8d7435c38e7f",
      "BatchNumber": "sample string 5",
      "ExpiresOn": "2022-09-05T15:10:05.0750383+03:00",
      "SellBy": "2022-09-05T15:10:05.0750383+03:00",
      "Inventory": [
        {
          "BatchInventoryId": 1,
          "BatchId": 2,
          "StockLocationId": "fb672333-57ca-43c9-ab11-819f03037f04",
          "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
    },
    "DespatchUnitValue": 0.0,
    "AssignmentType": 0
  }
]