Skip to main content

updateGoals

Updates multiple goals

GraphQL Schema

extend type mutation {
"""Updates multiple goals"""
updateGoals(input: UpdateGoalsInput): UpdateGoalsPayload
}

Arguments

NameTypeDescription
input[UpdateGoalsInput](/04-reference/05-Input Objects/UpdateGoalsInput.mdx)

Response Shape

This mutation returns UpdateGoalsPayload

NameTypeDescription
successBoolean!Whether the mutation was successful
errorErrorTypeError information
goals[Goal]