The Booking option object

The Booking option object

Results include a short form of this object — price, provider, flags. Details fills in providerUrl, bag fees, cabin amenities, and branded fare families. cabin values match the search field (economy, premiumEconomy, business, first).

Attributes

providerCodestring

IATA code of the seller.

providerUrlstring

Booking link on the seller’s site. Open it as returned.

providerDomainstring

Host of providerUrl.

pricenumber

Per-person fare in the country’s native currency.

currencystring

ISO 4217 code of that country’s native currency.

formattedPricestring

Per-person fare, formatted.

totalPricenumber

Fare for the whole party.

formattedTotalPricestring

Whole-party fare, formatted.

bagFeesobject

Carry-on and checked-bag policy for this fare.

carryOnobject

Carry-on policy for this fare.

statusstring

included, fee, or unavailable.

pricenumber

Fee amount when status is fee.

labelstring

Short display label.

checkedobject

Checked-bag fees.

firstBagobject

First checked bag: status and price.

secondBagobject

Second checked bag: status and price.

disclosuresarray of strings

Carrier-written size or weight notes.

policyarray of objects

Structured bag types with dimension restrictions.

segmentFaresarray of objects

Cabin and onboard amenities per segment.

cabinstring

Cabin of this segment: economy, premiumEconomy, business, or first.

qualityarray of objects

Amenity rows. type is one of aircraft, wifi, entertainment, power, seat, food.

badgesarray of strings

Highlights such as direct or freeCancellation.