A backend event that fires when a Wix event ends.
The onEventEnded()
event handler runs when a Wix event ends.
The received EndedEvent
object contains information about the ended event.
Note: Backend events are not fired when previewing your site.
function onEventEnded(event: EndedEvent): void;
Information about the event that has ended.
// Place this code in the events.js file
// of your site's Backend section.
// Add the file if it doesn't exist.
export function wixEvents_onEventEnded(event) {
let eventId = event.eventId;
let title = event.title;
}
/* Full event object:
* {
* "timestamp": "2020-04-26T13:57:50.699Z",
* "eventId": "46dc2337-d725-4f7e-a0ae-a94a9a1f0c0b",
* }
*/
A backend event that fires when a Wix event's reminders are sent.
The onEventReminder()
event handler runs when a Wix event is set to have a reminder
and the time of the reminder arrives.
The received EventReminder
object contains information about the event.
Configure when the reminder is sent in the site dashboard.
Note: Backend events are not fired when previewing your site.
Information about the event that the reminder was sent for.
A backend event that fires when a Wix event starts.
The onEventStarted()
event handler runs when a Wix event starts.
The received StartedEvent
object contains information about the started event.
Note: Backend events are not fired when previewing your site.
Information about the event that has started.
A backend event that fires when an existing Wix event is updated.
The onEventUpdated()
event handler runs when an existing Wix event is updated.
The received UpdatedEvent
object contains information about the event that was updated.
Note: Backend events are not fired when previewing your site.
Information about the event that was updated.
A backend event that fires when a ticket order is confirmed.
The onOrderConfirmed()
event handler runs when a ticket order is confirmed.
The received OrderConfirmedEvent
object contains information about the confirmed ticket order.
Note: Backend events are not fired when previewing your site.
Information about the ticket order that was confirmed.
A backend event that fires when a ticket order is deleted.
The onOrderDeleted()
event handler runs when a ticket order is deleted.
The received OrderDeletedEvent
object contains information about the deleted order.
Note: Backend events are not fired when previewing your site.
Information about the ticket order that was deleted.
A backend event that fires when a ticket order is initiated.
The onOrderInitiated()
event handler runs when a ticket order is initiated.
The received OrderInitiatedEvent
object contains information about the initiated ticket order.
Note: Backend events are not fired when previewing your site.
Information about the ticket order that was initiated.
A backend event that fires when a ticket order is updated.
The onOrderUpdated()
event handler runs when a ticket order is updated.
The received OrderUpdatedEvent
object contains information about the updated ticket order.
Note: Backend events are not fired when previewing your site.
Information about the ticket order that was updated.
A backend event that fires when a ticket reservation is created.
The onReservationCreated()
event handler runs when a ticket reservation is created.
The received ReservationCreatedEvent
object contains information about the created reservation.
Note: Backend events are not fired when previewing your site.
Information about the ticket reservation that was created.