Deletes a non-automated earning rule.
To delete an automated earning rule, use Delete Automation Earning Rule.
To update an earning rule's status instead of deleting it, use Update Loyalty Earning Rule.
You can only call this method when authenticated as a Wix app or Wix user identity.
ID of the earning rule to delete.
Revision of the earning rule. Incremented by 1 each time the earning rule is updated. Pass the latest revision when updating to prevent conflicting changes.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.