Setup

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

Copy

or

Copy

Then import { discountRules } from @wix/ecom:

Copy
Did this help?