Skip to main content
Skip to main content

deleteCollections - Product Module Reference

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

This method is used to delete collections by their ID.

Example

await productModuleService.deleteCollections([
"pcol_123",
"pcol_321",
])

Parameters

productCollectionIdsstring[]Required
The IDs of the product collections to be updated.
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?