Lock hotel rate and get checkout link
post_rates_prebookOverview
Locks the chosen hotel rate and returns the final price, cancellation terms and a checkout link on MAQAMI's website.
When to Use
When the customer has chosen a hotel, room, dates and guests and reviewed the price and cancellation terms.
Quick Start
Pass the offerId from post_hotels_rates exactly as it was returned.
What You Get
prebookId - The locked rate
Final price and cancellation terms - For the customer to review
checkoutUrl -
https://book.maqami.co/booking?prebookId=...
Payment
Bookings are paid and confirmed only on MAQAMI's website. The checkoutUrl opens checkout for this exact rate, where the customer enters guest details, pays securely and receives the confirmation. This tool takes no payment details and does not confirm the booking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offerId | Yes | The offerId from post_hotels_rates on this server, passed exactly as returned. | |
| timeout | No | ||
| bedTypeIds | No | An optional array of bed type IDs to specify preferred bed configurations for the rooms being booked. The availability of specific bed types depends on the hotel's inventory. | |
| voucherCode | No | An optional voucher code to apply discounts to the booking. The vouchers API allows creation of these discounts |