The event object

Sell or give away tickets to something that happens at a set time

An event has ticket groups. Each group has ticket types such as "Early bird" and "Standard", with their own price and capacity. A customer who books gets one booking and one ticket per place.

Event
├── Questions (fields)
├── Ticket groups
│   └── Ticket types
└── Bookings
    ├── Customer
    └── Tickets, one per place, each of a ticket type

Endpoints

Fields

  • idstring

    Unique identifier. Must be in BSON ObjectId format.

  • sellerIdstring

    Unique identifier. Must be in BSON ObjectId format.

  • typestring

    Type of page.

    event
  • name?string, nullable

    Internal name of the page.

  • slug?string, nullable

    URL slug for the page.

  • statusstring

    Publication status of the page.

    publisheddraftarchived
  • testmodeboolean

    Whether the page is in test mode. While it is on, every purchase on this page is a test purchase and its records are created with livemode: false.

  • testmodeEnabledAtstring, nullable

    When test mode was switched on. null while the page is not in test mode.

    date-time

  • Images displayed on the page.

  • locale?string, nullable

    Locale the page formats prices and numbers with, for example en-US or de-DE.

  • hostedLayoutType?string, nullable

    Layout of the hosted page. center shows the content and the checkout form in one centered card on a page background, double shows them side by side in two columns, and split divides the whole page into two halves, the content on one and the checkout form on the other. double_banner is a legacy layout that can't be set through the API.

    centerdoublesplitdouble_banner
  • embedLayoutTypestring

    Layout of the page when it is embedded in a website. center shows the content and the form in one column, double side by side in two columns (one column when there is too little room). Existing embed codes and pop-up buttons pick it up on their next load.

    centerdouble
  • popupLayoutTypestring

    Layout of the page when it opens as a pop-up over a website. center shows the content and the form in one column, double side by side in two columns (one column when there is too little room). Existing embed codes and pop-up buttons pick it up on their next load.

    centerdouble
  • themeIdstring, nullable

    The theme the page uses.

  • themeOverrides?ThemeOverrides, nullable

    The design and labels the page sets on top of its theme. Properties the page doesn't override are left out and follow the theme. Uses the same shape as the themeOverrides input.

    See all theme settings
  • Custom form fields on the page.

  • How the page's form is arranged, top to bottom: fields, headings, dividers, groups of fields shown side by side in columns, and where the discount code box sits. Always returned, even for a page that was never arranged: every field on the page is listed, and fieldId matches the id of an entry in fields. A discount-code item only places the box, which shows while showCouponCodeField is on. A placement you saved is returned whether the box is on or off; when none was saved and the box is on, the item is at the end, where the box shows. Forms never have one. Each item is one of: field (fieldId), heading (id, text, level heading or subheading), divider (id), discount-code (no other properties) and group (id, optional name, columns 1 to 4, and items holding fields, headings, dividers or the discount code; groups never nest). You choose the id of each heading, divider and group: 1 to 64 characters, unique in the layout. formLayout on the page decides the form's order. Each field's order is its position among the page's fields and follows the layout: saving a layout (in the dashboard or through the API) rewrites every field's order. On a page that has never saved a layout, setting order moves the field; once a layout is saved, move fields with formLayout instead. More item types may be added later. When reading a layout, skip any item type you do not recognise. When updating, send every item back as you received it, including those.

  • url?string, nullable

    Full URL to the hosted page.

  • customizeCheckoutConfirmation?boolean, nullable

    If set to true confirmationCheckoutMessage and confirmationCheckoutTitle will be displayed on the confirmation page. Defaults to false.

  • closePopupOnClickOutside?boolean, nullable

    Whether a popup embed closes when clicking outside the container.

  • Ordered funnel steps for this page. The response uses the public response structure, including pageId, redirectPageId, and redirect token identifier values.

  • visitCount?number, nullable

    The number of times customers have visited this page.

  • createdAtstring

    When the page was created.

    date-time

  • updatedAtstring

    When the page was last updated.

    date-time

  • If enabled, redirects the customer to the specified URL before the page loads.

  • afterPaymentAction?string, nullable

    Behavior after checkout.

    confirmationcheckoutredirect
  • redirectPageId?string, nullable

    ID of the page to redirect to after payment when afterPaymentAction is checkout.

  • redirectUrl?string, nullable

    URL to redirect to after submission.

  • Additional path parameters appended to the redirect URL.

  • Query parameters for the redirect URL.

  • redirectUrlInsideEmbed?boolean, nullable

    Redirect within the embed instead of the main browser window.

  • confirmationCheckoutTitle?string, nullable

    Confirmation page title.

  • confirmationCheckoutMessage?string, nullable

    Confirmation page message. Variables read as {{id}} and conditional paragraphs as <if variable="..." operator="..." value="..."> blocks; send them back unchanged to keep them.

  • showFilesList?boolean, nullable

    Whether the confirmation page lists the purchased files.

  • showViewDownloadsButton?boolean, nullable

    Whether the confirmation page shows a "View downloads" button.

  • sendPaymentNotification?boolean, nullable

    Send notification emails to the store owner.

  • notifyEmail?string, nullable

    Email addresses to send notifications to.

  • sendEmailConfirmation?boolean, nullable

    Send an email confirmation to the customer.

  • customizeEmailConfirmation?boolean, nullable

    Use a custom email confirmation template.

  • confirmationEmailSubject?string, nullable

    Custom confirmation email subject.

  • confirmationEmailMessage?string, nullable

    Custom confirmation email message. Variables read as {{id}} and conditional paragraphs as <if variable="..." operator="..." value="..."> blocks; send them back unchanged to keep them.

  • confirmationEmailShowLogo?boolean, nullable

    Show store logo in confirmation email.

  • confirmationEmailShowStoreName?boolean, nullable

    Show store name in confirmation email.

  • googleIndex?boolean, nullable

    Allow Google to index this page.

  • trackingCodes?string, nullable

    Custom tracking scripts for the page.

  • title?string, nullable

    Display title shown on the page.

  • description?string, nullable

    Page description stored as Lexical rich text JSON.

  • descriptionHtml?string, nullable

    HTML description of the page.

  • Event-specific details.

  • The questions each attendee is asked besides their name and email address, on events that collect attendee details. Answer them by id in a booking's attendees[].answers; an answer to any other ID is refused. The name and email address go in attendees[].name and attendees[].email.

  • showConfirmationEventName?boolean, nullable

    Whether the event name is shown on the confirmation page.

  • showConfirmationEventDateTime?boolean, nullable

    Whether the event date and time is shown on the confirmation page.

  • showConfirmationEventLocation?boolean, nullable

    Whether the event location is shown on the confirmation page.

  • showConfirmationEventMeetingLink?boolean, nullable

    Whether the virtual meeting link is shown on the confirmation page.

  • showConfirmationEventTickets?boolean, nullable

    Whether purchased tickets are shown on the confirmation page.

  • showConfirmationAddToCalendar?boolean, nullable

    Whether the add to calendar button is shown on the confirmation page.

  • showConfirmationEventAddOns?boolean, nullable

    Whether purchased add-ons are shown on the confirmation page.

  • Ticket groups and their ticket types.

  • Tax configuration for this page.

  • savePaymentMethod?boolean, nullable

    Whether to save the customer's payment method after payment.

  • Payment method configuration for this page.

  • Payment options presented to customers at checkout.

  • Extra fees applied at checkout.

  • Options that let customers choose to cover the processing fee. Empty when the page has none. The list holds at most one option for now.

  • allowDynamicPrice?boolean, nullable

    Whether the price can be overridden via URL query parameters.

  • allowDynamicDiscountedFromPrice?boolean, nullable

    Whether the compare-at price can be overridden via URL query parameters.

  • allowDynamicTitle?boolean, nullable

    Whether the title can be overridden via URL query parameters.

  • allowDynamicDescription?boolean, nullable

    Whether the description can be overridden via URL query parameters.

  • allowDynamicLabel?boolean, nullable

    Whether a price's label can be set dynamically via URL parameters.

  • allowDynamicPreselectedPrice?boolean, nullable

    Whether a price can be preselected (and revealed if hidden) via URL parameters.

  • allowDynamicRedirectUrl?boolean, nullable

    Whether the redirect URL can be overridden via URL query parameters.

  • showCouponCodeField?boolean, nullable

    Whether to show the coupon code input.

  • showCouponCodeFieldType?string, nullable

    Display type for the coupon code field.

    linkfield
  • Invoice configuration for manual payment flows.

  • Checkout abandonment email reminder settings.