v1

latestSwagger 2.02026-07-134026156.7 KB
Templates

Update a Template

Updates template content and properties. For HTML templates, you can modify the HTML, SCSS, headers, footers, name, and description. Changes are applied to your draft template and do not affect published template versions.

put/templates/{template_id}

Path parameters

template_idstring required

Request body

Example request

{
  "template": {
    "html": "updated html",
    "scss": "updated scss",
    "header_html": "updated header",
    "footer_html": "updated footer",
    "webhook_options": {
      "exclude_data": true
    }
  }
}

Response

update template success

status'success' | 'error' required
errorsstring[]