This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Updates the specified fields of the serviceOptionsAndVariants
object.
Currently, only a single option is supported per serviceOptionsAndVariants
object.
If you want to update variants
, you must pass the full list of supported variants.
If you want to update options
, you must pass the full list of supported options.
This function requires elevated permissions and runs only on the backend and on dashboard pages.
ID of the serviceOptionsAndVariants
object.
Service options and variants to update.
Options for updating the service options and variants.