Menu
Update Satisfaction Survey
Update a survey
PUT
/api/satisfaction-surveys/{id}Use it in a workflow
- Add a step and choose the Gorgias connector.
- Pick the Update Satisfaction Survey action (under Satisfaction Surveys).
- Fill in the fields below, then reference the result from later steps as
{{updateSatisfactionSurvey.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"body_text": "Such speed, much pertinent.",
"created_datetime": "2019-11-16T15:59:41.966927",
"customer_id": 120,
"meta": {
"externalData": {
"id": 1234
}
},
"score": 2,
"scored_datetime": "2019-11-25T15:59:41.966927",
"sent_datetime": "2019-11-23T15:59:41.966927",
"should_send_datetime": "2019-11-23T15:59:41.966927",
"ticket_id": 12
}
Response
Returns 202 with an object. Read it in later steps with {{updateSatisfactionSurvey.response.data.<field>}}.
{
"id": 1234,
"body_text": "Such speed, much pertinent.",
"created_datetime": "2019-11-16T15:59:41.966927",
"customer_id": 120,
"meta": {
"externalData": {
"id": 1234
}
},
"score": 2,
"scored_datetime": "2019-11-25T15:59:41.966927",
"sent_datetime": "2019-11-23T15:59:41.966927",
"should_send_datetime": "2019-11-23T15:59:41.966927",
"ticket_id": 12,
"uri": "string"
}
Need more? See the Gorgias guide for connection setup and behaviour shared by every action.
Was this page helpful?