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 a list of up to 100 categories, given the provided paging, filtering, and sorting. Query Categories runs with these defaults, which you can override.

  • displayPosition is sorted in DESC order.
  • paging.limit is 50.
  • paging.offset is 0.

To learn about working with Query endpoints, see API Query Language, Sorting and Paging, and Field Projection.

PropertyFiltersSort
_id$eq, $ne, $in, $ninSort: ASC, DESC
title$eq, $ne, $startsWith, $lt, $lte, $gt, $gte, $exists, $inSort: ASC, DESC
label$eq, $ne, $startsWith, $lt, $lte, $gt, $gte, $exists, $inSort: ASC, DESC
postCount$eq, $ne, $lt, $lte, $gt, $gte, $inSort: ASC, DESC
displayPosition$eq, $ne, $lt, $lte, $gt, $gte, $inSort: ASC, DESC
translationId$eq, $ne, $exists, $inNone
language$eq, $ne, $exists, $inSort: ASC, DESC
slug$eq, $ne, $exists, $inSort: ASC, DESC
Permissions
Read Blog
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?