Fares and products
Cabins, fare brands, fare rules, and ancillary products at /dashboard/platform/fares.
The Fares desk has four tabs. Create, edit, and change status from each tab. Mutations: CreateCabin, CreateFareBrand, CreateFareRule, CreateAncillaryProduct, and their update and status counterparts.
Cabins
A Cabin has a code, name, cabinClass (economy, premium_economy, business, first), and displayOrder. Cabin codes are unique per carrier: "A cabin with this code already exists."
Fare brands
A FareBrand belongs to a cabin and is what a traveler sees as a fare choice.
code,name,description,displayOrder,statusincludedBaggage(for example one checked bag),benefitsrefundabilitySummary,changeabilitySummary,seatSelectionSummary
Dated service requires an active fare brand. Brand codes are unique per carrier.
Fare rules
A FareRule attaches conditions to a fare brand, optionally for one route.
fareBasisPatternusing letters, digits,*and?effectiveFrom/effectiveTo,travelFrom/travelTosalesChannels,passengerTypesminimumStayDays,maximumStayDays(maximum must be at least minimum),minimumAdvancePurchaseHoursisRefundable,isChangeable,changeFeeAmount,cancellationFeeAmount,noShowFeeAmount,currencyCodestatus: draft, active, inactive, archived
Ancillary products
An AncillaryProduct has a type (seat, checked_bag, cabin_bag, priority, lounge, meal, wifi, assistance, other), a fulfillmentType (associated or standalone), defaultPriceAmount, taxAmount, currencyCode, and requiresInventory. Status is draft, active, inactive, or archived.
All amounts are integer minor units, for example cents.
Related
Schedules and flights price each dated flight with a base amount and tax amount per inventory bucket.