Companies

Update a company (name, status, branding; the theme is merged field by field, null removes a field)

patch/api/v1/companies/{id}

Request

  • Base URL: https://qrlia.dev.castlesoft.eu
  • URL: https://qrlia.dev.castlesoft.eu/api/v1/companies/{id}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie qrc_session

Path parameters

idstring uuid required

Request body

namestring

Human-readable display name.

status'active' | 'suspended' | 'archived'

Lifecycle state. archived companies are hidden from default listings but kept for analytics joins.

Response

Updated

idstring uuid required

UUID of the company.

tenantIdstring uuid required
slugstring required

Stable identifier within a tenant. Lowercase, dashes allowed, 3–40 chars.

namestring required

Human-readable display name.

status'active' | 'suspended' | 'archived' required

Lifecycle state. archived companies are hidden from default listings but kept for analytics joins.

createdAtstring date-time required
updatedAtstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.