deleteReward( )


Deletes a reward.

Admin Method

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permission Scopes

For app development, you must have one of the following permission scopes:
Manage Loyalty
Learn more about permission scopes.
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.

Was this helpful?
Yes
No