APIProduct subcategory

Delete a product subcategory

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

Permanently delete the product subcategory. Unlike product categories (which are soft deleted and recoverable), subcategories are hard deleted: the record is removed and cannot be restored.

Deleting a subcategory does not delete its products. Any product currently assigned to it keeps existing but has its subcategory cleared (it becomes uncategorized at the subcategory level). Any price tiers scoped to this subcategory are cleaned up as part of the delete. Inventory and compliance (Metrc / BioTrack) are unaffected.

Returns 204 on success and 404 if no subcategory with that id exists beneath a live product category owned by your company.

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

The product subcategory id, as returned in the id field of any subcategory response.

Response Body

No Content

Example Request
curl -X DELETE 'https://app.distru.com/public/v1/product-subcategories/00000000-0000-0000-0000-00000000006a'
Example Response
Empty