Get a booking link
book_linkRead-only
The link that hands the traveller to the hotel's own booking page for a stay, optionally for one offer from get_rates (its id, and total.minor and total.currency as get_rates gave them, so the price is re-checked when they click). Nothing is booked, held or paid here: the traveller books and pays on the hotel's page. Never call it a confirmed booking.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hotel | Yes | The hotel id from search_hotels or resolve_hotel, or the hotel's website domain. | |
| offer | No | The offer's id from get_rates; leave out to open the hotel's booking page for the stay. | |
| total | No | With offer: total.minor from get_rates, the whole-stay total in minor units. | |
| guests | Yes | Number of adult guests. | |
| nights | Yes | Number of nights, 1 or more. | |
| checkin | Yes | Check-in date, YYYY-MM-DD. | |
| currency | No | With offer: total.currency from get_rates, such as JPY. |