Update a water recipe
update_waterDestructive
Correct a registered water: its name, type, mineral figures or notes. Only the keys you send in fields change; send null to clear an optional field (an empty string also clears a text field, but not a number or a closed list). Required fields can be changed but not cleared. fields may be omitted when only reason is sent.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | ||
| reason | No | Optional note, appended to this record's own notes as an ordinary line. Omit it and nothing is written. | |
| water_id | Yes | This account's own water number, from list_waters. Never guess one. |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| message | Yes | ||
| water_id | Yes | ||
| changed_keys | Yes |