Search...
onReservationUpdated( )
Developer Preview
Triggered when a reservation is canceled.
Syntax
function wixTableReservations_onReservationUpdated(event: ReservationUpdated): void
onReservationUpdated Parameters
NAME
TYPE
DESCRIPTION
event
Optional
ReservationUpdated
Information about the reservation that was updated and event metadata.
Returns
This function does not return anything.
Return Type:
void
Was this helpful?
onReservationUpdated example
Copy Code
12 export function wixTableReservations_onReservationUpdated(event) {3 const eventId = event.metadata.id4 const entityId = event.entity._id;5 }67