Event
Event created
EVENT_CREATED
Fired both asynchronously and synchronously when an Event is created
| Variable | Type | About |
|---|---|---|
event | Event | The created Event |
Validate event creation
EVENT_VALIDATE_CREATION
Fired synchronously before creating an Event. Useful to perform custom validations
| Variable | Type | About |
|---|---|---|
request | EventModification | Creation request |
Event status change
EVENT_STATUS_CHANGE
Fired both asynchronously and synchronously when an Event status changes
| Variable | Type | About |
|---|---|---|
event | Event | The Event |
status | Event.Status | updated Status |
Validate seats/prices update
EVENT_VALIDATE_SEATS_PRICES_UPDATE
Fired synchronously when a modification to prices and/or seats number is requested for an Event
| Variable | Type | About |
|---|---|---|
event | Event | The Event |
request | EventModification | Modification request |
Event metadata update
EVENT_METADATA_UPDATE
Fired synchronously when the organizer updates the metadata of an Event.
A result of type AlfioMetadata is expected. Return null if you want to fall back to default settings.
| Variable | Type | About |
|---|---|---|
event | Event | The Event |
metadata | AlfioMetadata | existing metadata. Might be null |
organization | Organization | organizer details |
baseUrl | String | The configured "Base URL" for the current organizer |
Event header updated
EVENT_HEADER_UPDATED
Fired asynchronously after the organizer has updated the main details of an Event (name, dates, location, format, …). The updated Event is available in the event variable.
| Variable | Type | About |
|---|---|---|
eventMetadata | AlfioMetadata | The metadata of the Event |
organization | Organization | Organizer details |