deleteCategory - Product Module Reference
BetaThis documentation provides a reference to the deleteCategory method. This belongs to the Product Module.
This method is used to delete a product category by its ID.
Example
Parameters
categoryIdstringRequiredThe ID of the product category to delete.
sharedContextContextA context used to share resources, such as transaction manager, between the application and the module.
sharedContextContextReturns
PromisePromise<void>RequiredResolves when the product category is successfully deleted.
Was this section helpful?