update_record
Update fields on an existing farmOS record via PATCH, changing only the fields you provide; requires writes enabled.
Instructions
Update fields on an existing record (PATCH). Only the fields you pass change. Requires writes to be enabled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Record UUID | |
| bundle | Yes | Bundle of the record | |
| attributes | No | Only the fields to change | |
| entity_type | Yes | One of: asset, log, plan, quantity, taxonomy_term, organization | |
| relationships | No | Relationships to replace (full replacement per relationship). Use null to clear a to-one relationship. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||