DELETE

Delete Automation Earning Rule


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.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Loyalty
Learn more about app permissions.
Endpoint
DELETE
https://www.wixapis.com/_api/loyalty-earning-rules/v1/automation-earning-rules/{id}

Path Params
idstringRequired

ID of the earning rule to delete.

Response Object
Returns an empty object.
Delete automation earning rule
Request
cURL
Response
JSON
Errors

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

Did this help?