store_update
Update an existing record in-place by ID, preserving audit metadata and bumping updated_at. Returns not_found error for unknown IDs; use store_put to create new records.
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 |