Setup

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

Copy

or

Copy

Then import { programs } from @wix/loyalty:

Copy
Did this help?