POST

Query Categories


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 up to 1000 categories, given the specified paging, filtering, and sorting.

Defaults

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

  • Most responses are sorted by id in ascending order. Tip: Always specify a sort order to ensure consistent results.
  • cursorPaging.limit set to 50.

See also

To learn about working with Query methods in general, see:

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
sortOrder$eq, $ne, $exists, $in, $hasSome, $lt, $lte, $gt, $gteSort: ASC, DESC
Permissions
Read Bookings - Public Data
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?