Categories
Delete categories
Delete categories and all their associated children
<h3>Cascading Deletion</h3>When you delete a category:
- Child categories: All child categories in the hierarchy are deleted automatically
- Hierarchy Impact: The entire branch below the deleted category is removed
If a category is deleted by mistake:
- Time Window: You have up to one week to restore deleted categories
- Restoration Method: Recreate the top-level deleted category using the Create category operation
- State Recovery: Categories are restored to their exact state from the time of deletion, including all metadata, family associations, and hierarchy relationships
- Hierarchy Reconstruction: The entire hierarchy is rebuilt from the restoration payload
post/v1/catalog/categories/delete
Headers
Authorizationstring required
Authorization Bearer token
Content-Type'application/json' required
Content-Encoding'gzip'
Use this header if the payload is compressed with gzip.
Request body
Example request
[
{
"slug": "men/clothing/pants",
"source": {
"locale": "English"
}
}
]Response
All items accepted and will be processed asynchronously