The Referring Customers API allows you to manage referring customers on your Wix site.
With the Referring Customers API, you can:
- Generate a referring customer for a contact to create new referring customers.
- Retrieve a referring customer by ID to get customer details.
- Get a referring customer by referral code to find customers using their unique code.
- Query referring customers to search and filter referring customers.
- Delete a referring customer to remove referring customers from your program.
It's important to note the following points before starting to code:
- The Referring Customers API requires a Business or higher plan for Wix Editor, or a Plus or higher plan for Wix Studio.
- You must have at least one of these apps installed: Wix Stores, Wix Bookings, Wix Events, Wix Pricing Plans, or the new Wix Restaurants ordering app.
- Referring Customer: An existing customer who refers others to your site or business.
- Referred Friend: A person who clicks on a referral URL shared by a referring customer.
- Referral Code: A unique code assigned to a referring customer.
- Referral Program: A feature that allows your site members to refer friends to your business by sharing referral URLs. You have the option to reward both the customer doing the referring and the friend being referred.
- Referral Reward: An incentive given to a referring customer when their referral results in a desired action such as making a purchase.