Cancel API
The Cancel API is used for cancelling the reservations using the bookingId made via ZentrumHub booking API.
Cancel API Details:
HTTP: POST
Endpoint:{baseEndpoint}/api/hotel/booking/{bookingId}/cancel
FAQs
In case of a multi-room booking, can I cancel specific rooms from the booking?
No, we do not support partial booking cancellation.
Error Codes
| Error Code | Error Message |
|---|---|
| 4001 | Invalid data in request - Please refer to the fields[] for more details. |
| 4009 | Booking not found |
| 4010 | Booking is already cancelled |
| 4011 | Booking cannot be cancelled after the check-in date |
| 5005 | Cancellation pending from supplier end |
| 5000 | Your request failed due to an unknown system error. Please contact support team with the correlationId. |
| 5001 | Your request failed due to an unknown error returned by the supplier. Please contact support team with the correlationId. |
Updated over 1 year ago
What’s Next
Please visit the following link:
https://zentrumhub-hotel-api.readme.io/reference/post_api-hotel-booking-bookingid-cancel