updateServiceOptionsAndVariants( )


Developer Preview

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.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Bookings Services and Settings
Manage Bookings - all permissions
Manage Bookings
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
_idstringRequired

ID of the serviceOptionsAndVariants object.


serviceOptionsAndVariantsUpdateServiceOptionsAndVariantsRequired

Service options and variants to update.

Returns
Return Type:Promise<ServiceOptionsAndVariants>
Did this help?