clearPrimary( )


Sets all pricing plans to no longer be primary.

The clearPrimary() function returns a Promise that is resolved when there are no pricing plans marked as primary.

After clearing the primary plan, when viewing pricing plans on the site, no plan is highlighted with a customizable ribbon.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Pricing Plans
Learn more about app permissions.
Method Declaration
Copy
Request
This method does not take any parameters
Did this help?