DiscountCodeConditionInputInput
Eligibility condition for a discount code. Exactly one variant must be provided. Enforced at runtime by the GraphQL server (@oneOf).
Fields
hasActiveProductHasActiveProductConditionInputThe redeeming participant must currently own this product (active pass / membership / gift card / physical product).
hasAnyActiveMembershipBooleanThe redeeming participant must currently own at least one membership for this business.
hasMinimumClassesAttendedIntThe redeeming participant must have attended at least this many classes (activityRegistrations rows where status = 'confirmed' and checkedInAt IS NOT NULL) at the business.
DiscountCodeConditionInput