> ## Documentation Index
> Fetch the complete documentation index at: https://developers.ttool.travel/llms.txt
> Use this file to discover all available pages before exploring further.

# Enumerations

> Every enum, with its string name and numeric value.

Requests accept either the name or the number. Responses always use the name, except the integer `gender` and `docType` fields in the [issue](https://developers.ttool.travel/api-reference/issue.md) response.

| Enum | Values |
| - | - |
| `FlightType` (`tripType`, `flightType`) | `OneWay` (1), `RoundTrip` (2). `MultiDestination` (3) is rejected in this release. |
| `CabinType` | `Economy` (1), `Business` (2), `First` (3), `PremiumEconomy` (4) |
| `PlaceType` | `AirportCode` (0), `CityCode` (1) |
| `PassengerType` | `Adult` (1), `Child` (2), `Infant` (3) |
| `PassengerGender` | `Male` (1), `Female` (2) |
| `PassengerDocType` | `Passport` (1), `NationalCode` (2) |
| `FareType` | `Default` (0, provider didn't classify it), `Published` (1), `Negotiated` (2), `Corporate` (3), `Promotional` (4), `Private` (5) |
| `weightUnit` (baggage) | `KG`, `LB` |

## Order status

Returned by [create order](https://developers.ttool.travel/api-reference/book.md), [issue](https://developers.ttool.travel/api-reference/issue.md) and [order status](https://developers.ttool.travel/api-reference/get-order.md).

| `status` | Meaning |
| - | - |
| `Submit` | Order created; nothing booked, nothing paid |
| `OnHold` | Created with `holdOnly`; PNR held, waiting for issue or cancel-hold |
| `Reserved` | Seats booked during issue, not yet paid |
| `HoldExpired` | The hold deadline passed; the PNR was released |
| `HoldCancelled` | Released with cancel-hold |
| `PaymentSucceeded` | Paid, ticketing about to start |
| `IssueInProgress` | Paid, ticketing running |
| `IssuedSucceeded` | Paid and ticketed |
| `OfflineIssueRequired` | Paid; our operations team tickets manually |
| `IssueFailed` | Paid; the airline rejected ticketing |
| `PaymentFailed` | Payment didn't complete |

## Issue response codes

| Field | Values |
| - | - |
| `tickets[].gender` | `1` male, `2` female |
| `tickets[].docType` | `1` passport, `2` national id |
| `tickets[].paxType` | `ADT`, `CHD`, `INF` |

## Fare brand services

| `services[].inclusionType` | Meaning |
| - | - |
| `0` | Not available |
| `1` | Included |
| `2` | Available for a fee |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.