Get Airline Information
Returns the authenticated airline’s information (excluding the API token).Headers
Your airline’s API token
Response
Unique identifier for the airline
Airline name
Discord invite link for the airline
Discord server ID
When the airline was created
When the airline was last updated
Example Request
Example Response
The API token is automatically excluded from the response for security purposes.
Get Airline Products
Returns all miles products available for purchase by passengers of this airline.Headers
Your airline’s API token
Response
Returns an array of product objects:Unique identifier for the product (6-character alphanumeric)
ID of the airline offering this product
Product name
Product description (optional)
Price in miles required to purchase this product
Whether the product is currently available for purchase
When the product was created
Example Request
Example Response
Implementation
Location:apps/api/src/routes/airline.ts:17