POST

Query Service Options And Variants


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 serviceOptionsAndVariants objects, given the provided paging, filtering, and sorting.

Query Service Options And Variants* runs with these defaults, which you can override:

  • id sorted in ASC order.
  • cursorPaging.limit set to 100.

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

PropertyFiltersSort
_id$eq, $in, $neSort: ASC, DESC
serviceId$eq, $in, $neSort: ASC, DESC
options.values$existsNone
variants.values$existsNone
options.values._id$hasAll, $hasSomeNone
options.values.type$hasAll, $hasSomeNone
variants.values.price.value$hasAll, $hasSomeNone
variants.values.price.currency$hasAll, $hasSomeNone
variants.values.choices.custom$hasAll, $hasSomeNone
variants.values.choices.optionId$hasAll, $hasSomeNone
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?