Update theme CSS variables for a paywall

Replace or merge the theme-level CSS variables. Default mode is merge. Pass a value of null to delete a key (merge mode only).

put/paywalls/css-variables

Request

  • Base URL
    https://api.web2wave.com/api
  • URL
    https://api.web2wave.com/api/paywalls/css-variables
  • Auth
    API key in header api_key

Headers

api_keystring required

Request body

paywall_idinteger required
css_variablesobject required

Map of --var-name to value. Null deletes a key in merge mode.

mode'merge' | 'replace'

Example request

{
  "paywall_id": 11563
}

Response

Variables updated

successboolean
paywall_idinteger
modestring
css_variablesobject

Changes

No recorded changes to this operation across all 2 revisions of this API.