Skip to main content
Skip to main content

deleteOptions - Product Module Reference

This documentation provides a reference to the deleteOptions method. This belongs to the Product Module.

This method is used to delete a product option.

Example

await productModuleService.deleteOptions([
"opt_123",
"opt_321",
])

Parameters

productOptionIdsstring[]Required
The IDs of the product options to delete.
sharedContextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<void>Required
Resolves when the product options are successfully deleted.
Was this section helpful?