Recommended Hotels Endpoint
Fetches recommended hotels for discovery sections.
- Endpoint:
/api/v1/tourmind/recommended-hotels - 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 |
Sample Response
{
"result": 1,
"message": "success",
"data": [
{
"hotel_code": "757293",
"hotel_name": "Best Western Sukhumvit 20",
"slug": "best-western-sukhumvit-20-757293",
"country_code": "TH",
"country_name": "Thailand",
"city": "Bangkok",
"star_rating": 4,
"address": "17 Sukhumvit Soi 20 Klong Toey, 10110",
"latitude": 13.73275,
"longitude": 100.56394,
"main_image": "https://onlynx-asset.s3.ap-southeast-1.amazonaws.com/UAT/admins/tourmind/example.jpg",
"background_image": "https://onlynx-asset.s3.ap-southeast-1.amazonaws.com/UAT/admins/tourmind/example.jpg",
"price": 100,
"currency": "THB",
"original_price": 100,
"original_currency": "THB"
}
]
}
Response Fields
| Field | Type | Description |
|---|---|---|
data | Array | Recommended hotel list. |
hotel_code | String | Provider hotel code. |
slug | String | Hotel slug. |
main_image | String or null | Hotel image URL. |
background_image | String or null | Marketing background image URL. |
price | Number | Display price. |