update_goal

Updates one saving goal by savingGoalId for the authenticated user. Wraps the updateSavingGoal RPC.

Description

Updates one saving goal by savingGoalId for the authenticated user. Wraps the updateSavingGoal RPC.

If savingGoalId is unknown, pass goalName with the current goal name (or hint like "vacation").

Get savingGoalId from list_goals, read_goal, or create_goal.
savingGoal.amount is in CENTS, not dollars: $10,000 = 1000000.
If savingGoalFieldMasks is omitted, masks are inferred from the provided savingGoal fields.
After updating, call read_goal to verify the new values.

Input parameters

NameTypeRequiredDescription
goalNamestringNo
savingGoalobjectYes
savingGoalFieldMasksarrayNo
savingGoalIdstringNo