queryServiceOptionsAndVariants( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves a list of serviceOptionsAndVariants, given the provided paging, filtering, and sorting.

queryServiceOptionsAndVariants() runs with these defaults, which you can override:

  • id is sorted in ASC order
  • cursorPaging.limit is 100

For a detailed list of supported filtering operations see supported filters.

PROPERTYSUPPORTED FILTERS & SORTING
_ideq(),in(),ne(),ascending(),descending()
serviceIdeq(),in(),ne(),ascending(),descending()
options.valuesexists()
options.values.idhasSome()
options.values.typehasSome()
variants.valuesexists()
variants.values.choices.customhasSome()
variants.values.choices.optionIdhasSome()
variants.values.price.valuehasSome()
variants.values.price.currencyhasSome()
Permissions
Read Bookings - Public Data
Manage Bookings Services and Settings
Manage Bookings
Read Bookings - Including Participants
Read Bookings - all read permissions
Manage Bookings - all permissions
Learn more about app permissions.
Method Declaration
Copy
Request
This method does not take any parameters
Errors

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

Did this help?