Introduction

The Referred Friend API allows you to manage referred friends in a referral program on a site. With this API, you can create, retrieve, update, and delete referred friends, as well as query for specific referred friends based on various criteria.

With the Referred Friend API, you can:

Before you begin

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 Wix Restaurants Orders.

Terminology

  • Referred friend: A person who clicks on a referral URL shared by a referring customer.
  • Referring customer: A site member who shares a referral URL with potential new customers.
  • 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.
  • Status: The current state of a referred friend in the referral program. For example, "SIGN_UP_COMPLETED" or "ACTIONS_COMPLETED".
Did this help?