Skip to main content

updateGoal

Updates a goal

GraphQL Schema

extend type mutation {
"""Updates a goal"""
updateGoal(input: UpdateGoalInput): UpdateGoalPayload
}

Arguments

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

Response Shape

This mutation returns UpdateGoalPayload

NameTypeDescription
successBoolean!Whether the mutation was successful
errorErrorTypeError information
goalGoal