Setup

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

Copy
npm install @wix/loyalty

or

Copy
yarn add @wix/loyalty

Then import { accounts } from @wix/loyalty:

Copy
import { accounts } from "@wix/loyalty";
Did this help?