v1

latestOpenAPI 3.0.02026-08-062903562.2 MB
Theme

updateTheme

Update existing Theme for a Campaign

put/themes/{theme}

Path parameters

themestring required
Example:5df32f6a7402874de6093201

Primary identifier of Theme

Request body

campaign_idinteger

Primary identifier of Campaign

stylesobject nullable

Theme properties like style, pages, type, etc

Example request

{
  "campaign_id": 227362,
  "styles": {
    "background": {
      "blur": 0,
      "color": "rgba(64, 72, 78, 1)",
      "colorOpacity": 100,
      "fixed": false
    }
  }
}

Response

Success

idstring

Primary identifier of Theme

created_atstring date-time

Date/time of initial Theme creation

updated_atstring date-time

Date/time of Theme last updated

campaign_idinteger

Primary identifier of Campaign

stylesobject nullable

Theme properties like style, pages, type, etc

Example response

{
  "id": "5df32f6a7402874de6093201",
  "created_at": "2019-04-23T10:25:03Z",
  "updated_at": "2019-04-23T10:25:03Z",
  "campaign_id": 227362,
  "styles": {
    "background": {
      "blur": 0,
      "color": "rgba(64, 72, 78, 1)",
      "colorOpacity": 100,
      "fixed": false
    }
  }
}