Skip to content

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
}

The onsale in detail, with the product’s other onsales.

The tag types that the onsale is closed to, for the attendee. Empty: closed to nobody.

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.

The onsale.

The tag types that the onsale is open to, for the attendee. Empty: open to all.

The tag types that the onsale is open to, for the purchaser. Empty: open to all.

Orders that bought the product while the onsale was open.

The organisation’s code.

The organisation that the product belongs to.

The organisation’s name.

The product’s code.

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.

When the onsale opens, as an instant.

Where the onsale is: not open yet, open now, or closed.

Tickets sold while the onsale was open. Cancelled tickets are not counted.

The time zone of validFrom and validTo, such as Europe/London.

When the onsale opens, in its time zone.

When the onsale closes, in its time zone. Null: it never closes.

analytics.byOnsale.now query ● analytics.byOnsale.onsale query ● analytics.byOnsale.upcoming query

OnsaleActivityDetail object