Cancel Booking
POST /properties/{tenant_id}/bookings/{booking_id}/cancel
POST
/properties/{tenant_id}/bookings/{booking_id}/cancel
Cancel an existing booking and all its associated booking rooms. All unpaid payments will be marked as cancelled. All booking rooms will have their check-in status set to cancelled.
Scope Required: bookings:write
URL Parameters:
booking_id(required): The ID of the booking to cancel (must exist and be cancellable)
Important Notes:
- Only bookings with status that allows cancellation can be cancelled
- The booking must pass the
canCancelcheck (see Booking model) - All unpaid payments will be automatically cancelled
- All booking rooms will be marked as cancelled
- Room charges will be recalculated after cancellation
Authorizations
Phần tiêu đề “Authorizations ”Parameters
Phần tiêu đề “ Parameters ”Path Parameters
Phần tiêu đề “Path Parameters ” tenant_id
required
string
booking_id
required
string
Request Body required
Phần tiêu đề “Request Body required ” CancelBookingRequest
object
booking_id
required
string
Responses
Phần tiêu đề “ Responses ”object
Validation error
object
message
required
Errors overview.
string
errors
required
A detailed description of each field that failed validation.
object
key
additional properties
Array<string>
Bài này có giúp được bạn không?
Cảm ơn bạn. Phản hồi đã được ghi lại.
Chưa giúp được ở đâu?
Vẫn chưa xong việc?
Hỗ trợ trực tiếp 8:00–22:00 hằng ngày, kể cả cuối tuần.