Updates a pricing plan.
The updatePlan()
function returns a Promise that resolves to an updated plan.
Updating a plan does not impact existing purchases made for the plan. All purchases keep the details of the original plan that was active at the time of the purchase.
This function requires elevated permissions and runs only on the backend and on dashboard pages.
ID of the plan to update.
Options for updating the plan.