updateTiersProgramSettings( )


Updates the global settings of a loyalty tier program.

Use this method to update settings that apply to all of a site's loyalty tiers. To update tier-specific settings for an individual tier, use Update Tier.

By default, the status of a tiers program is set to DISABLED and must be manually updated to ACTIVE using this method or through a Wix user's dashboard.

Note: The status, revision, and rollingWindow parameters must be passed to update the tiers program settings. The baseTierDefinition fields aren't required, however, if you don't pass them they reset to their default values of empty fields.

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
programSettingsTiersProgramSettingsRequired

Settings for the tiers program.

Returns
Return Type:Promise<UpdateTiersProgramSettingsResponse>
Errors

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

Did this help?