Why Migrate?
If you already run a loyalty program with points stored in a database, a third-party platform, or a custom system, you can move your customers into the Shakesco managed token system without losing their accumulated balances. After migration:- Existing points become Shakesco managed tokens with the same balance
- Customers keep their balance and can immediately earn, spend, and stake
- You get all Shakesco features: happy hours, tiers, cashback, vesting, and governance
How Migration Works
Migration is done one customer at a time. For each customer, callPOST /upgrade-to-shakesco with their customer_ref and current point balance. Shakesco credits that amount to the customer’s managed balance.
customer_ref is your own unique identifier for this customer (UUID, account number, phone, email, your primary key). Whatever you pick here is what you must keep passing on every subsequent call for the same customer. See the Tokens API overview for guidance.Response
Migrating Your Customers
Loop through your customer list and call the endpoint for each one. Use whatever stable internal ID you already have as thecustomer_ref:
Each call migrates one customer. Once Shakesco returns a
tx_hash for that
customer, you can remove them from your legacy system and keep only their
Shakesco-managed balance going forward.Cutover Process
The recommended approach is to remove your old loyalty system entirely and replace it with the Shakesco API:- Pick a stable
customer_reffor each customer (your DB primary key is usually a good choice) - Call
/upgrade-to-shakescofor each customer to preserve their balance - Verify migration with the balance check below
- Once a customer’s record is confirmed in Shakesco, delete their record from your legacy system
- Add the Shakesco API calls to your backend to handle all future earning and redemption, always sending the same
customer_ref
Verifying Migration
After migrating, check a customer’s balance to confirm it was credited correctly:Next Steps
Manage Rewards
Configure events, happy hours, and tiers from the dashboard
Integrate via API
Start calling the Tokens API from your backend