Create a new city

Create a new city with its supported verticals. The city ID must be unique, and the city code must also be unique. This endpoint validates all required fields and formats before creating the city. **Validation Rules:** - id: lowercase letters, numbers, and hyphens only - cityCode: uppercase letters and underscores only - iataCode: exactly 3 uppercase letters - scope: must include at least one valid vertical

Request

This endpoint expects an object.
idstringRequired

Unique city identifier (lowercase with hyphens)

namestringRequired
City name
scopelist of "RESTAURANT" or "EXPERIENCE" or "HOTEL"Required
Supported verticals for this city
cityCodestringRequired

City code (uppercase with underscores)

iataCodestringRequired

Airport IATA code (3 uppercase letters)

countrystringRequired
Country name
mediastring or nullOptional
isActivebooleanOptionalDefaults to true
Whether the city is active

Response

This endpoint returns an object.
object
OR
object