Delete a product category
Soft-delete the product category: it stops appearing in list and fetch responses, while the row is retained. Returns 404 if the category does not exist for your company or is already deleted.
Deleting also removes this category — and each of its subcategories — from any price tier filters that referenced them, so those price tiers stop scoping by the removed category. The deleted category's name stays reserved: it cannot be reused by a new category until the deleted one is renamed.
Required permission: settings_permissions_product_categories.
BearerAuthorizationBearer <token>API token generated in Distru (Settings → Distru API). Send it on every request as Authorization: Bearer YOUR_API_TOKEN.
id*stringID of the product category to delete, as returned in a category's id field.
No Content
curl -X DELETE 'https://app.distru.com/public/v1/product-categories/00000000-0000-0000-0000-0000000000dd'