Search...
onServiceCreated( )
Developer Preview
Syntax
function wixBookingsServices_onServiceCreated(event: ServiceCreated): void
onServiceCreated Parameters
NAME
TYPE
DESCRIPTION
event
Optional
ServiceCreated
Returns
This function does not return anything.
Return Type:
void
Was this helpful?
onServiceCreated example
Copy Code
12 export function wixBookingsServices_onServiceCreated(event) {3 const eventId = event.metadata.id4 const entityId = event.entity._id;5 }67