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
  • description string

    Description of template

  • editorType string

    Possible values: [BANNER, EMAIL, POPIN, COUNTDOWN]

    The editor type of 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

  • uiCssCode string

    UiCssCode that is associated with this template

  • uiHtmlCode string

    UiHtmlCode that is associated with this 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
  • 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

  • editorType string

    Possible values: [BANNER, EMAIL, POPIN, COUNTDOWN]

    The editor type of 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

  • uiCssCode string

    UiCssCode that is associated with this template

  • uiHtmlCode string

    UiHtmlCode that is associated with this 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...