# PiggyBankUpdate

Type: object

Schema: [PiggyBankUpdate](https://sourcey-firefly.pages.dev/api/models/piggybankupdate/index.md)

- `name` (optional)
  Type: string, string
  
  Example:
  
  ```json
  "New digital camera"
  ```

- `accounts` (optional)
  Type: array
  
  Items:
    Reference: [PiggyBankAccountUpdate](https://sourcey-firefly.pages.dev/api/models/piggybankaccountupdate/index.md); Type: object

- `currency_id` (optional)
  Type: string, string
  
  readOnly: true
  
  Example:
  
  ```json
  "5"
  ```

- `currency_code` (optional)
  Type: string, string
  
  readOnly: true
  
  Example:
  
  ```json
  "USD"
  ```

- `target_amount` (optional)
  Type: string, amount; nullable
  
  Example:
  
  ```json
  "123.45"
  ```

- `start_date` (optional)
  Type: string, date
  
  The date you started with this piggy bank.
  
  Example:
  
  ```json
  "2026-10-01"
  ```

- `target_date` (optional)
  Type: string, date; nullable
  
  The date you intend to finish saving money.
  
  Example:
  
  ```json
  "2026-10-31"
  ```

- `order` (optional)
  Type: integer, int32
  
  Example:
  
  ```json
  5
  ```

- `active` (optional)
  Type: boolean
  
  readOnly: true
  
  Example:
  
  ```json
  true
  ```

- `notes` (optional)
  Type: string, string; nullable
  
  Example:
  
  ```json
  "Some notes"
  ```

- `object_group_id` (optional)
  Type: string, string; nullable
  
  The group ID of the group this object is part of. NULL if no group.
  
  Example:
  
  ```json
  "5"
  ```

- `object_group_title` (optional)
  Type: string, string; nullable
  
  The name of the group. NULL if no group.
  
  Example:
  
  ```json
  "Example Group"
  ```