Mutation
mutation UpdateCrewTerritory($id: ID!) {
updateCrewTerritory(id: $id) {
result {
id
archivedAt
name
crewType
color
customLeadName
}
errors {
message
code
fields
path
}
}
}Variables
{
"id": "id"
}Response
{
"data": {
"updateCrewTerritory": {
"result": {
"id": "id",
"archivedAt": "value",
"name": "string",
"crewType": "string",
"color": "string",
"customLeadName": "string"
},
"errors": [
{
"message": "string",
"code": "string",
"fields": [
"string"
],
"path": [
"string"
]
}
]
}
}
}Mutations
updateCrewTerritory
MUTATION
updateCrewTerritory(id: ID!, input: UpdateCrewTerritoryInput): UpdateCrewTerritoryResult!Arguments
id
ID!
required
Returns
result
The successful result of the mutation
errors
[MutationError!]!
Any errors generated, if the mutation failed
Mutation
mutation UpdateCrewTerritory($id: ID!) {
updateCrewTerritory(id: $id) {
result {
id
archivedAt
name
crewType
color
customLeadName
}
errors {
message
code
fields
path
}
}
}Variables
{
"id": "id"
}Response
{
"data": {
"updateCrewTerritory": {
"result": {
"id": "id",
"archivedAt": "value",
"name": "string",
"crewType": "string",
"color": "string",
"customLeadName": "string"
},
"errors": [
{
"message": "string",
"code": "string",
"fields": [
"string"
],
"path": [
"string"
]
}
]
}
}
}