Custom fields
Fields defined by the company on entities. The type and key no longer change after creation.
Module: Settings (settings).
Endpoints
Section titled “Endpoints”GET /api/v1/field_definitions- List with filters, sorting and pagination (scopesettings:read)GET /api/v1/field_definitions/{id}- A record by id (scopesettings:read)POST /api/v1/field_definitions- Create a record (scopesettings:write)PATCH /api/v1/field_definitions/{id}- Modify the submitted fields (scopesettings:write)DELETE /api/v1/field_definitions/{id}- Delete or deactivate (scopesettings:write)POST /api/v1/field_definitions/{id}/convert- Moves the field’s list to Nomenclatures, without losing the values. (scopesettings:write)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).entity_key(string; read)field_key(string; read)label(string; write, required)field_type(string; read)required(boolean; write)options(array; write)list_visible(boolean; write)form_order(integer; read)created_at(string, date-time; read): Creation date (ISO 8601).is_active(boolean; write): Whether the record is active.label_i18n(object; read)entity(string; write, required)type(string; write, required)nomenclature(string; write)multiple(boolean; write)
Events
Section titled “Events”field_definitions.createdfield_definitions.updatedfield_definitions.deleted