updateReward( )


Updates a loyalty reward.

Call this method to update details of a reward, such as the name, whether a reward is active, or the amount of points it costs to redeem. Also call this method to add new tiers that are eligible to redeem a reward.

You may not change the type of a reward. That's set upon creation and can't be updated.

Authentication

This method may require higher-level permissions than the caller has, based on their identity and roles and permissions. In these cases, you can ensure the method is called with the required level of authorization by using one of the following:

Permissions
Manage Loyalty
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
_idstringRequired

Reward ID.


rewardUpdateRewardRequired

Reward info to update.

Returns
Return Type:Promise<UpdateRewardResponse>
Errors

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

Did this help?