Update document
update_documentChange metadata on a single document; only passed fields are modified. Use numeric IDs for correspondent, document type, storage path; tags replace the entire list.
Instructions
Change metadata on a single document. Only the fields you pass are modified. Pass numeric IDs for correspondent, document_type and storage_path — resolve names via get_metadata_overview first. Setting tags replaces the whole tag list; to add or remove individual tags across documents use bulk_edit_documents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| tags | No | Complete replacement list of tag IDs. | |
| owner | No | ||
| title | No | Give documents a descriptive title, never a scanner filename. | |
| created_date | No | Document date as YYYY-MM-DD. | |
| storage_path | No | Storage path ID, or null to clear. | |
| correspondent | No | Correspondent ID, or null to clear. | |
| custom_fields | No | Complete replacement list of custom field values. | |
| document_type | No | Document type ID, or null to clear. | |
| archive_serial_number | No |