latestOpenAPI 3.1.02026-08-10390815.4 KB
e5f3dccae7ca
Common/locations
Cities
This endpoint returns a list of city codes and their names in the selected languages. The cities returned may be filtered by a location id. For example, you can get the list of cities in The Netherlands by passing: {"country":"nl"}. To get the full list call the endpoint passing an empty body. The city codes returned are what is used as input and output for other endpoints. This endpoint implements pagination of the results.
post/common/locations/cities
Headers
X-Affiliate-Idinteger required
Include here your Affiliate identifier number
Request body
Example request
{
"airport": "AMS",
"country": "nl",
"languages": [
"en-us"
]
}Response
Successful response.