Skip to main content

UpdateDocumentTemplateConfigInput

Saves a document template setup. It needs the settings:documents:update permission.

input UpdateDocumentTemplateConfigInput {
accentColor: String
companyAddress: String
companyName: String
documentType: String!
footerText: String
logoAssetKey: String
style: String
terms: String
visibleColumns: [String!]
}

Fields​

UpdateDocumentTemplateConfigInput.accentColor ● String scalar​

The accent colour.

UpdateDocumentTemplateConfigInput.companyAddress ● String scalar​

The company address printed on the document.

UpdateDocumentTemplateConfigInput.companyName ● String scalar​

The company name printed on the document.

UpdateDocumentTemplateConfigInput.documentType ● String! non-null scalar​

The kind of document the template is for.

The footer text printed on the document.

UpdateDocumentTemplateConfigInput.logoAssetKey ● String scalar​

Inline base64 data URL (data:image/...), or "" to clear

UpdateDocumentTemplateConfigInput.style ● String scalar​

The layout style of the document.

UpdateDocumentTemplateConfigInput.terms ● String scalar​

The terms printed on the document.

UpdateDocumentTemplateConfigInput.visibleColumns ● [String!] list scalar​

The columns shown in the line items table.

Member Of​

updateDocumentTemplateConfig mutation