DiscountCodeConditionObject
A single eligibility condition. All conditions on a code must be satisfied for the code to apply (AND logic), mirroring PricingRuleCondition.
Fields
idID!referenceDiscountCodeConditionReferenceThe product the user must have an active purchase of. Set only for hasActiveProduct.
minimumClassesAttendedIntRequired count of attended classes (registrations with status confirmed and a non-null checkedInAt) at the business. Set only for hasMinimumClassesAttended.
Used in
DiscountCodeCondition