searchResources( )


Retrieves a list of resources matching the provided search criteria.

Refer to the supported filters article for complete filter and sorting options.

PropertyCapabilitiesFilters
singleResource.locationOptions.specificLocationOptions.businessLocations.locationIdSearch: ✗
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
nameSearch: ✗
Aggregate: ✗
Sort: ASC, DESC
$eq, $ne, $exists, $in, $any, $begins, $gt, $lt, $lte, $gte
singleResource.locationOptions.availableInAllLocationsSearch: ✗
Aggregate:
Sort: ASC, DESC
$eq, $ne, $exists, $in, $any
singleResource.locationOptions.specificLocationOptions.availableInBusinessLocationsSearch: ✗
Aggregate:
Sort: ASC, DESC
$eq, $ne, $exists, $in, $any
Permissions
Read Bookings - Public Data
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
searchCursorSearchRequired

Search criteria including filter, sort, aggregations, and paging options.

Refer to the supported filters article for complete filter and sorting options.

Returns
Return Type:Promise<SearchResourcesResponse>
Errors

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

Did this help?