DELETE

Delete Reward


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.
Endpoint
DELETE
https://www.wixapis.com/loyalty-rewards/v1/rewards/{id}

Path Params
idstringRequired

ID of the reward to delete.

Query Params
revisionnumber

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.

Response Object
Returns an empty object.
Delete reward
Request
cURL
curl -X DELETE \ 'https://www.wixapis.com/loyalty-rewards/v1/rewards/46d7bbce-6bb4-4174-ae5a-7f44c19f95ce?revision=1' \ -H 'Authorization: <AUTH>'
Response
JSON
{}
Errors

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

Event TriggersThis method triggers the following events:
Did this help?