younifyd
Menu

Update Ticket Custom Field

Update ticket field value

PUT/api/tickets/{ticket_id}/custom-fields/{id}

Use it in a workflow

  1. Add a step and choose the Gorgias connector.
  2. Pick the Update Ticket Custom Field action (under Tickets).
  3. Fill in the fields below, then reference the result from later steps as {{updateTicketCustomField.response.data}}.

Request

Path parameters

ticket_idintegerrequired

The ID of the ticket.

idintegerrequired

The ID of the custom field.

Response

Returns 200 with an object. Read it in later steps with {{updateTicketCustomField.response.data.<field>}}.

fieldobject
idintegerrequired
external_idstring
object_typestringrequired

One ofAccountAccountSettingCustomerCustomFieldCustomFieldConditionCustomUserAvailabilityStatusCustomerExternalDataIntegrationMacroOrderRoleRuleSatisfactionSurveyShopperShopperAddressSubscriptionTagTeamTicketMessageTicketUserUserSettingViewWidget

labelstringrequired
descriptionstring
priorityintegerrequired
requiredbooleanrequired
requirement_typestringrequired

One ofvisiblerequiredconditional

managed_typestring

One ofcontact_reasonproductresolutionai_intentai_outcomeai_salesai_discountai_journeymanaged_sentimentcall_status

definitiononeOfrequired
created_datetimestring (date-time)required
updated_datetimestring (date-time)
deactivated_datetimestring (date-time)
idinteger
predictionany

Default null

valueany
json
{
  "value": null,
  "field": {
    "id": 0,
    "object_type": "Account",
    "label": "string",
    "priority": 0,
    "required": false,
    "requirement_type": "visible",
    "definition": null,
    "created_datetime": "2025-01-01T00:00:00Z",
    "external_id": "string",
    "description": "string",
    "managed_type": "contact_reason",
    "updated_datetime": "2025-01-01T00:00:00Z"
  },
  "id": 0,
  "prediction": null
}

Need more? See the Gorgias guide for connection setup and behaviour shared by every action.