onOrderDeleted( )


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.

Method Declaration
Copy
Method Parameters
eventOrderDeletedEventRequired

Information about the ticket order that was deleted.

A backend event that occurs when a ticket order is deleted
JavaScript
Did this help?

onOrderInitiated( )


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.

Method Declaration
Copy
Method Parameters
eventOrderInitiatedEventRequired

Information about the ticket order that was initiated.

A backend event that occurs when a ticket order is initiated
JavaScript
Did this help?

onOrderUpdated( )


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.

Method Declaration
Copy
Method Parameters
eventOrderUpdatedEventRequired

Information about the ticket order that was updated.

JavaScript
Did this help?

onReservationCreated( )


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.

Method Declaration
Copy
Method Parameters
eventReservationCreatedEventRequired

Information about the ticket reservation that was created.

A backend event that occurs when tickets are reserved
JavaScript
Did this help?

onReservationUpdated( )


A backend event that fires when a ticket reservation is updated.

The onReservationUpdated() event handler runs when a ticket reservation is updated. The received ReservationUpdatedEvent object contains information about the updated reservation.

Note: Backend events are not fired when previewing your site.

Method Declaration
Copy
Method Parameters
eventReservationUpdatedEventRequired

Information about the ticket reservation that was updated.

A backend event that occurs when a ticket reservation is updated
JavaScript
Did this help?

onRsvpCreated( )


A backend event that fires when a guest registers to a Wix event.

The onRsvpCreated() event handler runs when a guest registers to a Wix event. The received RsvpCreatedEvent object contains information about the created RSVP.

Note: Backend events are not fired when previewing your site.

Method Declaration
Copy
Method Parameters
eventRsvpCreatedEventRequired

Information about the RSVP that was created.

A backend event that occurs when guest registers to a Wix event
JavaScript
Did this help?

onRsvpDeleted( )


A backend event that fires when an RSVP is deleted.

The onRsvpDeleted() event handler runs when an RSVP is deleted. The received RsvpDeletedEvent object contains information about the deleted RSVP.

Note: Backend events are not fired when previewing your site.

Method Declaration
Copy
Method Parameters
eventRsvpDeletedEventRequired

Information about the RSVP that was deleted.

A backend event that occurs when an RSVP is deleted
JavaScript
Did this help?

onRsvpUpdated( )


A backend event that fires when an RSVP is updated.

The onRsvpUpdated() event handler runs when an RSVP is updated. The received RsvpUpdatedEvent object contains information about the updated RSVP.

Note: Backend events are not fired when previewing your site.

Method Declaration
Copy
Method Parameters
eventRsvpUpdatedEventRequired

Information about the RSVP that was updated.

A backend event that occurs when an RSVP is updated
JavaScript
Did this help?

onTicketDefinitionCreated( )


A backend event that fires when a ticket definition is created.

The onTicketDefinitionCreated() event handler runs when a ticket definition is created. The received TicketDefinitionCreatedEvent object contains information about the created ticket definition.

Note: Backend events are not fired when previewing your site.

Method Declaration
Copy
Method Parameters
eventTicketDefinitionCreatedEventRequired

Information about the ticket definition that was created.

A backend event that occurs when a ticket definition is created
JavaScript
Did this help?

onTicketDefinitionDeleted( )


A backend event that fires when a ticket definition is deleted.

The onTicketDefinitionDeleted() event handler runs when a ticket definition is deleted. The received TicketDefinitionDeletedEvent object contains information about the deleted ticket definition.

Note: Backend events are not fired when previewing your site.

Method Declaration
Copy
Method Parameters
eventTicketDefinitionDeletedEventRequired

Information about the ticket definition that was deleted.

A backend event that occurs when a ticket definition is deleted
JavaScript
Did this help?

onTicketDefinitionUpdated( )


A backend event that fires when a ticket definition is updated.

The onTicketDefinitionUpdated() event handler runs when a ticket definition is updated. The received TicketDefinitionUpdatedEvent object contains information about the updated ticket definition.

Note: Backend events are not fired when previewing your site.

Method Declaration
Copy
function onTicketDefinitionUpdated(event: TicketDefinitionUpdatedEvent): void;
Method Parameters
eventTicketDefinitionUpdatedEventRequired

Information about the ticket definition that was updated.

A backend event that occurs when a ticket definition is updated
JavaScript
// 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_onTicketDefinitionUpdated(event) { let eventId = event.eventId; let ticketDefinitionId = event.ticketDefinitionId; } /* Full event object: * { * "timestamp": "2020-04-26T13:57:50.699Z", * "eventId": "46dc2337-d725-4f7e-a0ae-a94a9a1f0c0b", * "ticketDefinitionId": "d72874cb-012a-4ad2-afbb-57fe8cf1e308" * } */
Did this help?