Creates a new discount rule.
The createDiscountRule() function returns a Promise that resolves to the new discount rule when it's created.
createDiscountRule()
You can only call this method when authenticated as a Wix app or Wix user identity.
Discount rule info.