OnsaleActivity
An onsale, who it is open and closed to, and what it sold.
type OnsaleActivity { activity: OnsaleActivityDetail closedToAttendee: [OnsaleAudienceTag!]! closedToPurchaser: [OnsaleAudienceTag!]! demand: OnsaleDemand endsAt: Instant eventStartTime: Instant firstOrder: OnsaleFirstOrder id: Guid! openToAttendee: [OnsaleAudienceTag!]! openToPurchaser: [OnsaleAudienceTag!]! orderCount: Int! organisationCode: String! organisationId: Guid! organisationName: String! productCode: String! productId: Guid! productName: String productType: ProductType! startsAt: Instant! state: OnsaleState! ticketCount: Int! timezone: String! validFrom: LocalDateTime! validTo: LocalDateTime}Fields
Section titled “Fields”The onsale in detail, with the product’s other onsales.
closedToAttendee ● [OnsaleAudienceTag!]!non-nullobject
Section titled “closedToAttendee ● [OnsaleAudienceTag!]! ”The tag types that the onsale is closed to, for the attendee. Empty: closed to nobody.
closedToPurchaser ● [OnsaleAudienceTag!]!non-nullobject
Section titled “closedToPurchaser ● [OnsaleAudienceTag!]! ”The tag types that the onsale is closed to, for the purchaser. Empty: closed to nobody.
How much demand the onsale is expected to have. Null: not set.
When the onsale closes, as an instant. Null: it never closes.
When the event starts. Null: the product is not an event.
How soon the onsale took its first order, and who placed it. It stays the same once it exists.
id ● Guid!non-nullscalar
Section titled “id ● Guid! ”The onsale.
openToAttendee ● [OnsaleAudienceTag!]!non-nullobject
Section titled “openToAttendee ● [OnsaleAudienceTag!]! ”The tag types that the onsale is open to, for the attendee. Empty: open to all.
openToPurchaser ● [OnsaleAudienceTag!]!non-nullobject
Section titled “openToPurchaser ● [OnsaleAudienceTag!]! ”The tag types that the onsale is open to, for the purchaser. Empty: open to all.
orderCount ● Int!non-nullscalar
Section titled “orderCount ● Int! ”Orders that bought the product while the onsale was open.
organisationCode ● String!non-nullscalar
Section titled “organisationCode ● String! ”The organisation’s code.
organisationId ● Guid!non-nullscalar
Section titled “organisationId ● Guid! ”The organisation that the product belongs to.
organisationName ● String!non-nullscalar
Section titled “organisationName ● String! ”The organisation’s name.
productCode ● String!non-nullscalar
Section titled “productCode ● String! ”The product’s code.
productId ● Guid!non-nullscalar
Section titled “productId ● Guid! ”The product that the onsale belongs to.
The product’s name, in the default language.
The product’s type, such as an event or a package.
startsAt ● Instant!non-nullscalar
Section titled “startsAt ● Instant! ”When the onsale opens, as an instant.
state ● OnsaleState!non-nullenum
Section titled “state ● OnsaleState! ”Where the onsale is: not open yet, open now, or closed.
ticketCount ● Int!non-nullscalar
Section titled “ticketCount ● Int! ”Tickets sold while the onsale was open. Cancelled tickets are not counted.
timezone ● String!non-nullscalar
Section titled “timezone ● String! ”The time zone of validFrom and validTo, such as Europe/London.
validFrom ● LocalDateTime!non-nullscalar
Section titled “validFrom ● LocalDateTime! ”When the onsale opens, in its time zone.
When the onsale closes, in its time zone. Null: it never closes.
Returned By
Section titled “Returned By”analytics.byOnsale.now query ● analytics.byOnsale.onsale query ● analytics.byOnsale.upcoming query
Member Of
Section titled “Member Of”OnsaleActivityDetail object

