Ticketing
An audience’s connections to ticketing partners, and the partners it can connect.
Root fields
Section titled “Root fields”| Field | Type | Description |
|---|---|---|
ticketing |
IAudienceTicketing! |
The instance’s IAudienceTicketing mixin. Left out of the schema where its module isn’t installed. |
Mutations
Section titled “Mutations”| Operation | Returns | Description |
|---|---|---|
connectEventbrite staffql onlyinput: EventbriteConnectInput! |
EventbriteConnectPayload |
Starts connecting an organizer’s Eventbrite account. Send the organizer to authorizeUrl; after they approve, Eventbrite returns them to returnTo with eventbrite=connected (or denied, or error) and their upcoming events are imported. requires ticketing:write:* |
disconnectTicketingAccount staffql onlyinput: TicketingAccountDisconnectInput! |
TicketingAccountDisconnectPayload |
Disconnects a ticketing account and stops its webhook. Events imported from it stay. requires ticketing:write:* |
matchVenueTicketmaster staffql onlyinput: VenueMatchTicketmasterInput! |
VenueMatchTicketmasterPayload |
Links a venue to its Ticketmaster venue, so the scheduled import reads its Ticketmaster events. Without ticketmasterVenueId, looks it up by name near the venue. requires ticketing:write:* |
pushEventToEventbrite staffql onlyinput: EventPushToEventbriteInput! |
EventPushToEventbritePayload |
Puts an event created in the console on Eventbrite now: a draft the first time, updated after that. With publish, it goes public too, once it has tickets on Eventbrite; the organizer’s “Add to Facebook” setting on Eventbrite then puts it on their Facebook Page. requires ticketing:write:* |
updateTicketingAccount staffql onlyinput: TicketingAccountUpdateInput! |
TicketingAccountUpdatePayload |
Changes a connected ticketing account, and with sync imports its events again now. requires ticketing:write:* |
Objects
Section titled “Objects”AudienceTicketingView
Section titled “AudienceTicketingView”Object · implements IAudienceTicketing
The local Ticketing implementation of an audience’s partner accounts.
| Field | Type | Description |
|---|---|---|
accountsafter: Stringbefore: Stringfirst: Intlast: Int |
TicketingAccountConnection! |
Connected ticketing partner accounts, oldest first. Admins only; empty for everyone else. requires ticketing:read:* |
providersafter: Stringbefore: Stringfirst: Intlast: Int |
TicketingProviderConnection! |
The ticketing partners events can come from or go to, and what each supports. |
EventListing
Section titled “EventListing”Object · implements IAdmissionOffer, Node
An event’s copy on a ticketing partner, which sells tickets to it (an IAdmissionOffer). Its sync details (lastError, pulledAt, pushedAt) are for admins; null for everyone else.
| Field | Type | Description |
|---|---|---|
externalId |
String! |
The partner’s ID for the event. |
id |
ID! |
The ID of the listing. |
lastError |
String |
Why the last push failed, if it did. requires ticketing:read:* |
origin |
EventListingOrigin! |
Which side owns its details. |
price |
Money |
What it costs the buyer, all in (the lowest price for tickets). Null when the seller does not say. |
provider |
String! |
eventbrite or ticketmaster. |
pulledAt |
ISO8601DateTime |
When it was last read from the partner. requires ticketing:read:* |
pushedAt |
ISO8601DateTime |
When it was last sent to the partner. requires ticketing:read:* |
seller |
IProvider! |
Who sells it: a ticketing partner, or AudienceKit itself. |
status |
String |
The partner’s status, e.g. draft, live or canceled. |
url |
String |
Its page on the partner. |
EventListingConnection
Section titled “EventListingConnection”Object
The connection type for EventListing.
| Field | Type | Description |
|---|---|---|
edges |
[EventListingEdge] |
A list of edges. |
nodes |
[EventListing] |
A list of nodes. |
pageInfo |
PageInfo! |
Information to aid in pagination. |
EventListingEdge
Section titled “EventListingEdge”Object
An edge in a connection.
| Field | Type | Description |
|---|---|---|
cursor |
String! |
A cursor for use in pagination. |
node |
EventListing |
The item at the end of the edge. |
EventSeriesTickets
Section titled “EventSeriesTickets”Object · implements IEventSeriesTickets
The local Ticketing implementation of a series’ tickets.
| Field | Type | Description |
|---|---|---|
url |
String |
Where to buy tickets, copied to each occurrence. |
EventTickets
Section titled “EventTickets”Object · implements IEventTickets
The local Ticketing implementation of an event’s tickets.
| Field | Type | Description |
|---|---|---|
cover |
IEventCover! |
The instance’s IEventCover mixin. Left out of the schema where its module isn’t installed. |
listingsafter: Stringbefore: Stringfirst: Intlast: Int |
EventListingConnection! |
Its copies on ticketing partners. Admins only; empty for everyone else. requires ticketing:read:* |
offersafter: Stringbefore: Stringfirst: Intlast: Int |
IAdmissionOfferConnection! |
Every way in on sale, whichever module sells it: tickets on its live partner listings and its night’s cover. |
url |
String |
Where to buy tickets. |
IAdmissionOfferConnection
Section titled “IAdmissionOfferConnection”Object
The connection type for IAdmissionOffer.
| Field | Type | Description |
|---|---|---|
edges |
[IAdmissionOfferEdge] |
A list of edges. |
nodes |
[IAdmissionOffer] |
A list of nodes. |
pageInfo |
PageInfo! |
Information to aid in pagination. |
IAdmissionOfferEdge
Section titled “IAdmissionOfferEdge”Object
An edge in a connection.
| Field | Type | Description |
|---|---|---|
cursor |
String! |
A cursor for use in pagination. |
node |
IAdmissionOffer |
The item at the end of the edge. |
TicketingAccount
Section titled “TicketingAccount”Object · implements Node
An organizer’s account on a ticketing partner, connected to the audience. Its token is never returned.
| Field | Type | Description |
|---|---|---|
id |
ID! |
The ID of the account. |
lastError |
String |
Why the last sync or webhook setup failed, if it did. |
lastSyncedAt |
ISO8601DateTime |
When its events were last imported. |
name |
String |
The organization name on the partner. |
provider |
String! |
eventbrite. |
publishToPartner |
Boolean! |
Whether events created in the console are pushed to it as drafts. |
webhookConnected |
Boolean! |
Whether the partner notifies us of changes. |
TicketingAccountConnection
Section titled “TicketingAccountConnection”Object
The connection type for TicketingAccount.
| Field | Type | Description |
|---|---|---|
edges |
[TicketingAccountEdge] |
A list of edges. |
nodes |
[TicketingAccount] |
A list of nodes. |
pageInfo |
PageInfo! |
Information to aid in pagination. |
TicketingAccountEdge
Section titled “TicketingAccountEdge”Object
An edge in a connection.
| Field | Type | Description |
|---|---|---|
cursor |
String! |
A cursor for use in pagination. |
node |
TicketingAccount |
The item at the end of the edge. |
TicketingProvider
Section titled “TicketingProvider”Object · implements IProvider
A ticketing partner events can come from or go to (a Ticketing::Provider), and what it supports.
| Field | Type | Description |
|---|---|---|
accounts |
Boolean! |
Whether organizers connect their accounts on it. |
key |
String! |
Its key, e.g. karafun. |
matchesVenues |
Boolean! |
Whether its events are read per venue, matched to the partner’s. |
name |
String! |
Its name, e.g. KaraFun. |
publishes |
Boolean! |
Whether events created in AudienceKit can be pushed to it. |
TicketingProviderConnection
Section titled “TicketingProviderConnection”Object
The connection type for TicketingProvider.
| Field | Type | Description |
|---|---|---|
edges |
[TicketingProviderEdge] |
A list of edges. |
nodes |
[TicketingProvider] |
A list of nodes. |
pageInfo |
PageInfo! |
Information to aid in pagination. |
TicketingProviderEdge
Section titled “TicketingProviderEdge”Object
An edge in a connection.
| Field | Type | Description |
|---|---|---|
cursor |
String! |
A cursor for use in pagination. |
node |
TicketingProvider |
The item at the end of the edge. |
VenueTickets
Section titled “VenueTickets”Object · implements IVenueTickets
The local Ticketing implementation of a venue night’s tickets.
| Field | Type | Description |
|---|---|---|
cover |
IVenueCover! |
The instance’s IVenueCover mixin. Left out of the schema where its module isn’t installed. |
offersafter: Stringbefore: Stringfirst: Intlast: Intnight: ISO8601Date |
IAdmissionOfferConnection! |
Every way in that night, whichever module sells it: the venue’s cover, and tickets on the live partner listings of that night’s events. |
Mutation payloads
Section titled “Mutation payloads”EventbriteConnectPayload
Section titled “EventbriteConnectPayload”Object · staffql only
Autogenerated return type of EventbriteConnect.
| Field | Type | Description |
|---|---|---|
authorizeUrl staffql only |
String! |
Eventbrite’s page for approving the connection. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
EventPushToEventbritePayload
Section titled “EventPushToEventbritePayload”Object · staffql only
Autogenerated return type of EventPushToEventbrite.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
listing staffql only |
EventListing! |
Its listing on Eventbrite. |
TicketingAccountDisconnectPayload
Section titled “TicketingAccountDisconnectPayload”Object · staffql only
Autogenerated return type of TicketingAccountDisconnect.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
deletedId staffql only |
ID! |
The ID of the account that was disconnected. |
TicketingAccountUpdatePayload
Section titled “TicketingAccountUpdatePayload”Object · staffql only
Autogenerated return type of TicketingAccountUpdate.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
ticketingAccount staffql only |
TicketingAccount! |
The account, after the change. |
VenueMatchTicketmasterPayload
Section titled “VenueMatchTicketmasterPayload”Object · staffql only
Autogenerated return type of VenueMatchTicketmaster.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
ticketmasterVenueId staffql only |
String |
The Discovery venue ID, or null if none matched. |
venue staffql only |
Venue! |
The venue. |
Inputs
Section titled “Inputs”EventbriteConnectInput
Section titled “EventbriteConnectInput”Input · staffql only
Autogenerated input type of EventbriteConnect
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
returnTo staffql only |
String! |
The console page to come back to. |
EventPushToEventbriteInput
Section titled “EventPushToEventbriteInput”Input · staffql only
Autogenerated input type of EventPushToEventbrite
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
id staffql only |
ID! |
The ID of the event. |
publish staffql only |
Boolean |
Make it public on Eventbrite. |
ticketingAccountId staffql only |
ID |
The Eventbrite account. Defaults to the one it is already on, or the only one connected. |
TicketingAccountDisconnectInput
Section titled “TicketingAccountDisconnectInput”Input · staffql only
Autogenerated input type of TicketingAccountDisconnect
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
id staffql only |
ID! |
The ID of the account. |
TicketingAccountUpdateInput
Section titled “TicketingAccountUpdateInput”Input · staffql only
Autogenerated input type of TicketingAccountUpdate
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
id staffql only |
ID! |
The ID of the account. |
publishToPartner staffql only |
Boolean |
Push events created in the console to it as drafts. |
sync staffql only |
Boolean |
Import its events now. |
VenueMatchTicketmasterInput
Section titled “VenueMatchTicketmasterInput”Input · staffql only
Autogenerated input type of VenueMatchTicketmaster
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
id staffql only |
ID! |
The ID of the venue. |
ticketmasterVenueId staffql only |
String |
The Discovery venue ID, e.g. KovZpZA7AAEA. |
Interfaces
Section titled “Interfaces”IAudienceTicketing
Section titled “IAudienceTicketing”Interface · implemented by AudienceTicketingView · mixin edge ticketing on Audience
An audience’s connections to ticketing partners, and the partners it can connect.
| Field | Type | Description |
|---|---|---|
accountsafter: Stringbefore: Stringfirst: Intlast: Int |
TicketingAccountConnection! |
Connected ticketing partner accounts, oldest first. Admins only; empty for everyone else. requires ticketing:read:* |
providersafter: Stringbefore: Stringfirst: Intlast: Int |
TicketingProviderConnection! |
The ticketing partners events can come from or go to, and what each supports. |
IEventSeriesTickets
Section titled “IEventSeriesTickets”Interface · implemented by EventSeriesTickets · mixin edge tickets on EventSeries
Where to buy tickets to a series, copied to each occurrence.
| Field | Type | Description |
|---|---|---|
url |
String |
Where to buy tickets, copied to each occurrence. |
IEventTickets
Section titled “IEventTickets”Interface · implemented by EventTickets · mixin edge tickets on Event · facet tag tickets
How to get into an event: where to buy tickets, its copies on ticketing partners and every offer from any module, like tickets { offers } and tickets { cover }.
| Field | Type | Description |
|---|---|---|
cover |
IEventCover! |
The instance’s IEventCover mixin. Left out of the schema where its module isn’t installed. |
listingsafter: Stringbefore: Stringfirst: Intlast: Int |
EventListingConnection! |
Its copies on ticketing partners. Admins only; empty for everyone else. requires ticketing:read:* |
offersafter: Stringbefore: Stringfirst: Intlast: Int |
IAdmissionOfferConnection! |
Every way in on sale, whichever module sells it: tickets on its live partner listings and its night’s cover. |
url |
String |
Where to buy tickets. |
IVenueTickets
Section titled “IVenueTickets”Interface · implemented by VenueTickets · mixin edge tickets on Venue
How to get into a venue on a night, a virtual event: every offer from any module, like tickets { offers(night:) } and tickets { cover }.
| Field | Type | Description |
|---|---|---|
cover |
IVenueCover! |
The instance’s IVenueCover mixin. Left out of the schema where its module isn’t installed. |
offersafter: Stringbefore: Stringfirst: Intlast: Intnight: ISO8601Date |
IAdmissionOfferConnection! |
Every way in that night, whichever module sells it: the venue’s cover, and tickets on the live partner listings of that night’s events. |
EventListingOrigin
Section titled “EventListingOrigin”Enum
Which side owns an event listing’s details.
AUDIENCE_KITCreated here and pushed to the partner.PARTNERCreated on the partner, which owns its details.