| cls | No | Booking class. FA = F, A (First Elite, 300%); CJ = C, J (Business Elite, 200%); ID = I, D (Business Comfort, 175%); R = R (Business Classic, 125%); P = P (Business Lite, 75%); HBY = H, B, Y (Economy Comfort, 100%); SVLMK = S, V, L, M, K (Economy Convenience, 75%); OTQN = O, T, Q, N (Economy Classic, 50%); G = G (Economy Group, 50%); W = W (Economy Lite, 25%). The letter on your ticket. The percentage is of the distance flown. | HBY |
| segs | Yes | The flights, one way and in order, one entry per flight (1 to 8): fromCountry and toCountry, the ISO 3166 two-letter country codes of its two airports; miles, its great-circle distance in miles (1 to 12,500); optional from and to, the IATA codes of its two airports, which label the breakdown; some airlines also use them (Vladivostok, VVO, on JAL and ANA; the Madrid-Barcelona Air Shuttle, MAD-BCN, on Iberia; the long-haul tables named by city on SAS). | |
| trip | No | Trip. ow = One way; rt = Round trip. Round trip counts the same flights back the other way. | ow |
| status | No | Your Privilege Club tier. BU = Burgundy; SI = Silver (+25% flown); GO = Gold (+75% flown); PL = Platinum (+100% flown). The tier bonus is paid on flights marketed and operated by Qatar Airways. | BU |
| creditTo | No | Credit the flights to a partner program instead of Qatar Airways's own: american = American AAdvantage (creditStatus one of: AAdvantage member, AAdvantage Gold, AAdvantage Platinum, AAdvantage Platinum Pro, AAdvantage Executive Platinum); alaska = Atmos Rewards (creditStatus one of: Atmos Rewards member, Atmos Silver, Atmos Gold, Atmos Platinum, Atmos Titanium); ba-club = British Airways Club (creditStatus one of: Blue, Bronze, Silver, Gold). Earns by each flight's distance and the booking class at the program's published partner rates; leave creditTo out for the airline's own program. The booking class is cls (or creditClass). The flights are segs (their miles), or creditFlights. | |
| creditClass | No | The booking class letter for creditTo, when it differs from the class question. Ignored without creditTo. | |
| creditStatus | No | Your status in the creditTo program, by its name as listed under creditTo. Defaults to the base level. Ignored without creditTo. | |
| creditFlights | No | The flights for creditTo: one entry per one-way flight, in order, with its great-circle miles (calculate_flight_distance gives them) and optionally from/to airport codes. Defaults to segs when they carry miles. | |