Update ticket fields values

Replace the custom field values for a ticket.

Important — replace-all semantics: The request body must contain all custom field values you want the ticket to have. Any field that currently has a value on the ticket but is not included in the request body will be deleted.

Some system-managed fields (e.g. AI Agent Outcome, AI Intent) can only be deleted by Gorgias internal apps.

Safe pattern: fetch the current values with GET /api/tickets/{ticket_id}/custom-fields, merge your changes, and send the full list back.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

The ID of the ticket.

Body Params
ticket custom field values
Response

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json