The Referring Customers API allows you to manage referring customers on a 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 a 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.
- A site must have at least one of these apps installed: Wix Stores, Wix Bookings, Wix Events, Wix Pricing Plans, or Wix Restaurants Orders.
- Referring customer: A site member who shares a referral URL with potential new customers.
- 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, used to track referrals.
- Referral program: A feature that allows a site's members to refer friends to a business by sharing referral URLs. There is an 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.