Skip to content
DiscountCodeConditionInputInput

Eligibility condition for a discount code. Exactly one variant must be provided. Enforced at runtime by the GraphQL server (@oneOf).

Fields

The redeeming participant must currently own this product (active pass / membership / gift card / physical product).

hasAnyActiveMembershipBoolean

The redeeming participant must currently own at least one membership for this business.

hasMinimumClassesAttendedInt

The redeeming participant must have attended at least this many classes (activityRegistrations rows where status = 'confirmed' and checkedInAt IS NOT NULL) at the business.

DiscountCodeConditionInput