An event that fires when a booking request is confirmed.
The onBookingConfirmed()
event handler runs when a new booking request is confirmed.
The event
object includes a trigger
property that describes the action that triggered the event.
The trigger
value is one of:
"BOOKING_AUTO_CONFIRMED"
: A new booking was made for a service that is configured for automatic confirmation."OWNER_CONFIRMED_BOOKING_REQUEST"
: A booking was confirmed by the business."OWNER_BOOKED"
: The owner made a booking directly from the calendar.Note: Backend events don't work when previewing your site.
Information about a confirmed booking.