Search.../

onServiceOptionsAndVariantsUpdated( )

Developer Preview

Triggered when a serviceOptionsAndVariants object is updated.

Syntax

function wixBookingsCatalog_onServiceOptionsAndVariantsUpdated(event: ServiceOptionsAndVariantsUpdated): void

onServiceOptionsAndVariantsUpdated Parameters

NAME
TYPE
DESCRIPTION
event
Optional
ServiceOptionsAndVariantsUpdated

Returns

This function does not return anything.

Return Type:

void

Was this helpful?

onServiceOptionsAndVariantsUpdated example

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