updateGoal
Updates a goal
GraphQL Schema
extend type mutation {
"""Updates a goal"""
updateGoal(input: UpdateGoalInput): UpdateGoalPayload
}
Arguments
Name | Type | Description |
---|---|---|
input | [UpdateGoalInput](/04-reference/05-Input Objects/UpdateGoalInput.mdx) |
Response Shape
This mutation returns UpdateGoalPayload
Name | Type | Description |
---|---|---|
success | Boolean! | Whether the mutation was successful |
error | ErrorType | Error information |
goal | Goal |