Retrieve an order item
GET /v2/orderItems/<orderItemRef>
Retrieves an order item.
RequestResponse
curl -X GET '<baseURL>/v2/orderItems/d680c9be-4c07-4731-857e-9602034b15f2' \
-u '<username>:<password>' \
-H 'Accept: application/json'
RequestResponse
{
"href": "<baseURL>/v2/orderItems/d680c9be-4c07-4731-857e-9602034b15f2",
"ref": "d680c9be-4c07-4731-857e-9602034b15f2",
"createdAt": "2024-07-10T18:20:55.554Z",
"modifiedAt": "2024-08-21T16:00:51.882Z",
"type": "FLIGHT",
"productId": "DUB-LAS",
"quantity": 1,
"price": 100.00,
"currencyCode": "EUR",
"originalPrice": 112.00,
"originalCurrencyCode": "USD",
"referenceId": "B94TXY",
"status": "PURCHASED",
"passengerTypeCode": "ADT",
"flightSegments": [{
"id": "1234",
"origin": "DUB",
"destination": "LHR",
"originDestination": "DUB-LHR",
"departureDateTime": "2024-08-15T16:00:00.000Z",
"arrivalDateTime": "2024-08-15T17:30:00.000Z",
"fareClass": "Economy",
"fareFamily": "Plus",
"bookingClass": "Y",
"carrier": "BX",
"flightNumber": "459",
"operatingCarrier": "BX",
"operatingFlightNumber": "1459"
},
{
"id": "1235",
"origin": "LHR",
"destination": "LAS",
"originDestination": "LHR-LAS",
"departureDateTime": "2024-08-15T19:00:00.000Z",
"arrivalDateTime": "2024-08-15T21:30:00.000Z",
"fareClass": "Economy",
"fareFamily": "Plus",
"bookingClass": "Y",
"carrier": "BX",
"flightNumber": "460",
"operatingCarrier": "BX",
"operatingFlightNumber": "1460"
}],
"order" : {
"href": "<baseURL>/v2/orders/056621C2-C955-492D-B7EE-C77C6BDDFDEE"
}
}