POST

Clear Primary


Deprecation Warning

This method will be deprecated on December 31, 2025.
Replace with BulkUpdatePlans.

Sets all pricing plans as not primary. When viewing pricing plans on a site, no plan is highlighted with a customizable ribbon. Deprecated: Use QueryPlans along with BulkUpdatePlans instead. First, use QueryPlans with the primary set to true in the filter to retrieve existing plans and identify the primary ones. Then, use BulkUpdatePlans to remove the primary setting from all primary plans.

Authentication

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

Permissions
Manage Pricing Plans
Manage plans and orders of Pricing Plans
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/pricing-plans/v2/plans/clear-primary

Errors
428Failed Precondition

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?