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.

Admin Method

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

Permission Scopes

For app development, you must have one of the following permission scopes:
Manage Bookings Services and Settings
Manage Bookings
Manage Bookings - all permissions
Learn more about permission scopes.
Method Declaration
Copy
Method Parameters
_idstringRequired

ID of the serviceOptionsAndVariants object.


serviceOptionsAndVariantsUpdateServiceOptionsAndVariantsRequired

Service options and variants to update.

Returns
Return Type:Promise<ServiceOptionsAndVariants>
Was this helpful?
Yes
No