update_theme

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

Use this relation to update a theme’s settings, which are a set of key-value pairs.

$ curl -XPUT -H'Accept:application/json' -H'Content-Type:application/json' -H "Authorization: Bearer xxxx" -i https://api.bootic.net/v1/themes/: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
{
  "title": "My theme",
  "settings": {
    "background_color": "#fff",
    "font_color": "red"
  }
}

Response

Responds with an updated theme resource.