documentTemplateUpdate
Update an existing document template's configuration.
Modifies document template details including layout, content, formatting, and generation settings while maintaining template integrity.
Possible errors:
- TEMPLATE_NOT_FOUND: Template with specified ID does not exist
- TEMPLATE_UPDATE_ERROR: Failed to update template due to system issues
- HANDLEBARS_PRECOMPILE_ERROR: Template precompilation failed due to syntax errorsAUTH: Role=[configuration.OWNER,configuration.EDITOR]
documentTemplateUpdate(
id: String!
input: DocumentTemplateUpdateInput!
): DocumentTemplate!
Arguments
documentTemplateUpdate.id
● String!
non-null scalar
Unique identifier for the document template to update.
UUID that uniquely identifies the document template in the system, used for targeting the specific template for modification.
documentTemplateUpdate.input
● DocumentTemplateUpdateInput!
non-null input
Document template update data.
Partial configuration for updating an existing document template, all fields are optional for selective modifications of content, file naming, and default designations.
Type
DocumentTemplate
object
Document template for automated PDF and document generation.
Defines the structure, layout, and content for generating documents such as invoices, quotes, reports, and certificates. Supports localized content, dynamic data integration, and can serve as default templates for specific document types.