Setup

To use the DiscountRules API, install the @wix/ecom package using npm or Yarn:

Copy
1

or

Copy
1

Then import { discountRules } from @wix/ecom:

Copy
1
Was this helpful?
Yes
No