Referrals
Running a refer-a-friend programme: sharing referral links, passing the referrer's token at registration, and rewarding both sides when the friend qualifies.
In a referral programme, a member invites a friend; when the friend joins and does something that qualifies — usually a first purchase — Open Loyalty rewards the referrer, the friend, or both. Open Loyalty keeps the referral relationship and runs the rules; your channels build the links and pass the token back at registration.
For the Admin Panel side, see Referral campaigns, Referred members and the Referral programs FAQ.
Who does what
Admin Panel
Referral campaigns: trigger on the friend's activity, rules for referrer and referee, referral depth, limits
Integration layer
Builds referral links from the member's token, carries the token through registration, sends the friend's qualifying activity
Website / app
"Invite a friend" with share options; captures the token from the link (URL parameter, deep link) and keeps it through sign-up
CRM / marketing automation
Tells both sides when a reward is given
Design decisions
What qualifies a referral
Registration, first purchase, a minimum spend, a custom event
A first purchase (or an event that costs the friend something). Rewarding registration alone invites fake sign-ups.
Who is rewarded
Referrer, referee, or both
Both, with separate rules for referrer and referee in the same campaign.
Referral depth
Direct referrer only, or several levels
Direct only unless multi-level rewards are part of the proposition; set Referral max levels in the campaign's referral reward depth.
Limits
Unlimited, or a cap per referrer and period
Cap rewarded referrals per referrer (e.g. 5 a year) to limit abuse.
Link format
Your own domain, app deep link
Your own URL with the token as a parameter (e.g. https://example.com/join?ref={token}); Open Loyalty doesn't generate links.
Recommended flow
Send the qualifying activity
The friend's purchase or event goes through the normal transaction or custom event flow. The referral campaign rewards each side.
Sequence diagram

Go-live checklist
Admin Panel
Integration layer
Website / app
Validation
Key endpoints
GET /api/{storeCode}/member/{member}— Get member's details (referralToken)POST /api/{storeCode}/member— Add a member (customer.referrerToken)POST /api/{storeCode}/member/{member}/referral— Create member's referralGET /api/{storeCode}/referral— Get referrals list
Webhooks: CampaignEffectWasApplied
Last updated
Was this helpful?

