Delete a tax group
A price list that loses its tax group keeps quoting at the default rate, so the change is invisible in the
response. This refuses with 409 tax_group_in_use:<count> while any list still points at the group;
?force=true deletes it, which is what the app does.
Errors
409 tax_group_in_use:<count>— that many price lists still reference the group. Retry with?force=true, or repoint those lists first.404 tax_group_not_found— unknown ID, or one belonging to another tenant.422 wrong_id_type:expected_tax_groups_got_<table>— the ID’s prefix isn’ttax_.
DELETE
/api/v1/tax-groups/{id}Authorization
AuthorizationBearer token (bloomcount_...) · headerrequiredPath parameters
idstringrequiredQuery parameters
forcebooleanDelete even when the cascade reaches beyond this resource.
default: false
Responses
200Deleted
deletedbooleanrequired401Missing or invalid API key, or revoked / expired.
errorstringrequired403Authenticated, but the key lacks the required scope or the tenant has no API access.
errorstringrequired404The requested resource doesn't exist or belongs to a different tenant.
errorstringrequired409The resource is still referenced, and deleting it would take other rows with it. The error names what and how
many, for example price_list_in_use:3. Retry with force=true to delete anyway.
errorstringrequired422Request body or arguments failed validation.
errorstringrequired429Per-minute rate limit (60/min) or per-month cap exceeded.
errorstringrequired