Update Custom Field
gorgias_update_custom_fieldUpdate a custom field by ID with new label, definition, or settings. Include object_type, label, and definition even if unchanged; set deactivated_datetime to deactivate.
Instructions
PUT /api/custom-fields/{id} — Update a single custom field by ID. The three required fields (object_type, label, definition) must always be included even if unchanged. To deactivate a field, set deactivated_datetime to a past ISO 8601 timestamp.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The unique ID of the custom field to update | |
| label | Yes | The display name of the custom field (required even if unchanged) | |
| priority | No | Controls display order. Lower values appear first (0–5000) | |
| required | No | Whether this field must be filled in by agents | |
| definition | Yes | The data type definition and input settings (required even if unchanged) | |
| description | No | A human-readable description of the custom field (max 1024 characters) | |
| external_id | No | ID of the custom field in a foreign system (e.g., Zendesk) | |
| object_type | Yes | Type of entity this custom field applies to (required even if unchanged) | |
| managed_type | No | Managed field type classification. Null for standard custom fields | |
| deactivated_datetime | No | ISO 8601 datetime to deactivate the field. Set to null to reactivate |