DocumentTemplateUpdateInput
No description
input DocumentTemplateUpdateInput {
names: [LocalizedStringInput!]
contents: [LocalizedTemplateContentInput!]
customQuery: String
queryVariables: String
fileNames: [LocalizedStringInput!]
isDefaultOrderPdf: Boolean
isDefaultQuotePdf: Boolean
}
Fields
DocumentTemplateUpdateInput.names
● [LocalizedStringInput!]
list input
The name of the template per given language
DocumentTemplateUpdateInput.contents
● [LocalizedTemplateContentInput!]
list input
Uploaded handlebars template content, per given language
DocumentTemplateUpdateInput.customQuery
● String
scalar
GraphQL query to be executed before rendering the template to fetch additional data not in the original event payload.
DocumentTemplateUpdateInput.queryVariables
● String
scalar
Variables that are use in the custom query, can use handlebars variables. Has to be a valid JSON string after rendering
DocumentTemplateUpdateInput.fileNames
● [LocalizedStringInput!]
list input
File name to use when rendering a document template per given language, supports handlebars variables
DocumentTemplateUpdateInput.isDefaultOrderPdf
● Boolean
scalar
Indicates whether the template is used for default order PDF generation
DocumentTemplateUpdateInput.isDefaultQuotePdf
● Boolean
scalar
Indicates whether the template is used for default quote PDF generation
Member Of
documentTemplateUpdate
mutation