Loading...
Was this page helpful?
This documentation provides a reference to the softDeleteProductTags
method. This belongs to the Product Module.
This method is used to delete tags. Unlike the delete method, this method won't completely remove the tag. It can still be accessed or retrieved using methods like retrieve if you pass the withDeleted
property to the config
object parameter.
The soft-deleted tags can be restored using the restore method.
tagIds
string[]returnLinkableKeys
property any of the tag's relation attribute names.Promise
Promise<void | Record<string, string[]>>void
.