post
https://book.liteapi.travel/v3.0/rates/rebook
Overview
Step 2 of 2 in the hard amendment flow. Use a prebookId produced by POST /bookings/{bookingId}/alternative-prebooks to create the replacement booking. On success, the new booking is created and the original booking is automatically cancelled — you do not need to call the cancel endpoint.
When to Use
- After alternative-prebooks — Once the guest has chosen one of the alternative prebooks returned by
POST /bookings/{bookingId}/alternative-prebooks. - Date or occupancy changes — The guest needs different check-in/check-out dates or a different number of adults/children at the same hotel.
- Hard amendments only — For simple guest-name updates use
PUT /bookings/{bookingId}/amendinstead.
How It Works
- The provided
prebookIdis validated against the booking referenced byexistingBookingId(it must have been produced by analternative-prebookscall for that booking). - The new booking is created with the supplier using the alternative rate.
- The original booking is then automatically cancelled. If the cancellation fails after the new booking is confirmed, the error is logged but the new booking is still returned — contact support to reconcile.
Payment
- No payment is collected on this endpoint. The
payment.methodvalue is ignored — the request body must still include apaymentobject to satisfy the schema, but the server forces the method toNONEinternally. Any price delta between the original and new rate is settled out of band.
Refundable vs Non-refundable Originals
- Refundable original — Returns
200 OKwith the new booking, and the original is cancelled immediately. - Non-refundable original — Returns
202 Acceptedwith a booking amendment record. The request is queued for the Nuitee operations team to handle manually (the original booking may incur cancellation fees).
Required Information
- prebookId — A prebook session returned by
POST /bookings/{bookingId}/alternative-prebooks. - existingBookingId — The
bookingIdof the original confirmed booking being replaced. Must match thebookingIdthat produced the prebook. - holder and guests — Same structure as
POST /rates/book. Ifholderfields are empty they are copied from the original booking.
Quick Start
- Call
POST /bookings/{bookingId}/alternative-prebooksand pick one of the returnedprebookIdvalues. - Call this endpoint with that
prebookId, the originalbookingIdasexistingBookingId, and guest information. - On success, the new booking is confirmed and the original is cancelled — no further calls are needed.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…