To use the Coupons API, install the @wix/marketing package using npm or Yarn:
@wix/marketing
npm install @wix/marketing
or
yarn add @wix/marketing
Then import { coupons } from @wix/marketing:
{ coupons }
import { coupons } from "@wix/marketing";