Create template
Adds a new HTML, CSS or JavaScript template to a theme. The file_name extension
determines the content type (html, css, js). Requires admin scope.
POST
/themes/{theme_id}/templatesAuthorization
AuthorizationBearer token (JWT) · headerrequiredOAuth 2.0 Bearer token. Obtain via POST https://auth.onbolder.com/oauth/token.
Scopes:
adminPath parameters
theme_idstringrequiredRequest body
requiredapplication/jsonfile_namestringrequiredFile name including extension, e.g. about.html
bodystringrequiredTemplate content
Responses
201
Template created
idstringfile_namestringnamestringcontent_typestringAllowed:
htmlcssjsbodystringupdated_onstring<date-time>_linksobject