APIProduct category

Delete a product category

DELETE
/public/v1/product-categories/{id}

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.

Authorization

Bearer
headerAuthorizationBearer <token>

API token generated in Distru (Settings → Distru API). Send it on every request as Authorization: Bearer YOUR_API_TOKEN.

Path Parameters

id*string

ID of the product category to delete, as returned in a category's id field.

Response Body

No Content

Example Request
curl -X DELETE 'https://app.distru.com/public/v1/product-categories/00000000-0000-0000-0000-0000000000dd'
Example Response
Empty