APIProduct group

Delete a product group

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

Permanently deletes the product group. This is a hard delete: the record is removed and cannot be recovered. Returns 404 if no group with that ID belongs to the company.

Deleting a group ripples to everything that referenced it: • Products in this group are un-grouped — their group becomes empty. The products themselves are not deleted. • The group is dropped from any menus that featured it as a collection. • Any price tier that targeted or excluded this group has that condition removed, which changes which products those price tiers apply to.

Required permission: settings_permissions_product_groups.

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 group's Distru ID, as returned in the id field of any product group response.

Response Body

No Content

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