Update Ticket Custom Field Value
gorgias_update_ticket_fieldUpdate or clear a Gorgias ticket's custom field value by providing the ticket ID and field definition ID, with a value matching the field's data type.
Instructions
PUT /api/tickets/{ticket_id}/custom-fields/{id} — Update the value of a single custom field on a ticket. The path 'id' is the custom field definition ID (field.id from GET /api/tickets/{ticket_id}/custom-fields). Value type must match the field's data_type: string for 'text', number for 'number', boolean for 'boolean'. Pass null to clear the value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The custom field definition ID (field.id from GET /api/tickets/{ticket_id}/custom-fields) | |
| value | Yes | The new value to assign. Type must match field's data_type: string (text), number (number), boolean (boolean). Pass null to clear. | |
| ticket_id | Yes | The unique ID of the ticket containing the custom field value to update | |
| definition_id | Yes | The custom field definition ID sent as 'id' in the request body. Typically the same as the path 'id'. |