Chameleoon MAX · Print templates
setPrintTemplateArchived mutation
setPrintTemplateArchived is a GraphQL mutation of the Chameleoon MAX API. Send it as POST https://max-api.chameleoon.sk/api/v1/graphql with your API key, see Chameleoon MAX.
Archives or restores a print template. Call it to take a template out of use without deleting it.
- Requires the
company.writepermission on an API key that no legal-entity scope narrows. - An archived template leaves the list and is never the default. When it was the default, the MAX built-in template prints in its place.
- A restored template is not made the default again.
- The name of an archived template does not block a new template.
CONFLICTwith reasonDUPLICATE_NAMEwhen you restore a template whose name an active template now has.
Arguments
input:SetPrintTemplateArchivedInput!· required
Returns
Example
Mutation
Code
Variables
Code
Response
Code
Values are illustrative: replace IDs and codes with your own before you send the call.