Setup

To use the Loyalty API, install the @wix/loyalty package using npm or Yarn:

Copy
1
npm install @wix/loyalty

or

Copy
1
yarn add @wix/loyalty

Then import loyalty from @wix/loyalty:

Copy
1
import loyalty from '@wix/loyalty'
Was this helpful?
Yes
No