updateLoyaltyProgram( )


Updates a site's loyalty program.

This method updates the name of the loyalty program and the details of the collectible points unit. To activate the loyalty program, call Activate Loyalty Program.

Authentication

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

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

Loyalty program fields to update.

Returns
Return Type:Promise<UpdateLoyaltyProgramResponse>
Errors

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

Did this help?