create_template

POST https://api.bootic.net/v1/themes/{id}/templates

Use this relation to add a new HTML, CSS or JavaScript template to a theme.

$ curl -XPOST -H'Accept:application/json' -H'Content-Type:application/json' -H "Authorization: Bearer xxxx" -i https://api.bootic.net/v1/themes/:id/templates -d[REQUEST_BODY]

Request body

{
  "file_name": "about.html",
  "body": "This is the About Us page"
}

Response

Responds with a template.