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
categoryId
stringRequiredThe ID of the product category to delete.
sharedContext
ContextA context used to share resources, such as transaction manager, between the application and the module.
sharedContext
ContextReturns
Promise
Promise<void>RequiredResolves when the product category is successfully deleted.
Was this section helpful?