POST

Query Service Options And Variants


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.
Endpoint
POST
https://www.wixapis.com/bookings/v1/serviceOptionsAndVariants/query

Errors

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

Did this help?