arrangePlans( )


Changes the display order of the pricing plans on the site page and in the Dashboard.

The arrangePlans() function returns a Promise that resolves when the plans are rearranged on the site page and in the Dashboard.

To rearrange the order of the plans, provide a list of the IDs for all non-archived plans in the desired order, including hidden plans.

Note: Make sure to provide all non-archived plan IDs to avoid unpredictable results.

Admin Method

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

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
idsArray<string>Required

IDs of all non-archived plans in the order you want them arranged.

Was this helpful?
Yes
No