Widget

Partially update template

Update several fields of template

patch/templates/{templateId}

Request

Path parameters

templateIdinteger required

The Id of the template object

Request body

configstring

The widget editor configuration field is connected to the translation locales field in JSON format

descriptionstring

Description of the template

isCustomTemplateboolean

Iindicates if a custom template is being used

namestring

Name of the template

siteIdinteger

Site Id of the project this widget belongs to

status'DRAFT' | 'ACTIVE' | 'PAUSED'

Template status

tagsstring[]

Tags that belong to this template

templateCssCodestring

CSS code that belongs to this template

templateHtmlCodestring

HTML code that belongs to this template

templateJavaScriptCodestring

JavaScript code that belongs to this template

themeIdinteger

Id of the theme linked to the widget.

type'TEMPLATE' | 'EDITOR' | 'PBX'

Type of template

uiCssCodestring

UI CSS code that belongs to this template

uiHtmlCodestring

UI HTML code belongs to this template

urlstring

Url belonging to this template

useCustomDataboolean

Indicates if custom data is being used

widgetEditorTemplatestring

Widget editor code that belongs to this template

Response

OK

configstring

Widget editor configuration field linked to the translation locales field in JSON format.

cssCodestring

CSS that belongs to this template.

dateActivatedstring date-time

Date when the widget was activated.

dateCreatedstring date-time

Date when this widget was created

dateModifiedstring date-time

Date when this widget was modified

descriptionstring

Description of the template.

htmlCodestring

UI text that belongs to this template.

idinteger

Unique Id of the template

isCustomTemplateboolean

Indicates if this is a custom template.

namestring

Name of the template.

siteIdinteger required

Web Id of the studio template.

status'DRAFT' | 'ACTIVE' | 'PAUSED'

Template status.

tagsstring[]

Tags that belong to this template.

templateCssCodestring

CSS code that belongs to this template.

templateHtmlCodestring

HTML code that belongs to this template.

templateJavaScriptCodestring

JavaScript code that belongs to this template.

themeIdinteger

Id of the theme linked to the widget.

type'TEMPLATE' | 'EDITOR' | 'PBX'

Type of template.

urlstring

Url associated with this template.

useCustomDataboolean

Indicates if custom data is being used.

widgetEditorTemplatestring

Widget editor code that belongs to this template.

Changes

No recorded changes to this operation across all 1 revision of this API.