POST

Make Plan Primary


Deprecation Warning

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

Marks a pricing plan as the primary pricing plan. When viewing pricing plans on a site, the primary plan is highlighted with a customizable ribbon. Only a single plan can be marked as a primary plan at any given time. If there is an existing plan marked as primary, calling Make Plan Primary causes the existing primary plan to lose its primary status. 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 set the new plan as primary and remove the primary setting from the existing one.

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/{id}/make-primary

Errors
400Invalid Argument

There is 1 error with this status code.

404Not Found

There is 1 error with this status code.

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?