Update Ticket Custom Field Values (Bulk)
gorgias_update_ticket_fieldsUpdate multiple custom field values on a ticket in a single request. Provide field definition IDs and values; omitted fields remain unchanged.
Instructions
PUT /api/tickets/{ticket_id}/custom-fields — Update multiple custom field values on a ticket in a single request. Each item in the 'fields' array requires 'id' (the CUSTOM FIELD DEFINITION ID from GET /api/custom-fields) and 'value'. Fields not included are left unchanged. Returns array of updated field value objects (each with value-record 'id' and 'value').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Array of custom field updates. Each item needs 'id' (definition ID) and 'value'. The request body sent to the API is this array directly. | |
| ticket_id | Yes | The unique ID of the ticket whose custom field values are being updated |