store_update
Update an existing record in-place: same ID, updated_at refreshed, audit metadata retained. Unknown IDs return not_found; creation requires store_put.
Instructions
Replace an existing record's data in-place — same ID, updated_at bumped,
audit metadata retained. Never creates: an unknown ID returns
{error: not_found} (use store_put to create). deviation declares
pattern-departure exactly as in store_put. Returns {id} on success.
Confined to your store_scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | ||
| record | Yes | ||
| deviation | No | ||
| record_id | Yes | ||
| collection | Yes |