Update a letter
update_letterChange a letter. Only the fields you send change (lang, style… are kept). Links keep working. guests replaces the list but keeps each existing guest's id and link (matched by id, then by name); addGuests appends without touching anyone else.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| lang | No | Language guests read the letter in | |
| seal | No | Wax seal mark: "" none, "_" plain, "icon:<id>", "ini:ABC", "duo:A|J" | |
| style | No | Look of the letter and envelope (see catalog.styles) | |
| blocks | No | Letter blocks, top to bottom. Replaces all blocks. Use {name} in text to address each guest. | |
| custom | No | Overrides on top of the style: accent/paper/ink/envelope colours, head/body fonts | |
| guests | No | The full guest list. Guests keep their id and link when matched by id or, failing that, by name. | |
| preset | No | Start from an occasion preset (pre-filled blocks). On update it only changes the occasion. | |
| editKey | Yes | ||
| envelope | No | Envelope slot blocks, partial like letter blocks (see catalog.envelope for each slot's block type) | |
| addGuests | No | Guests to append; existing guests and links are untouched. | |
| sealShape | No | ||
| nameFallback | No | What {name} reads as without a guest (default: "Dear Guest" in the letter language) |