Update Satisfaction Survey
gorgias_update_satisfaction_surveyUpdate an existing satisfaction survey by ID, replacing its data while preserving customer and ticket links. Read the survey first to get necessary IDs.
Instructions
PUT /api/satisfaction-surveys/{id} — Update an existing satisfaction survey by ID. This is a full-replacement PUT: customer_id and ticket_id must be re-sent to preserve the survey's linkage. Read the survey first via gorgias_get_satisfaction_survey to obtain the IDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The unique ID of the satisfaction survey to update | |
| meta | No | Custom key-value data for the survey. Set to null to clear | |
| score | No | Satisfaction score, integer 1-5 (1 = worst, 5 = best). The Gorgias API accepts any integer in the inclusive range. | |
| body_text | No | The comment sent by the customer (max 1000 characters). Set to null to clear | |
| ticket_id | Yes | The ID of the ticket the survey is associated with. Required: PUT is a full-replacement operation. | |
| customer_id | Yes | The ID of the customer who filled the survey. Required: PUT is a full-replacement operation. | |
| sent_datetime | No | ISO 8601 datetime when the survey was sent. Set to null to clear | |
| scored_datetime | No | ISO 8601 datetime when the survey was filled by the customer. Set to null to clear | |
| created_datetime | No | ISO 8601 datetime the survey was created. Include to preserve the original creation timestamp through a full-replacement PUT. | |
| should_send_datetime | No | ISO 8601 datetime when the survey should be sent. Set to null to prevent Gorgias from automatically sending it |