onBookingCanceled( )


Deprecated

This method is deprecated.

Deprecated. The onBookingCanceled event has been deprecated and will be removed on June 30, 2026. Use the Bookings V2 Booking Canceled SDK event instead.

The onBookingCanceled() event handler runs when a booking is canceled.

The event object includes a trigger property that describes the action that triggered the event. The trigger value is one of:

  • "OWNER_CANCELED": The booking was canceled by the business.
  • "MEMBER_CANCELED": The booking was canceled by the member.

Note: Backend events don't work when previewing your site.

Method Declaration
Copy
Method Parameters
eventBookingEventRequired

Information about a canceled booking.

Did this help?