CouponInput
Fields accepted when creating a coupon. Unknown or read-only fields are rejected.
- labelType: string | nullrequired
What the contract prints: "Preferred planner".
- amountType: number | null
_off A fixed amount in minor units. Exactly one of percent_off and amount_off.
- appliesType: object | null
_to Properties: 1Optional restriction for line discounts: {"product_ids": [...]} or {"categories": ["entertainment"]}. Empty: any line.
- levelType: string | nullenum
Where it may be applied: to one line, to the gig’s discountable subtotal, or either.
valueslinegigeithernull - orderType: number | null
- percentType: number | null
_off 0 to 100. Exactly one of percent_off and amount_off.
- statusType: "active" or "inactive" or nullenum
Active coupons can be applied; inactive are retired.