Event

An event represents a scheduled activity or occasion. You can create ticket types for the event with EventTicketType.

PropertyTypeDefaultDescriptionExample
id*string (UUIDv4)Unique identifier"bd4a0997-39db-41d9-883a-cdfa83e2101f"
createdAtdateCreation timestamp of the event"2024-01-15T09:30:00.000Z"
masterLanguagestringMaster language of the event"en"
name*stringName of the event"Summer Festival 2024"
descriptionstringDescription of the event"Annual summer celebration with music and activities"
startDatedateStart date and time of the event"2024-07-01T14:00:00.000Z"
endDatedateEnd date and time of the event"2024-07-03T22:00:00.000Z"
parentEventIdstring (UUIDv4)If it is part of a series, then it will have a parent event id"bd4a0997-39db-41d9-883a-cdfa83e2101f"
publishedbooleanfalseWhether the event is publicly visible. This flag is considering also planned functionality.true
publishedAtdateThis is optional, since the event can be published right away. But there might be a date in the future or past. So if published is set to true, then it is published. Otherwise there might be info in this field on when the event will be published"2024-01-15T09:30:00.000Z"
imageIdstring (UUIDv4)nullID of an image associated with the event"bd4a0997-39db-41d9-883a-cdfa83e2101f"
translationsarray[]A list of translation objects EventTranslation for the object[{ language: "da", title: "Sommerfestival 2024", description: "Årlig sommerfest..." }]
enableTicketsbooleanfalseWhether tickets can be issued for this eventtrue
ticketTypesarray[]A list of ticket types (EventTicketType) associated with this event[{ id: "bd4a0997-39db-41d9-883a-cdfa83e2101f", title: "General Admission" }]
onSalebooleantrueA convenience field where you can check whether the event is on sale or not. The workspace is able to set all kind of rules for when the sale will start and finish and this field will dynamiccally update and take those settings into consideration
saleStartsAtdateThis field is optional and might include a date for when the sale starts for this event
saleEndsAtdateThis field is optional and might include a date for when the sale will end for this event
soldOutbooleanfalseWhether all tickets for this event have been sold. It takes max capacities into consideration for all ticket types and for the overall event.true

EventTranslation

An EventTranslation contains translated fields for the event object.

PropertyTypeDefaultDescriptionExample
language*string (ISO 639-1)Language code for the translation"da"
namestringnullSee description of field in Event"Sommerfestival 2024"
descriptionstringnullSee description of field in Event"Årlig sommerfest..."

EventTicketType

An EventTicketType represents a type of ticket that can be issued for an event.

PropertyTypeDefaultDescriptionExample
id*string (UUIDv4)Unique identifier"bd4a0997-39db-41d9-883a-cdfa83e2101f"
masterLanguagestringMaster language of the event"en"
name*stringName of the ticket type"General Admission"
descriptionstringDescription of the ticket type"Standard entry ticket"
pricenumbernullPrice of ticket in lowest unit. Cents for EUR, USD etc. 0 = FREE2500
maxQuantitynumbernullMaximum number of tickets of this type that can be issued. Null means unlimited.1000
translationsarray[]A list of translation objects EventTicketTypeTranslation for the object[{ language: "da", title: "Standard billet", description: "Standard adgangsbillet" }]
availableQuantitynumberNumber of tickets still available for purchase850
soldOutbooleanfalseWhether all tickets of this type have been soldtrue
addOnbooleanfalseWhether this ticket type is an add-on. This ticket type cannot be used as admittance to the eventtrue
publishedbooleanfalseWhether this ticket type is publicly visibletrue

EventTicketTypeTranslation

An EventTicketTypeTranslation contains translated fields for the event ticket type object.

PropertyTypeDefaultDescriptionExample
language*string (ISO 639-1)Language code for the translation"da"
titlestringnullSee description of field in EventTicketType"Standard billet"
descriptionstringnullSee description of field in EventTicketType"Standard adgangsbillet"
Previous
Transaction
Next
List Customers