Skip to main content

Update template

Update template with given id

Path Parameters
  • templateId int64 required

    The ID of the template object

    Example: 100000
Request Body required
  • config string

    Widget editor config field is associated with translation locales field JSON type

  • cssCode string

    UiCssCode that is associated with this template

  • description string

    Description of template

  • htmlCode string

    UiHtmlCode that is associated with this template

  • name string

    The name for the given template

  • siteId int64 required

    The website id that an template belongs to

  • status string

    Possible values: [DRAFT, ACTIVE, PAUSED]

    Template status

  • tags string[]

    This fields stores tags that are associated with this template

  • templateCssCode string

    templateCssCode that is associated with this template

  • templateHtmlCode string

    templateHtmlCode that is associated with this template

  • templateJavaScriptCode string

    templateJavaScriptCode that is associated with this template

  • type string

    Possible values: [TEMPLATE, EDITOR]

    The type of template

  • url string

    Url associated with this template

  • useCustomData boolean

    Boolean value of use custom data

  • widgetEditorTemplate string

    Widget editor code that is associated with this template

Responses

OK


Schema
  • config string

    Widget editor config field is associated with translation locales field JSON type

  • cssCode string

    UiCssCode that is associated with this template

  • dateActivated date-time

    Date and time a record is activated

  • dateCreated date-time

    Date and time a record is created

  • dateModified date-time

    Date and time a record is modified

  • description string

    Description of template

  • htmlCode string

    UiHtmlCode that is associated with this template

  • id int64

    The unique identifier of the given template

  • name string

    The name for the given template

  • siteId int64 required

    The website id that an template belongs to

  • status string

    Possible values: [DRAFT, ACTIVE, PAUSED]

    Template status

  • tags string[]

    This fields stores tags that are associated with this template

  • templateCssCode string

    templateCssCode that is associated with this template

  • templateHtmlCode string

    templateHtmlCode that is associated with this template

  • templateJavaScriptCode string

    templateJavaScriptCode that is associated with this template

  • type string

    Possible values: [TEMPLATE, EDITOR]

    The type of template

  • url string

    Url associated with this template

  • useCustomData boolean

    Boolean value of use custom data

  • widgetEditorTemplate string

    Widget editor code that is associated with this template

Loading...