deleteReward( )


Deletes a reward.

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.
Method Declaration
Copy
Method Parameters
_idstringRequired

ID of the reward to delete.


revisionstringRequired

Revision number, which increments by 1 each time the reward is updated.

To prevent conflicting changes, the current revision must be passed when deleting the reward.

Errors

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

Did this help?