Custom
Before you start
In order for an integration with LoyaltyLion to be possible, there are a few key concepts and behaviors that your ecommerce store must support.
Customer identity
You must have a customer account system with a single notion of customer identity.
Customers don’t sign up for a separate “loyalty account” with the loyalty program - your store is responsible for their account membership status, and having an account with your store is equivalent to being enrolled in the loyalty program.
A good choice for this identity is the row ID associated with a customer’s record in your database, but it can be anything - as long as it’s unique per customer and doesn’t change.
You’ll use this throughout as the customer_id
field for the customer - for example, when submitting orders. This is how we reconcile all their activity with a single loyalty program membership.
Discount vouchers
Your checkout must support single-use fixed discount voucher codes (for example, $5 off), as these form the basic rewards available from your loyalty program.
You must be able to bulk pre-generate these voucher codes for import into LoyaltyLion (so we can issue them to your customers).
When a customer claims a reward in exchange for points, we issue one of these pre-generated voucher codes for use in your checkout. We don’t implement the behaviour of those codes - that’s fully up to your store or ecommerce platform’s checkout.
Integration points
To complete the integration with LoyaltyLion, complete the following steps:
On top of this, you can offer extra loyalty program features with:
- Referrals
- Custom rewards
- Custom rules
- More advanced UI customisation