Mutation
mutation UpdateProjectTrade($id: ID!) {
updateProjectTrade(id: $id) {
result {
id
label
description
color
active
position
}
errors {
message
code
fields
path
}
}
}Variables
{
"id": "id"
}Response
{
"data": {
"updateProjectTrade": {
"result": {
"id": "id",
"label": "string",
"description": "string",
"color": "string",
"active": true,
"position": 1
},
"errors": [
{
"message": "string",
"code": "string",
"fields": [
"string"
],
"path": [
"string"
]
}
]
}
}
}Mutations
updateProjectTrade
MUTATION
updateProjectTrade(id: ID!, input: UpdateProjectTradeInput): UpdateProjectTradeResult!Arguments
id
ID!
required
Returns
result
The successful result of the mutation
errors
[MutationError!]!
Any errors generated, if the mutation failed
Mutation
mutation UpdateProjectTrade($id: ID!) {
updateProjectTrade(id: $id) {
result {
id
label
description
color
active
position
}
errors {
message
code
fields
path
}
}
}Variables
{
"id": "id"
}Response
{
"data": {
"updateProjectTrade": {
"result": {
"id": "id",
"label": "string",
"description": "string",
"color": "string",
"active": true,
"position": 1
},
"errors": [
{
"message": "string",
"code": "string",
"fields": [
"string"
],
"path": [
"string"
]
}
]
}
}
}