Search.../

Introduction

 

Developer Preview
APIs in Developer Preview are subject to change and are not intended for use in production.
Send us your suggestions for improving this API. Your feedback is valuable to us.

 

Introduction

The Loyalty Rewards API allows you to manage rewards that customers can redeem with their loyalty points. For example, you can create a reward that is redeemed for a coupon for free shipping or for a coupon with a discount that applies to an entire purchase.

With the Loyalty Rewards API, you can create and update the rewards you offer.

To use the Loyalty Rewards API, import { rewards } from the wix-loyalty.v2 module.

import { rewards } from 'wix-loyalty.v2';
javascript | Copy Code

Terminology

  • Discount amount: A specific reward type that is only available for Wix Restaurants.
  • Coupon reward: All other types of rewards other than “discount amount.” The details included here dictate what type of coupon will be created when this reward is redeemed.

Was this helpful?

In This Article
  1. Terminology