Setup

To use the Coupons API, install the @wix/marketing package using npm or Yarn:

Copy
npm install @wix/marketing

or

Copy
yarn add @wix/marketing

Then import { coupons } from @wix/marketing:

Copy
import { coupons } from "@wix/marketing";
Did this help?