Sets all pricing plans as not primary. When viewing pricing plans on a site, no plan is highlighted with a customizable ribbon.
You can only call this method when authenticated as a Wix app or Wix user identity.
function clearPrimary(): Promise<void>;
import { plans } from "@wix/pricing-plans";
async function clearPrimary() {
const response = await plans.clearPrimary();
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.