update_template

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

Use this relation to update an existing theme template.

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

Request body

Status: 200 OK
Content-Type: application/json; charset=utf-8
Connection: keep-alive
ETag: "0728e2965bd03e20a7f1c33add2f8775"
Last-Modified: Fri, 20 Jun 2014 22:34:14 GMT
Cache-Control: must-revalidate, private, max-age=0
Date: Wed, 31 Jul 2013 21:11:52 GMT
X-OAuth-Scopes: admin
{
  "body": "This is the new content of the template"
}

Response

Responds with an updated template resource.