Mutation
mutation ReorderThreadFieldSchemas($input: ReorderThreadFieldSchemasInput!) {
reorderThreadFieldSchemas(input: $input) {
threadFieldSchemas {
id
label
key
description
order
type
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"threadFieldSchemaOrders": [
{
"threadFieldSchemaId": "id",
"order": 1
}
]
}
}Response
{
"data": {
"reorderThreadFieldSchemas": {
"threadFieldSchemas": [
{
"id": "id",
"label": "string",
"key": "string",
"description": "string",
"order": 1,
"type": "STRING"
}
],
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
reorderThreadFieldSchemas
Updates the display order of thread field schemas. You only need to include schemas whose order is changing — omitted schemas are left unchanged.
MUTATION
reorderThreadFieldSchemas(input: ReorderThreadFieldSchemasInput!): ReorderThreadFieldSchemasOutput!Arguments
input
required
Returns
threadFieldSchemas
error
Mutation
mutation ReorderThreadFieldSchemas($input: ReorderThreadFieldSchemasInput!) {
reorderThreadFieldSchemas(input: $input) {
threadFieldSchemas {
id
label
key
description
order
type
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"threadFieldSchemaOrders": [
{
"threadFieldSchemaId": "id",
"order": 1
}
]
}
}Response
{
"data": {
"reorderThreadFieldSchemas": {
"threadFieldSchemas": [
{
"id": "id",
"label": "string",
"key": "string",
"description": "string",
"order": 1,
"type": "STRING"
}
],
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

