searchPlans( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves a list of plans that match the provided search query and optionally performs aggregations on the data queried.

To learn about working with queries, see Search, Query and List Methods.

PropertyCapabilitiesFilters
pricingVariants.pricingStrategies.flatRate.amountSearch: ✗
Aggregate:
Sort: ✗
$hasAll, $hasSome
pricingVariants._idSearch: ✗
Aggregate:
Sort: ASC, DESC
$hasAll, $hasSome
pricingVariants.nameSearch: ✗
Aggregate:
Sort: ASC, DESC
$hasAll, $hasSome
_createdDateSearch: ✗
Aggregate:
Sort: ASC, DESC
$eq, $ne, $exists, $in, $any, $lt, $lte, $gt, $gte
_idSearch: ✗
Aggregate:
Sort: ASC, DESC
$eq, $ne, $exists, $in, $any, $begins, $gt, $lt, $lte, $gte
_updatedDateSearch: ✗
Aggregate:
Sort: ASC, DESC
$eq, $ne, $exists, $in, $any, $lt, $lte, $gt, $gte
formIdSearch: ✗
Aggregate:
Sort: ASC, DESC
$eq, $ne, $exists, $in, $any, $begins, $gt, $lt, $lte, $gte
nameSearch:
Aggregate:
Sort: ASC, DESC
$eq, $ne, $exists, $in, $any, $begins, $gt, $lt, $lte, $gte
slugSearch: ✗
Aggregate:
Sort: ASC, DESC
$eq, $ne, $exists, $in, $any, $begins, $gt, $lt, $lte, $gte
termsAndConditionsSearch: ✗
Aggregate:
Sort: ASC, DESC
$eq, $ne, $exists, $in, $any, $begins, $gt, $lt, $lte, $gte
visibilitySearch: ✗
Aggregate:
Sort: ASC, DESC
$eq, $ne, $exists, $in, $any
Authentication

This method may require higher-level permissions than the caller has, based on their identity and roles and permissions. In these cases, you can ensure the method is called with the required level of authorization by using one of the following:

Permissions
Read Orders
Read Pricing Plans
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
searchCursorSearchRequired

Search options. See API Query Language for more details.

Returns
Return Type:Promise<SearchPlansResponse>
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?