Marketing Hotel Collections Endpoint
Fetches curated hotel collections for marketing and discovery sections.
- Endpoint:
/api/v1/tourmind/hotel-collections - Method:
GET
Headers
| Header | Value | Required | Description |
|---|---|---|---|
Partner-Access-Token | Base64 String | Yes | Your encrypted AES-256 time-sensitive token. |
X-Currency | Currency Code | Yes | Requested currency code, e.g. THB or MMK. |
Accept | application/json | Yes |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
collection | String | Optional | Collection name. Supported examples: Top Luxury 5-star Hotels, Top Rating Hotels, Budget-friendly Properties Worldwide. |
limit | Integer | Optional | Maximum number of hotels to return. |
Sample Response
{
"result": 1,
"message": "success",
"data": [
{
"collection": "Top Rating Hotels",
"hotels": [
{
"hotel_code": 18949601,
"hotel_name": "Novotel Bangkok Future Park Rangsit",
"slug": "novotel-bangkok-future-park-rangsit-18949601",
"collection": "Top Rating Hotels",
"country_code": "TH",
"country_name": "Thailand",
"city": "Bangkok (and vicinity)",
"star_rating": null,
"address": "PAHOLYOTHIN ROAD, PRACHATHIPAT",
"latitude": 14.03738,
"longitude": 100.6687,
"main_image": null,
"background_image": null,
"price": 270000,
"currency": "MMK",
"original_price": 2000,
"original_currency": "THB"
}
]
}
]
}
Response Fields
| Field | Type | Description |
|---|---|---|
collection | String | Collection name. |
hotels | Array | Hotels in the collection. |
price | Number | Display price in requested currency. |
currency | String | Requested/display currency. |
original_price | Number | Original base price. |
original_currency | String | Original base currency. |