updatePlan( )


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.

Permission Scopes

For app development, you must have one of the following permission scopes:
Manage Pricing Plans
Learn more about permission scopes.
Method Declaration
Copy
Method Parameters
_idstringRequired

ID of the plan to update.


planUpdatePlanRequired
Returns
Return Type:Promise<Plan>
Was this helpful?
Yes
No