Flights app workflow
Step-by-step workflow for building a flight booking application with the Air API.
The typical flight booking application follows this workflow:
Search for flights
Use search_fares to find available flights by origin, destination, dates, and passenger count. Results include fare details and availability.
Get pricing
Use get_pricing to retrieve detailed pricing information for selected flights including taxes, fees, and fare rules.
Check availability
Use check_availability to verify real-time seat availability for the desired flight.
View fare rules and seat map
Use get_fare_rules to review cancellation and change policies. Use get_seat_map to view available seats.
Prepare for booking
Use get_checkout_data to retrieve billing, payment, and traveler information needed to complete the booking.
