deleteServiceOptionsAndVariants( )
Developer Preview
This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Deletes a serviceOptionsAndVariants
object.
Because each service has only a single serviceOptionsAndVariants
object, the
service won't have any supported options and variants any longer. Instead,
the standard Wix Bookings service price calculation is used.
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:Learn more about permission scopes.
Method Declaration
Copy
Method Parameters
serviceOptionsAndVariantsIdstringRequired
ID of the serviceOptionsAndVariants object to delete.
optionsDeleteServiceOptionsAndVariantsOptions
Options for deleting the service options and variants.
Was this helpful?
Yes
No