Sandbox keys reach the airlines’ test systems: nobody flies on these orders and no booking fee is charged. Check status and tickets[], not the HTTP code.
Seat map for an order
The seat map of a booked flight, priced for the travellers on the order.
/v1/orders/{orderID}/seatsRequires X-API-KeyThe seat map of a booked flight, priced for the order's travellers. This is the catalogue POST /v1/orders/{orderID}/seats buys from.
segment_id returns one flight's map (an unknown one is 404 seat_map_segment_not_found with segments_available); loyalty prices status benefits in. A closed order is 409.
Request example
curl --request GET \
--url https://api.norba.io/v1/orders/{orderID}/seats \
--header "X-API-Key: $NORBA_KEY"Response example
{
"flight_id": "SEG-2",
"airline": "AA",
"aircraft": "777",
"rows": 24,
"seats": [
{
"seat_id": "17A",
"row": 17,
"column": "A",
"cabin": "Economy",
"available": true,
"price": {
"amount": 23,
"currency": "EUR"
},
"features": [
"window",
"extra_legroom"
],
"segment_id": "SEG-2"
}
]
}Path parameters
orderIDstringRequiredCanonical order ID.
AA001Y1XD7ZA6Query parameters
loyaltystringFrequent-flyer accounts, AIRLINE:NUMBER.
AA:1234567segment_idstringOne flight of the itinerary. Recommended unless the trip is a single non-stop.
SEG-2Error codes
404order_not_found, or seat_map_segment_not_found with segments_available.
409illegal_transition — a closed order has no seats to choose.
501this airline does not support seat map qualifiers — segment_id or loyalty on a carrier that cannot honour them.
502The airline could not produce a seat map.