getPlanStats( )


Gets statistics about the pricing plans. Currently provides only the total number of pricing plans, including archived plans.

Authentication

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permissions
Read Pricing Plans
Learn more about app permissions.
Method Declaration
Copy
Request
This method does not take any parameters
Returns
Return Type:Promise<GetPlanStatsResponse>
Errors
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?