Search.../

onBookingNumberOfParticipantsUpdated( )

Developer Preview

Triggered when the number of participants is updated.

Syntax

function wixBookings_onBookingNumberOfParticipantsUpdated(event: BookingNumberOfParticipantsUpdated): void

onBookingNumberOfParticipantsUpdated Parameters

NAME
TYPE
DESCRIPTION
event
Optional
BookingNumberOfParticipantsUpdated

Returns

This function does not return anything.

Return Type:

void

Was this helpful?

onBookingNumberOfParticipantsUpdated example

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