Delete Category
DELETE/api/v1/customer-data/taxonomies/:taxonomyLevelCustomId/categories/:customId
Soft-deletes a category and recursively soft-deletes its entire descendant subtree. Product assignments on affected categories are preserved (not removed).
A deleted category (and each deleted descendant) can be restored individually via POST with the same customId — see the Create Category endpoint. Restoring does not cascade to descendants: each customId must be restored separately, and the immediate parent must already be restored (live) before a child can be restored.
Request​
Responses​
- 204
- 401
- 404
- 500
Category and its descendant subtree soft-deleted successfully.
Authentication credentials were not provided or are invalid.
The taxonomy level or the category does not exist (including already soft-deleted).
Internal Server Error