Autocomplete Hotel Names
Fast prefix-based hotel name suggestions for typeahead UI.
### Parameters
- `q`: Search prefix (required, min 1 char)
- `countryCode`: Optional country filter
- `size`: Max suggestions (default: 10, max: 50)
### Example
`GET /v2/search/autocomplete?q=burj&size=5`
### Response
```json
{
"success": true,
"data": [
{ "id": "...", "name": "Burj Al Arab", "city": "Dubai" },
{ "id": "...", "name": "Burj Khalifa Hotel", "city": "Dubai" }
]
}
```
Query parameters
q
Search prefix (min 1 character)
countryCode
Filter by country code (e.g., AE, GB)
size
Response
This endpoint returns an object.
