Retrieves a discount rule.
The getDiscountRule()
function returns a Promise that resolves when the specified discount rule is retrieved.
You can only call this method when authenticated as a Wix app or Wix user identity.
ID of the discount rule to retrieve.