deleteAutomationEarningRule( )


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, call Update Loyalty Earning Rule.

To delete a non-automated earning rule, call Delete Loyalty Earning Rule.

Method Declaration
Copy
Method Parameters
_idstringRequired

ID of the earning rule to delete.

Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?