Loyalty
Points, vouchers, coupons, lotteries, and spins. This guide follows version 3.1.7 (03acdf712c).
For campaign delivery, see Broadcasts & Notifications.
Backend
backend/plugins/loyalty_api/src/modules/: agent/, assignment/, config/, coupon/, donate/, lottery/, pricing/, score/, spin/, voucher/.
Permissions are declared in src/meta/permissions.ts. Members earn scores, receive assignments, and redeem coupons or vouchers; lotteries and spins add chance-based rewards with pricing rules behind them.
Frontend
frontend/plugins/loyalty_ui/src/modules/: loyalties/, pricing/, navigation/. Dev remote port is 3009.
Verify
- Create a campaign, assign a member, and confirm the score updates.
- Issue and redeem a voucher in staging, then confirm it cannot be reused.
- Draw a lottery or spin and confirm the result is recorded.
Source references
Was this helpful?