Search.../

onServiceOptionsAndVariantsCreated( )

Developer Preview

Triggered when a serviceOptionsAndVariants object is created by cloning from the source object.

Syntax

function wixBookingsCatalog_onServiceOptionsAndVariantsCreated(event: ServiceOptionsAndVariantsCreated): void

onServiceOptionsAndVariantsCreated Parameters

NAME
TYPE
DESCRIPTION
event
Optional
ServiceOptionsAndVariantsCreated

Returns

This function does not return anything.

Return Type:

void

Was this helpful?

onServiceOptionsAndVariantsCreated example

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