bookings

Create Sparse Flight Booking

Create a flight booking from user-described sparse fields.

post/bookings/flight/sparse

Request body

airline_codestring nullable
origin_airportstring required
destination_airportstring required
departure_datestring date required
return_datestring date nullable
cash_currencystring nullable
num_passengersinteger
cabin_class'economy' | 'premium_economy' | 'business' | 'first'

Aircraft cabin class.

conv_trip_idstring uuid nullable

Brain trip document UUID from conversation card

Response

Successful Response

idstring uuid required
user_idstring uuid required
statusstring required
confirmation_codestring nullable required
created_atstring date-time required
updated_atstring date-time required
is_axel_bookedboolean

True if booked through Axel (booking_channel='axel')

booking_channelstring nullable
booking_providerstring nullable
originstring nullable
origin_citystring nullable
destinationstring nullable
destination_citystring nullable
departure_datestring date nullable
departure_timestring date-time nullable
arrival_timestring date-time nullable
is_round_tripboolean
cabin_classstring nullable
airline_codestring nullable
airline_namestring nullable
travelersstring[]

Traveler names

is_award_bookingboolean

Changes

No recorded changes to this endpoint across all 1 revision of this API.