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.
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