Hotel

Authentication

See Editions for the integration method, common parameters, and payment rules. The merchant mini program opens the corresponding H5 page in a WebView and passes the authentication parameters assigned during channel activation.

Routes

Page Route Parameter Required Value
Home /index
Hotel list /hotel/list/${cityRef}?checkIn=${checkIn}&checkOut=${checkOut}&adults=${adults}&type=${type}&text=${text}&keyword=${keyword} cityRef Yes Address ID; a city ID when type=city, or a Google address ID when type=googleMapPlace
checkIn No Check-in date, YYYY-MM-DD
checkOut No Check-out date, YYYY-MM-DD
adults No Number of adults
type No city or googleMapPlace
text No Address text when type=googleMapPlace
keyword No List search keyword
Hotel details /hotel/detail/${id} id Yes Hotel ID
Order list /order/list
Order details /order/detail/${id} id Yes Order ID