Update property
update_propertyChange selected fields on a property without overwriting others; clear fields with null and validate dates, money, area, and percentages.
Instructions
Change fields on a property. Only the fields you pass change; set a field to null to clear it. Field names from list_property_fields. Dates as YYYY-MM-DD (DD/MM/YYYY also accepted). Money accepts 150000, "£150,000" or "150k". "Internal Area" is square metres ("73", "73 sq m"; "790 sq ft" is converted). Percentages (rates, agent fee, ownership) are stored as fractions: send "4.5%" or 4.5 (stored as 0.045); values of 1 or less are taken as fractions already. Invalid values are rejected with a field-specific error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | ||
| confirm | No | Set true once the user has approved writes for this session | |
| propertyId | Yes |