Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Orders /GetAssignedOrderItemBatches

Allows 150 calls per minute

Response: List<OrderItemBatch>


Parameters

NameTypeDescription
requestGetAssignedOrderItemBatchesRequest

Example Request

The following request format is required for this method.

Endpoint URL

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

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={
  "OrderItemRows": [
    "a40dce52-c203-4a89-848e-e761b8d0501a"
  ]
}

Response

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

[
  {
    "OrderItemBatchId": 1,
    "OrderItemRowId": "330bd538-bc82-447f-8997-d6fb2188e351",
    "BatchInventoryId": 3,
    "Quantity": 4,
    "Batch": {
      "BatchId": 1,
      "SKU": "sample string 2",
      "InventoryTrackingType": 3,
      "StockItemId": "b2b106c9-246a-49cf-ab55-ffb198e6a55f",
      "BatchNumber": "sample string 5",
      "ExpiresOn": "2023-01-10T13:49:54.5121861+00:00",
      "SellBy": "2023-01-10T13:49:54.5121861+00:00",
      "Inventory": [
        {
          "BatchInventoryId": 1,
          "BatchId": 2,
          "StockLocationId": "1cef365a-1067-441f-a03a-be2911678379",
          "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
  }
]