Change a goal
update_goalRename a goal, change its target, deadline (null = as soon as possible), months, own amount a month (monthly; null = the plan’s), account, mark it complete (done: true; it stays done when the money is spent; false reopens it), or archive it (archived: true). Amounts are integers in minor units (kopecks, cents): 45000 = 450.00. Dates are YYYY-MM-DD in the family time zone; a month is a budget period YYYY-MM (the one that starts in that month).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| done | No | ||
| icon | No | ||
| name | No | ||
| color | No | ||
| months | No | ||
| target | No | ||
| monthly | No | ||
| archived | No | ||
| deadline | No | ||
| accountId | No |