Briefkopf hochladen
letterhead_uploadLädt einen Briefkopf als PNG oder PDF hoch und speichert ihn im Partnerprofil. Quelle ist entweder fileUrl (bevorzugt) oder fileBase64, genau eine von beiden. PNG wird auf die Seite gedruckt; ein PDF-Briefkopf wird vorerst nur abgelegt, gedruckt wird bisher nur PNG (rendered=false). Beim Nachbau eines vorhandenen Briefs: Logo und Titelblock aus dem Kopf der Seite gehören hierher (dann letter_design_save); der Brieftext bleibt den blocks vorbehalten. EN: Uploads a letterhead as PNG or PDF and stores it in the partner profile. The source is either fileUrl (preferred) or fileBase64, exactly one of the two. PNG is printed on the page; a PDF letterhead is only filed for now, printing stays PNG-only (rendered=false). When rebuilding an existing letter: the logo and title block at the top of the page belong here (then letter_design_save); the letter body stays reserved for blocks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileUrl | No | Öffentliche http(s)-URL des Briefkopfs (PNG oder PDF), Alternative zu fileBase64. Bevorzuge diese Variante: Base64 kostet unnötig Kontext und verleitet zu starker Farbreduktion, die den gedruckten Briefkopf verschlechtert. Maximal 20 MB. EN: Public http(s) URL of the letterhead (PNG or PDF), alternative to fileBase64. Prefer this variant: base64 wastes context and encourages heavy colour reduction, which degrades the printed letterhead. Maximum 20 MB. | |
| widthMm | No | Breite in mm (optional). EN: Width in mm (optional). | |
| heightMm | No | Höhe in mm (optional). EN: Height in mm (optional). | |
| placement | No | Platzierung auf der Seite. EN: Placement on the page. | |
| reasoning | No | ||
| fileBase64 | No | Der Briefkopf als PNG oder PDF (Base64), Alternative zu fileUrl. EN: The letterhead as PNG or PDF (Base64), alternative to fileUrl. | |
| displayName | No | Anzeigename des Briefkopfs (optional). EN: Display name of the letterhead (optional). |