v1

latestOpenAPI 3.0.32026-07-22177397578.0 KB
Variation

Partially update a variation

Update several fields of a variation

patch/variations/{variationId}

Path parameters

variationIdinteger required

Request body

cssCodestring

Code editor-css style

experimentIdinteger

Experiment id for this variation

isJsCodeAfterDomReadyboolean

Set to true (which is also the default value) if the code is applied after the DOM is ready.

jsCodestring

Code editor-javascript code

namestring

Name of the given variation

shadowDomboolean

ShadowDOM option

Example request

{
  "prompt": {
    "attachments": [
      {
        "name": "US-39613---Image-attachement"
      }
    ]
  }
}

Response

OK