Find alternative hotel rates
post_bookings_bookingid_alternative_prebooksSearch alternative rates at the same hotel for a confirmed booking and create prebook sessions to compare prices for changed dates or occupancy.
Instructions
Overview
Hard Amendment — Search for alternative rates at the same hotel and create prebook sessions for a confirmed booking. Used when the guest needs to change their check-in/check-out dates or room occupancy.
When to Use
Date changes — Guest needs different check-in or check-out dates
Occupancy changes — Guest needs a different number of adults or children
Hard amendments — Situations where the booking must be cancelled and re-booked with new parameters
How It Works
The system searches for live availability at the same hotel with the new parameters.
Up to
maxPrebooksalternative rates are selected (sorted by price ascending). Defaults to 3 when omitted; capped at 10 (any larger value is silently clamped to 10).A prebook session is created for each rate.
The caller receives a list of
prebookIdvalues with prices to show the guest.
What You Get
Up to
maxPrebooksprebook sessions — Each with aprebookId, final pricing, cancellation policies, and room detailsPrice comparison —
priceDifferencePercentshows how each alternative compares to the original booking's selling price (negative = cheaper than what the guest paid, positive = more expensive)Policy change flags —
cancellationChangedandboardChangedhighlight any policy differences
Key Notes
The booking must be in CONFIRMED status.
If the original booking is non-refundable, only non-refundable alternatives are returned (unless overridden with
refundableRatesOnly).The nationality and currency of the original booking are used for the availability search.
Quick Start
Call this endpoint with the
bookingIdand newoccupancies/dates — get back up tomaxPrebooksprebookIdvalues.
On this server: rebooking is not available, so use this only to show the guest alternative prices. To change a booking, cancel it if its policy allows and make a new booking, or contact MAQAMI support.
Requires the bookingId and the email used to book: the server only returns or changes a booking when they match.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The email address used to make the booking. The server checks it against the booking before returning or changing anything. | ||
| checkin | No | The new check-in date in YYYY-MM-DD format. Must be before `checkout`. | |
| checkout | No | The new check-out date in YYYY-MM-DD format. Must be after `checkin`. | |
| lastName | No | The booking holder's last name, if the customer gives it. Optional. | |
| boardType | No | Filter results by board/meal-plan type (e.g. `RO` for Room Only, `BB` for Bed & Breakfast). Leave empty to return all board types. | |
| bookingId | Yes | (Required) The unique identifier of the confirmed booking to amend. | |
| maxPrebooks | No | Maximum number of alternative prebook sessions to create. Defaults to 3 when omitted. Values above 10 are silently capped at 10; values ≤ 0 fall back to the default. The response may contain fewer entries when the hotel does not have enough distinct alternative offers. | |
| occupancies | Yes | The desired room occupancies for the amended stay. One entry per room. | |
| refundableRatesOnly | No | When true, only fully refundable alternative rates are returned. Defaults to false (or true if the original booking was refundable). |