updateLoyaltyEarningRule( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Updates an earning rule.

Supports partial updates.

Revision number, which increments by 1 each time the earning rule is updated. To prevent conflicting changes, the current revision must be passed when updating the 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.
Method Declaration
Copy
Method Parameters
_idstringRequired

Loyalty earning rule ID.


earningRuleUpdateLoyaltyEarningRuleRequired
Returns
Return Type:Promise<UpdateLoyaltyEarningRuleResponse>
Was this helpful?
Yes
No