| sm | No | Qualifying Miles you have in the last 12 months (optional). Used only for the progress toward Silver and Gold. | |
| cls | No | Booking class. F = F (Royal First 250%); P = P (Royal First 200%); C = C (Royal Silk 150%); D = D (Royal Silk 150%); J = J (Royal Silk 125%); Z = Z (Royal Silk 125%); A = A (Premium Economy 110%); U = U (Premium Economy 110%); Y = Y (Economy 110%); B = B (Economy 110%); M = M (Economy 110%); H = H (Economy 100%); Q = Q (Economy 100%); T = T (Economy 100%); K = K (Economy 75%); S = S (Economy 75%); V = V (Economy 75%); G = G (Economy 50%); W = W (Economy 25%); L = L (earns nothing); O = O (earns nothing); I = I (earns nothing); X = X (earns nothing); E = E (earns nothing); N = N (earns nothing); R = R (earns nothing). The letter on your ticket. Classes L, O, I, X, E, N and R earn no miles. Z is Royal Silk (and Premium Economy Plus); A is Premium Economy for flights on or after 1 July 2026. | Y |
| 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 Royal Orchid Plus tier. RO = Member; SV = Silver; GD = Gold; PL = Platinum. Silver, Gold and Platinum get a 5%, 10% or 20% tier bonus on THAI international flights; it is explained below the result, not added. Your tier decides which tiers the progress bars show. | RO |
| creditTo | No | Credit the flights to a partner program instead of Thai Airways's own: united = United MileagePlus (creditStatus one of: General member, Premier Silver, Premier Gold, Premier Platinum, Premier 1K); aeroplan = Aeroplan (creditStatus one of: Aeroplan Member, 25K, 35K, 50K, 75K, Super Elite). 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. | |