Data Migration
Moving members, balances, badges and progress from a previous loyalty system into Open Loyalty without paying anyone twice.
When a programme replaces an existing one, members expect to keep their account, balance and status. This page covers planning and running the migration so the numbers match and no campaign pays twice. For the import formats and order, see the User Guide's Data migration guide and Imports.
Who does what
Your team
Exports and cleans the data, writes and runs the migration job, signs off the reconciliation
Open Loyalty
Import tools and API; advice on order and volumes; a limits increase for large API migrations (request it from Open Loyalty support)
Programme team
Decides what carries over (balances, history, status, missions) and how members are told
What to carry over
Members
Import (member) or POST /member
Keep the original registeredAt (anniversaries) and birthDate. Add a label such as migrated = true.
Balances
POST /points/add per member and wallet, or a unit-transfer import
One transfer per member and wallet with externalTransferId (e.g. MIG-{id}-{wallet}). Imports need the Open Loyalty member UUID. Decide the expiry of migrated units.
Lifetime totals
Labels or custom fields (e.g. total_earned_migrated)
Only if tiers or messages need them.
Tier
Let tier conditions recalculate, or assign by hand
If old status must be honoured exactly, assign the tier by hand.
Completed missions
POST /member/{member}/badge
One badge per completed mission worth showing.
Mission progress
PATCH /member/{member}/challenge/{challenge}/progress
Sets progress without paying milestone rewards.
Transaction history
Transaction import (optional)
Matched by email, phone or loyalty card number. Active purchase campaigns run on imported transactions.
Webhooks, redemption statuses, custom events
Not importable
Set up or replay through the API.
Recommended flow
Import members
Import members first, with the shared identifier as loyaltyCardNumber. Then get their Open Loyalty UUIDs — from the API responses or a members export — for the steps that need them.
Switch on
Activate the campaigns that were paused, then switch the channels over — see the go-live checklist.
Sequence diagram

Volumes and limits
Import files are limited to 100 MB, and up to 5 imports or exports can run at the same time — see Limits.
For an API-based migration of many members, throttle the job below the environment's soft limit and request a limits increase from Open Loyalty support in advance.
Checklist
Key endpoints
POST /api/{storeCode}/import/{type}— Import filePOST /api/{storeCode}/member— Add a memberPOST /api/{storeCode}/points/add— Add an units transferPOST /api/{storeCode}/member/{member}/badge— Add badge to memberPATCH /api/{storeCode}/member/{member}/challenge/{challenge}/progress— Update challenge progress for memberPOST /api/{storeCode}/export/{type}— Create an export
Last updated
Was this helpful?

