Setup

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

Copy
1

or

Copy
1

Then import { earningRules } from @wix/loyalty:

Copy
1
Was this helpful?
Yes
No