Metaobjects and metafields

How a Liquid theme or a headless storefront reads event data from the Event Ticketing app: the metaobject graph (events, dates, tickets, locations and attendee questions), readable through the Storefront API with no setup, how to browse it in your Shopify admin, what changed and when, and the legacy event_ticketing JSON metafields.

Jeff Blake
Written by Jeff Blake Updated November 13, 2026

The Event Ticketing app keeps your event data on your Shopify products as a graph of metaobjects: an event links to its dates (sessions), each date links to its tickets (tiers) and its location, and each ticket links to its attendee questions. This is the data our own storefront blocks read, and it’s the one to build on, whether you’re customizing a theme or running a headless storefront (Hydrogen, Framer, Next.js).

The app also still writes two older JSON metafields, event_v2 and ticket, in the event_ticketing namespace. They’re deprecated: existing themes that read them keep working, but don’t build anything new on them. See Legacy JSON metafields.

Requirements: For the Storefront API, a storefront access token with the unauthenticated_read_metaobjects scope (plus the usual product scopes). No metafield definitions or other setup are needed: the app already makes the graph readable on the storefront.

Metaobjects and metafields

Two Shopify features work together here:

  • A metaobject is a record of its own, with typed fields: an event, a date, a ticket tier. The app’s event data lives in metaobjects.
  • A metafield is a field attached to something Shopify already has, like a product or a variant. The app puts a few metafields on your products and variants whose type is a metaobject reference: each one simply points to a metaobject.

So you start from a product or variant metafield and follow it into the metaobjects. From there, metaobjects point to each other.

Browse them in your Shopify admin

You can look through every record the app keeps, which helps when you’re mapping fields for a headless build or checking what a ticket’s data looks like.

  1. From your Shopify admin, go to Content > Metaobjects.

  2. Open one of the Event Ticketing definitions, such as Event, Session, Ticket tier or Question set.

  3. The entries list shows one row per record, with a column for each field. Use the definition menu at the top to switch to another type.

The Ticket tier metaobject entries in Shopify admin, with the definition menu open showing Question set, Question, Question group, Question option, Event, Session, Ticket tier and Ticket

The entries are read-only in the admin. The app owns them and rewrites them whenever you save an event, so change your events in the Event Ticketing app.

Where to enter the graph

Start from a metafield on a product, a variant or your shop:

Owner Metafield key Points to
Product event The event
Product event_sync_version A counter for checking freshness
Variant session The date this variant sells
Variant tier The ticket this variant is
Shop default_question_set Your store’s default attendee questions

These metafields live in the app’s own namespace, which has an app-specific prefix of the form app--000000. Read the exact namespace for your store from Settings > Custom data in your Shopify admin (it’s the same prefix on the app’s metaobject types, for example app--000000--session).

What the records hold

Each record is a metaobject. The first column is its name under Content > Metaobjects.

Metaobject Main fields
Event name, starts_at, ends_at, capacity, status, location, sessions, tiers, products, question_set, sync_version
Session (a date) name, starts_at, ends_at, capacity, status, location, product, tiers
Ticket tier (a ticket on a date) name, kind, quantity (group size), order_min, order_max, purchase_requirement, sale_status, on_sale_at, end_sale_at, service_fee, session, master, question_set
Ticket name, kind, description
Location name, time_zone, address
Address address1, city, state, zip
Question set name, questions
Question label, details, placeholder, kind, position, metadata, surfaces_state, options, group, visibility_rule

Reference fields (location, sessions, tiers, question_set and so on) point to other records in the graph, so you follow them rather than parsing JSON.

A question’s handle is its stable key, of the form question-123. Use it whenever you need to refer to a question, for example as the key of an answer.

To find which questions a ticket asks, use the first question set you find, in this order: the tier’s question_set, then the event’s question_set, then the shop’s default_question_set. Each question’s surfaces_state says where it’s asked and whether it’s required there; registration_form is the before-checkout form.

Reading the graph with the Storefront API

Replace app--000000 with your store’s namespace:

