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.
You can only call this method when authenticated as a Wix app or Wix user identity.
There is 1 error with this status code.
There is 1 error with this status code.
There is 1 error with this status code.
This method may also return standard errors. Learn more about standard Wix errors.