Update Record
update_recordUpdate an existing record in a pane's collection by replacing its data. Supports optimistic locking to prevent conflicts and returns the updated record.
Instructions
Update an existing row in a pane's record collection (replaces its data). Pass if_match with the row's current version for an optimistic-locked update — on a version mismatch the relay returns the current row so you can retry. Returns { record }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The new record body (replaces the row's data). | |
| pane_id | Yes | The pane id. | |
| if_match | No | Optional optimistic-lock version. On mismatch the update is rejected with the current row in details.current. | |
| collection | Yes | The record collection name. | |
| record_key | Yes | The key of the record to update. |