Update item fields
data_update_itemUpdate an item by shallow-merging fields; set a key to null to remove it. Optimistic concurrency checks the expected version to avoid overwrites.
Instructions
Shallow-merge fields into an item (set a key to null to remove it). Uses optimistic concurrency.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| actor | No | ||
| fields | Yes | ||
| command_id | Yes | idempotency key — generate a fresh uuid per action | |
| expected_version | No | the item version you last saw |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| ok | Yes | ||
| eot | No | ||
| seq | No | ||
| item | No | ||
| note | No | ||
| reason | No | ||
| deleted | No | ||
| collection | No | ||
| violations | No | ||
| expected_version | No | ||
| prev_collection_seq | No |