Operations
Coupons and promotions
PERCENT or FLAT, validFrom/validUntil, max redemptions, min subtotal.
Issue tenant-scoped coupon codes from /provider/coupons. Each code has:
- Kind: PERCENT (e.g. 20% off) or FLAT (e.g. $25 off).
- amount: the value (basis points for PERCENT, minor units for FLAT).
- validFrom / validUntil: optional date window.
- minSubtotalCents: minimum cart total to qualify.
- maxRedemptions: cap usage across all customers.
- active: toggle without deleting (preserves history).
Customers enter coupons on the checkout page. The pricing engine validates server-side at booking-create time — no client trust.