The Referring Customers API allows you to manage referral programs on your Wix site. With this API, you can create and manage referring customers, track referrals, and query referred friends.
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 Referral Program 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: A customer who refers others to your site or business.
- Referred Friend: A new customer who was referred by an existing customer.
- Referral Code: A unique code assigned to a referring customer, used to track referrals.
- Referral Program: A marketing strategy that incentivizes existing customers to refer new customers.
- Referral Reward: An incentive given to a referring customer when their referral results in a desired action such as making a purchase.