onBookingCanceled( )


An event that fires when a booking is canceled.

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?