E053: Check if customer type is in use
GET /api/customer-types/:id/in-use
Returns whether any customer references the given type. Used by the UI before exposing the delete action (W052).
Authentication
Standard tenant route. Requires Authorization: Bearer <firebase-id-token> and X-Org-Id: <org-id>. Access: Member.
Request
No body.
Response — 200 OK
{ "inUse": true, "sampleCustomerIds": ["uuid"] }
Errors
| HTTP | code | Condition |
|---|---|---|
| 404 | not_found | No such type. |