listPlans( )


Retrieves a list of up to 100 pricing plans (including public, hidden, and archived plans).

Authentication

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

Permissions
Manage Challenges
Manage Pricing Plans
Read Pricing Plans
Manage Events
Manage Stores
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
optionsListPlansOptions

Options for filtering and paging the list of plans.

Returns
Return Type:Promise<ListPlansResponse>
JavaScript
Errors
400Invalid Argument

There are 2 errors 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?