Mutation
mutation UpdateAutoresponder($input: UpdateAutoresponderInput!) {
updateAutoresponder(input: $input) {
autoresponder {
id
name
order
messageSources
conditions {
__typename
... on AutoresponderTierCondition {
__typename
}
}
textContent
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"autoresponderId": "id"
}
}Response
{
"data": {
"updateAutoresponder": {
"autoresponder": {
"id": "id",
"name": "string",
"order": 1,
"messageSources": [
"EMAIL"
],
"conditions": [
{
"__typename": "AutoresponderTierCondition"
}
],
"textContent": "string"
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
updateAutoresponder
Update one or more fields on an existing autoresponder. Only fields provided in the input are changed; omitted fields retain their current values. Requires the autoresponder:edit permission.
MUTATION
updateAutoresponder(input: UpdateAutoresponderInput!): UpdateAutoresponderOutput!Arguments
input
required
Returns
autoresponder
error
Mutation
mutation UpdateAutoresponder($input: UpdateAutoresponderInput!) {
updateAutoresponder(input: $input) {
autoresponder {
id
name
order
messageSources
conditions {
__typename
... on AutoresponderTierCondition {
__typename
}
}
textContent
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"autoresponderId": "id"
}
}Response
{
"data": {
"updateAutoresponder": {
"autoresponder": {
"id": "id",
"name": "string",
"order": 1,
"messageSources": [
"EMAIL"
],
"conditions": [
{
"__typename": "AutoresponderTierCondition"
}
],
"textContent": "string"
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

