POST

Query Services


Note: This query method uses the new Wix API Query Language syntax. If you're still using the old query syntax with chained query builder methods, see Migrate from SDK Query Builders to Wix API Query Language for guidance. The old query builder methods continue to work.

Retrieves a list of up to 100 services, given the provided paging, filtering, and sorting.

Defaults

Query Services has the following default settings, which you can override:

  • Sorted by createdDate in ascending order.
  • paging.limit set to 100.
  • paging.offset set to 0.

Filters

When using filters for dates, you must use UTC time.

Refer to the supported filters article for a complete list of supported filters and sorting options.

See also

To learn about working with Query methods, see API Query Language and Sorting and Paging.

PropertyFiltersSort
_id$eq, $ne, $exists, $in, $hasSome, $startsWith, $gt, $lt, $lte, $gteSort: ASC, DESC
name$eq, $ne, $exists, $in, $hasSome, $startsWith, $gt, $lt, $lte, $gteSort: ASC, DESC
type$eq, $ne, $exists, $in, $hasSomeSort: ASC, DESC
description$eq, $ne, $exists, $in, $hasSome, $startsWith, $gt, $lt, $lte, $gteSort: ASC, DESC
hidden$eq, $ne, $exists, $in, $hasSomeSort: ASC, DESC
tagLine$eq, $ne, $exists, $in, $hasSome, $startsWith, $gt, $lt, $lte, $gteSort: ASC, DESC
staffMemberIds$eq, $ne, $exists, $in, $hasSome, $hasAllSort: ASC, DESC
form._id$eq, $ne, $exists, $in, $hasSome, $startsWith, $gt, $lt, $lte, $gteSort: ASC, DESC
category._id$eq, $ne, $exists, $in, $hasSome, $startsWith, $gt, $lt, $lte, $gteSort: ASC, DESC
category.name$eq, $ne, $exists, $in, $hasSome, $startsWith, $gt, $lt, $lte, $gteSort: ASC, DESC
locations.business._id$eq, $ne, $exists, $in, $hasSome, $startsWith, $gt, $lt, $lte, $gteSort: ASC, DESC
mainSlug.name$eq, $ne, $exists, $in, $hasSome, $startsWith, $gt, $lt, $lte, $gteSort: ASC, DESC
supportedSlugs.name$eq, $ne, $exists, $in, $hasSome, $startsWith, $gt, $lt, $lte, $gteSort: ASC, DESC
onlineBooking.enabled$eq, $ne, $exists, $in, $hasSomeSort: ASC, DESC
payment.options.online$eq, $ne, $exists, $in, $hasSomeSort: ASC, DESC
payment.options.inPerson$eq, $ne, $exists, $in, $hasSomeSort: ASC, DESC
payment.options.pricingPlan$eq, $ne, $exists, $in, $hasSomeSort: ASC, DESC
schedule.firstSessionStart$eq, $ne, $exists, $in, $hasSome, $lt, $lte, $gt, $gteSort: ASC, DESC
schedule.lastSessionEnd$eq, $ne, $exists, $in, $hasSome, $lt, $lte, $gt, $gteSort: ASC, DESC
Permissions
Wix Multilingual - Nile Wrapper Domain Events Read
Learn more about app permissions.
Method Declaration
Copy
Errors

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

Did this help?