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