bookings

Create Flight Booking By Code

Create a flight booking from a confirmation code.

post/bookings/flight/code

Request body

confirmation_codestring required
booking_providerstring required
traveler_profile_idstring uuid nullable
first_namestring nullable
last_namestring nullable
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