Skip to main content
PATCH
Update a template

Phase

Phase 1 (Launch)

Path parameters

string
required
Template ID, e.g., tpl_abc123.

Request

All fields are optional. Only include the fields you want to change.
string
Updated name.
string
Updated HTML content.
string
Updated CSS.
object
Updated schema. Existing PDFs generated with the old schema are unaffected.
object
Updated default rendering options.
object
Updated sample data.
string
Updated description.

Response

Returns the full updated template. The version field is incremented.
Template updates are not retroactive. PDFs already generated from the old version are unaffected. The template.version field on each PDF records which version was used.

Example