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

This function requires elevated permissions and runs only on the backend and on dashboard pages.

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

ID of the serviceOptionsAndVariants object.


serviceOptionsAndVariantsUpdateServiceOptionsAndVariantsRequired

Service options and variants to update.


optionsUpdateServiceOptionsAndVariantsOptions

Options for updating the service options and variants.

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