> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://bcdtravel.ferndocs.com/air/guides/introduction/flights-app-workflow/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://bcdtravel.ferndocs.com/_mcp/server. # Flights app workflow 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. #### Book the flight Use `book` to create the reservation. Include passenger details, payment information, and seat selections. #### Manage the reservation Use `get_reservation_details` to view the booking or `cancel` to cancel a booking. > Step-by-step workflow for building a flight booking application with the Air API.