This article shares a possible use case you could support. This can be a helpful jumping off point as you plan your implementation.
Transfer existing customer loyalty data from a 3rd party system to a Wix loyalty program while maintaining customer point balances and program continuity.
- Call Activate Loyalty Program to initialize the loyalty program on the Wix site.
- Call Update Loyalty Program to set the point name, icon, and other program details to match the previous system.
- Call Create Earning Rule to establish how customers can continue earning points in the new system.
- Use the Contacts API to ensure all customers from the old system exist as contacts in Wix.
- Export customer data from the external platform and format it as a CSV file with required fields.
- Call Create Loyalty Import File URL to get a secure URL for uploading the data file.
- Upload the prepared CSV file to the URL obtained in the previous step.
- Call Create Loyalty Import to parse and validate the uploaded file.
- Call Execute Loyalty Import to process all customer data and create loyalty accounts.
- Use Get Loyalty Import to track the import status and handle any errors.
- If errors occur, call Get Error File Download URL to download detailed error information and address data issues.
- Call Query Loyalty Accounts to confirm all customer accounts were created successfully with correct point balances.