Deletes a custom automated earning rule. Pre-installed automated rules can only be paused, not deleted.
To update an earning rule's status instead of deleting it, use Update Loyalty Earning Rule.
To delete a non-automated earning rule, use Delete 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.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.