getPlan( )


Deprecation Warning

This method will be deprecated on December 31, 2025.
Replace with getPlan.

Retrieves a pricing plan by ID.

Method Declaration
Copy
Method Parameters
_idstringRequired

Plan ID.

Returns
Return Type:Promise<Plan>
Errors
404Not Found

There is 1 error with this status code.

428Failed Precondition

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?