Search.../

onReservationLocationCreated( )

Developer Preview

Triggered when a reservation location is updated.

Syntax

function wixTableReservations_onReservationLocationCreated(event: ReservationLocationCreated): void

onReservationLocationCreated Parameters

NAME
TYPE
DESCRIPTION
event
Optional
ReservationLocationCreated

Information about the reservation location that was created and event metadata.

Returns

This function does not return anything.

Return Type:

void

Was this helpful?

onReservationLocationCreated example

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