Mutation
mutation ReorderAutoresponders($input: ReorderAutorespondersInput!) {
reorderAutoresponders(input: $input) {
autoresponders {
id
name
order
messageSources
conditions {
__typename
... on AutoresponderTierCondition {
__typename
}
}
textContent
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"autorespondersOrder": [
{
"autoresponderId": "id",
"order": 1
}
]
}
}Response
{
"data": {
"reorderAutoresponders": {
"autoresponders": [
{
"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
reorderAutoresponders
Set new order values for one or more autoresponders. You must pass a unique order integer and a unique autoresponder ID for each entry; duplicate IDs or duplicate order values are rejected. Only the autoresponders included in the input are repositioned — others are left unchanged. Requires the autoresponder:edit permission.
MUTATION
reorderAutoresponders(input: ReorderAutorespondersInput!): ReorderAutorespondersOutput!Arguments
input
required
Returns
autoresponders
error
Mutation
mutation ReorderAutoresponders($input: ReorderAutorespondersInput!) {
reorderAutoresponders(input: $input) {
autoresponders {
id
name
order
messageSources
conditions {
__typename
... on AutoresponderTierCondition {
__typename
}
}
textContent
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"autorespondersOrder": [
{
"autoresponderId": "id",
"order": 1
}
]
}
}Response
{
"data": {
"reorderAutoresponders": {
"autoresponders": [
{
"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?

