Chameleoon MAX · Types
CopyPrintTemplateInput input
What to copy. Pass exactly one of id and builtIn.
Input fields
id
The MAX id of the organisation's template to copy.
builtIn
The MAX built-in template to copy.
name
String! · required
The copy's name, 1 to 120 characters. When an active template of the same kind and language
already has the name, MAX tries the name followed by a space and a number, from 2 up to
20 (for example Invoice 2), and uses the first one that is free. When all of them are
taken, or a numbered name would be over 120 characters, the call fails with CONFLICT and
reason DUPLICATE_NAME.
Used by
copyPrintTemplate(mutation)