Onsale
An onsale: a period when a product sells, the customers it is open to, and what it allows.
type Onsale { audience: Audience closedToAttendee: [TagType!]! closedToPurchaser: [TagType!]! demand: OnsaleDemand flags: [OnsaleFlag!] id: Guid! openToAttendee: [TagType!]! openToPurchaser: [TagType!]! product: Product ruleGroups: [RuleGroup!]! simulatedQuotaLimits: [QuotaSimulation!]! timezone: String! validFrom: LocalDateTime validTo: LocalDateTime}Fields
Section titled “Fields”The audience created from the onsale, if there is one. Its counts are from its last refresh.
closedToAttendee ● [TagType!]!non-nullinterface
Section titled “closedToAttendee ● [TagType!]! ”Closed to attendees with any of these tag types.
closedToPurchaser ● [TagType!]!non-nullinterface
Section titled “closedToPurchaser ● [TagType!]! ”Closed to purchasers with any of these tag types.
The expected demand, which Kaizen users set. The onsales dashboard groups and orders onsales by it.
What the onsale allows, such as purchase or reserve. Null: all of them.
id ● Guid!non-nullscalar
Section titled “id ● Guid! ”Unique identifier.
openToAttendee ● [TagType!]!non-nullinterface
Section titled “openToAttendee ● [TagType!]! ”Open to attendees with one of these tag types only. Empty: open to all attendees.
openToPurchaser ● [TagType!]!non-nullinterface
Section titled “openToPurchaser ● [TagType!]! ”Open to purchasers with one of these tag types only. Empty: open to all purchasers.
The product that the onsale belongs to. Null when the acting organisation cannot see the product.
ruleGroups ● [RuleGroup!]!non-nullobject
Section titled “ruleGroups ● [RuleGroup!]! ”The rule groups applied to the onsale.
simulatedQuotaLimits ● [QuotaSimulation!]!non-nullobject
Section titled “simulatedQuotaLimits ● [QuotaSimulation!]! ”The applicable limits: quota limits on a purchase in the onsale. They come from a simulated purchase of the saved product, with no channel or customer.
timezone ● String!non-nullscalar
Section titled “timezone ● String! ”The time zone of validFrom and validTo, such as Europe/London.
When the onsale opens, as a local time. Null: no start limit.
When the onsale closes, as a local time. Null: no end limit.
Member Of
Section titled “Member Of”Audience object ● BasicProduct object ● Donation object ● Event object ● LocalProduct interface ● MembershipType object ● Merchandise object ● Package object ● Product interface ● Remote object

