Create Booking Link
create_booking_linkFull Description
Generates a direct booking link to reservation.barcelo.com. Does NOT process any payment — it opens the booking page with pre-filled parameters for the user to complete.
Required: hotel_id (from search_hotels), start_date and end_date (YYYY-MM-DD), adults (number of guests). hotel_name: the human-readable hotel name (e.g. 'Barceló Torre de Madrid'). hotel_image: the hotel image URL from the previous search result. room_name: name of the selected room type (e.g. 'Deluxe Room City Views'). total_price: total stay price from the availability result. Always pass hotel_name, hotel_image, room_name and total_price from the previous results.
Optional: children, children_ages (comma-separated, e.g. '4,8'), rooms (default 1).
Auto-inferred from user context (do NOT ask):
- locale: 'es-es', 'en-gb', 'en-us', 'fr-fr', 'de-de', 'es-mx'
- country: 'es', 'gb', 'us', 'fr', 'de', 'mx'
- currency: 'EUR', 'GBP', 'USD', 'MXN'
Parameters (4 required, 10 optional)
adultsintegerend_datestringhotel_idstringstart_datestringchildreninteger0children_agesstringnullcountrystringescurrencystringEURhotel_imagestringhotel_namestringlocalestringes-esroom_namestringroomsinteger1total_pricenumber0