Overview

The Cancel API allows you to cancel an existing booking. If you have a multi-room booking, you can cancel each room separately or cancel the entire booking altogether. Additionally, you can retrieve the cancellation status and the cancellation details from the supplier.

For a seamless experience, we have provided two use cases for you to try out, namely a per-booking pricing model use case and a per-room pricing model use case. You must verify the values returned for the perRoomCancellable and onlineCancellable fields in the Get Rate Rules API response. You can only cancel a booking or a room if the onlineCancellable field returned true in the Get Rate Rules API response. Additionally, you can only use the Cancel - Per Room use case if the perRoomCancellable field returned true in the Get Rate Rules API response.

The Cancel API endpoint is https://usg.cnxloyalty.com/api/hotels/cancel.

Cancel - Per Booking

This is a sample booking scenario where the Book - Per Booking call was made earlier and you now want to cancel the booking. Note that there is only one Cancel API and this scenario is created to specifically give an example of how you can perform a per-booking type of cancellation.

Cancel - Per Room

This is a sample booking scenario where the Book - Per Room call was made earlier and you now want to cancel the booking. Note that there is only one Cancel API and this scenario is created to specifically give an example of how you can perform a per-room type of cancellation.

<< Go to the previous API: Book API     |      Go to Reference Reads page >>

For any query or suggestions, feel free to drop an email to support@one-connect.io