What do you need to start?

You need to finish building the basic booking flow before using this guide.

Seat selection is not available for all airlines, so you may need to use an offer from an airline that supports seat selection to follow along with this guide.

Overview

This guide will walk you through how to select a seat for your passengers when booking flights.

The seat selection process happens in 4 steps:

  1. Search for offers

  2. Request seat maps for an offer

  3. Turn the Seat Maps API response into a visual seat map

  4. Create an order with the selected seat

1. Search for offers

You need to request offers to search for flights, after which we will return a list of available offers.

2. Request seat maps for an offer

You then need to request seat maps for the selected offer.

3. Turn the Seat Maps API response into a visual seat map

Then you may need to interpret the seat map data returned in the API to make a visual seat map, so your customers can see the available seats and their prices (some airlines may offer free seat selection), and pick a seat that meets their needs.

4. Create an order with the selected seat

When creating an order with the selected seat, you need to include the price of seat selection into the total price of the offer.