Update Customer Field Value
gorgias_update_customer_field_valueUpdate a customer's custom field value in Gorgias by specifying the customer ID, field definition ID, and a value matching the field's data type. Pass null to clear the value.
Instructions
PUT /api/customers/{customer_id}/custom-fields/{id} — Update the value of a single custom field for a given customer. The path 'id' is the custom field definition ID (field.id from GET /api/customers/{customer_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/customers/{customer_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. | |
| customer_id | Yes | The ID of the customer whose custom field value is to be updated. | |
| definition_id | Yes | The custom field definition ID sent as 'id' in the request body. Typically the same as the path 'id'. |