# UpdatePrintTemplateInput input


`UpdatePrintTemplateInput` is a GraphQL input of the Chameleoon MAX API.

## Input fields

### id

[`UUID!`](/chameleoon-max/type/uuid) · required

The template's MAX id.

### name

`String`

The new name, 1 to 120 characters, unique per kind and language.

### language

`String`

The new language: `sk`, `cs` or `en`. A template moved to another language stops being the
default, unless `isDefault` makes it the default again.

### body

`String`

The new template in the renderer's layout JSON, at most 512 KiB.

### isDefault

`Boolean`

Whether the template is the one its kind and language print with. When `true`, the previous
default stops being the default.

## Used by

- [`updatePrintTemplate`](/chameleoon-max/mutation/update-print-template) (mutation)
