Airports
Endpoint: /v1/airports
http
GET /v1/airports HTTP/1.1
Host: sandbox.tristarexpress.com
Accept: application/json
Authorization: {{ token }}
If you need a list of airports, you can use this endpoint.
Example
http
GET /v1/airports HTTP/1.1
Host: sandbox.tristarexpress.com
Accept: application/json
Authorization: {{ token }}
Response:
json
{
"data": [
{
"id": 1,
"name": "Aeroporto Internacional de Miami",
"iata": "MIA"
},
{
"id": 2,
"name": "Aeroporto Internacional John F. Kennedy",
"iata": "JFK"
},
// ...
]
}

