Search.../

onBookingRescheduled( )

Developer Preview

An event that's triggered when a booking is rescheduled.

Description

The onBookingRescheduled() event handler runs when a booking is rescheduled. The received BookingRescheduledEvent object contains information about the booking that was rescheduled and metadata for the event.

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

Authorization

Request

This endpoint does not take any parameters

Response Object

Returns an empty object.

Status/Error Codes

Was this helpful?

onBookingRescheduled example

Copy Code
1
2 export function wixBookings_onBookingRescheduled(event) {
3 const eventId = event.metadata.id
4 const entityId = event.data.booking._id;
5 }
6
7