API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · complaint_reasons

Complaint Reason Schema

Schema ID
complaint_reason
Collection
complaint_reasons
Permissions
  • Readcomplaint_reason_view
  • Createcomplaint_reason_create
  • Editcomplaint_reason_edit
  • Deletecomplaint_reason_delete

Fields

Complaint Reason Schema

complaint_reasons4 permissions

Schema for configurable root-cause categories that can be assigned to complaints

namestringrequired

Display name of the reason

1–100 characters
colorstringoptional

Hex color code for the reason (e.g. #FF5733)

Patternnullable
descriptionstringoptional

Optional description of the reason

max 200 charactersnullable

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/complaint_reasons — List, paginated + filterable
  • GET /api/v1/complaint_reasons/<id> — Single entity
  • POST /api/v1/complaint_reasons — Create
  • PATCH /api/v1/complaint_reasons/<id> — Partial update
  • DELETE /api/v1/complaint_reasons/<id> — Soft delete
  • GET /api/v1/complaint_reasons/<id>/timeline — Audit + activities

Search