getPlan( )


Gets an existing pricing plan by ID.

The getPlan() function returns a Promise that resolves to a plan whose ID matches the given ID.

Only users with "Manage Pricing Plans" permissions can get plans.

Method Declaration
Copy
Method Parameters
idstringRequired

The ID of the plan to get.

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