Skip to main content
Version: v1.0.0(int)

E052: Delete customer type

DELETE /api/customer-types/:id

Removes a customer type that no customer references. Triggered from Settings, Customer types.

Authentication

Standard tenant route. Requires Authorization: Bearer <firebase-id-token> and X-Org-Id: <org-id>. Access: Admin.

Request

No body.

Response — 200 OK

{ "deletedId": "uuid" }

Echo of the deleted type's id.

Errors

HTTPcodeCondition
404not_foundNo such type.
409in_useCustomers reference this type.

Workflow

Calls W052 Delete customer type.