Set up a Voucherify loyalty program with earning rules and redeem points for a reward
domain: docs.voucherify.io · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
POST /v1/campaigns with campaign_type: LOYALTY_PROGRAM to create the loyalty campaign (loyalty cards act as the campaign's vouchers).
POST /v1/loyalties/{campaignId}/earning-rules with an array of rules, each keyed on an event type (order paid, segment entered, custom event, or tier change) and a fixed or proportional point award.
Enroll customers (auto-join or via publication) so each customer receives a loyalty card.
Fire qualifying events (paid orders, custom events via the Events API, segment entry) and let Voucherify's engine credit points to the loyalty card per your earning rules.
Redeem a reward with POST /v1/loyalties/members/{memberId}/redemption, specifying the reward id and, for pay-with-points rewards, the points to apply.
Known gotchas
Loyalty campaigns force join_once to true regardless of what you pass — a customer can only join once.
Earning rules are capped at a limited number per project by default.
Points can carry expiration/activation rules, so newly earned points may be pending rather than immediately spendable — check the points state before assuming they're redeemable.
Give your agent this knowledge — and 15,500+ more routes
One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp
Need this verified for your stack — or a route we don't have yet?