query EventForProduct($handle: String!) {
  product(handle: $handle) {
    event: metafield(namespace: "app--000000", key: "event") {
      reference {
        ... on Metaobject {
          handle
          name: field(key: "name") { value }
          starts_at: field(key: "starts_at") { value }
        }
      }
    }
    variants(first: 50) {
      nodes {
        id
        tier: metafield(namespace: "app--000000", key: "tier") {
          reference {
            ... on Metaobject {
              name: field(key: "name") { value }
              order_max: field(key: "order_max") { value }
              question_set: field(key: "question_set") {
                reference {
                  ... on Metaobject {
                    questions: field(key: "questions") {
                      references(first: 50) {
                        nodes { ... on Metaobject { handle label: field(key: "label") { value } } }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

Checking freshness before you render

A sync writes many records, so a product can be read halfway through one. Two counters let you detect it: event_sync_version on the product, and sync_version on the event record it references. Compare them and only render when they agree:

  • both present and equal: the product is fully synced, safe to render
  • present but different, or only one present: a sync is in flight or failed partway, skip the product and let the next sync settle it
  • both absent: the event predates these counters, treat it as fine

Skipping a product for a few seconds is much better than rendering an event with half its sessions missing.

Changelog

Changes to the metaobjects and metafields a storefront can read, newest first, by the month they were built. Everything listed is live on every store. Most changes add fields, which don’t affect existing queries; a renamed or removed field is called out.

  • 2026-11-22: Offer’s surfaces_config no longer holds featured on booking_form. Every booking form and ticket selector offer shows on the step after the tickets (Complete your visit, or Add-ons). Ignore the key if an older offer still has it.
  • 2026-11-22: Offer’s surfaces_config no longer holds style (table or cards) on any surface. Nothing used it to lay out an offer. Ignore the key if an older offer still has it.
  • 2026-11-21: Question’s metadata no longer holds multiple_answers. A multiple choice question takes one answer.
  • 2026-11-14: Offer’s rules is always set. An offer with no rules now holds {} instead of an empty field, so treat an object with no rule keys the same as no rules.
  • 2026-11-14: Offer’s surfaces_config is always set. An offer with every surface turned off now holds {} instead of keeping its last value, so treat an object with no enabled surface as showing nowhere.
  • 2026-11-13: the metaobject graph becomes the supported data source; event_v2 and ticket are deprecated.
  • 2026-11: Ticket tier gains phase_state, phase_opens_after, phase_opens_at and phase_display (sequential sale phases). Variants gain matching phase_* metafields, and booking_fee_child.
  • 2026-10: variants gain service_fee (the booking fee for that ticket).
  • 2026-08: a ticket’s description is written to the Ticket rather than the Ticket tier. Read description from the tier’s master.
  • 2026-07: Event gains title_format. Products gain capacity_remaining and composition_rules, and variants gain group_size and master_key, for cart validation. New Offer and Offer link metaobjects, with an offers metafield on products.
  • 2026-07: new Pass metaobject (entitlement), with an entitlement metafield on variants.
  • 2026-06: Ticket tier gains purchase_requirement. New Ticket metaobject, linked from each tier’s master. Question gains waiver fields, emphasis, error_message and a single surfaces_state map. Session gains month.
  • 2026-06: Event’s question_set becomes a single reference, the shop gains default_question_set, and Question group gains visibility_rule.
  • 2026-05: the graph is introduced: Event, Session, Ticket tier, Location, Address and the question metaobjects, with event, session, tier and event_sync_version metafields and the sync_version counter.

Legacy JSON metafields

Deprecated. The app still writes these so existing themes keep working, but new themes and headless builds should read the graph above.

Owner Namespace Key Holds
Product event_ticketing event_v2 The top-level event, as JSON
Each variant event_ticketing event_v2 That variant’s date, as JSON
Each variant event_ticketing ticket That ticket’s settings, as JSON

A Liquid theme reads them directly:

{{ product.metafields.event_ticketing.event_v2.value.name }}
{% if variant.metafields.event_ticketing.event_v2.value.starts_at %}
  {{ variant.metafields.event_ticketing.event_v2.value.starts_at | date: "%a, %b %d, %Y" }}
{% endif %}
{{ variant.metafields.event_ticketing.ticket.value.limits.max }}

event_v2 carries id, name, type, starts_at, ends_at, date, time, venue, capacity, tags and images.banner. ticket carries name, kind, quantity (group size), service_fee, limits.min, limits.max and ticket_type (its attendee fields and questions). Date fields are empty on an event with no single date of its own, such as the parent of a multi-date event, so null-check before formatting.

The Storefront API doesn’t return these metafields, because they have no metafield definitions. Read the graph instead.

FAQ

Can I read event data from the Storefront API or a headless build (Hydrogen, Framer, Next.js)?

Yes. Read the metaobject graph, starting from the event metafield on the product or the session and tier metafields on a variant. It’s readable on the storefront with no setup; your token needs the unauthenticated_read_metaobjects scope. See Reading the graph with the Storefront API.

My headless build reads event_v2 and gets nothing. Why?

event_v2 is a legacy JSON metafield with no metafield definition, and the Storefront API only returns metafields that have one. Read the graph instead.

What’s the namespace for the app’s metafields on my store?

It has the form app--000000, with a number specific to the app. Find it under Settings > Custom data in your Shopify admin, on any of the Event Ticketing metaobject types.

Should I store my own data in the app’s namespace or in event_ticketing?

No. The app rewrites its records whenever the event is saved, which would overwrite anything you add. Use your own namespace for custom data.

quantity isn’t the number of tickets for sale. What is it?

It’s the group size: how many tickets are issued for each unit sold (a “table of 8” issues 8). Sellable inventory is the variant’s normal Shopify inventory. Per-order purchase limits are order_min and order_max on the tier.