This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Archives a single plan. When a plan is archived, it is no longer visible as a public plan that can be chosen by site members or visitors. Archived plans cannot be purchased. An archived plan cannot be made active again. Plan archiving does not impact existing orders made for the plan. All orders for the plan are still active and keep their perks. Site owners can see archived plans in the Dashboard under Pricing Plans -> Archived Plans.
You can only call this method when authenticated as a Wix app or Wix user identity.