v1
latestSwagger 2.02026-07-141993129.2 KBBookings
Cancel one reservation.
This request will cancel one specific reservation. It will show up in the hetras UI in the Cancellation and NoShow processing screen and it will be up to the hotel staff to either charge or waive the cancellation fee.<br /> For more details on how the API responds to errors please check our documentation on <a href="https://developer.hetras.com/docs/errors/" onfocus="this.blur()">Error Handling</a>.
post/api/booking/v0/bookings/{confirmationId}/reservations/{reservationNumber}/cancel
Path parameters
confirmationIdstring required
The confirmation id for the booking the reservation was made.
reservationNumberinteger required
Specifies the reservation number for the reservation to cancel.
Query parameters
sendConfirmationboolean
Whether to send a confirmation email to the primary guest
Headers
App-Idstring required
Application identifier
App-Keystring required
Application key.
Response
Returns the cancellation id and the cancellation fee that will be charged to the folio of the reservation.