Coupons
Create discount codes from Admin → Coupons.
Fields:
codeunique ID (e.g., SPRING10)typepercent or fixedvaluepercentage (if percent) or ignorevalue_centsfixed discount in cents (if fixed)is_active,starts_at,ends_atmax_uses(optional limit)
Usage count increases automatically when orders apply the coupon.