Partially update a variation
Update several fields of a variation
Warning: The Automation API doesn’t yet support personalizations migrated to the new model with rules. For a variation of a migrated personalization, this endpoint returns 200 and saves the code, but Kameleoon doesn’t regenerate the public script until you save the personalization in the Kameleoon app. Until Kameleoon releases API support, manage migrated personalizations in the Kameleoon app.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
Code editor CSS style
Experiment ID for this variation
Set to true (which is also the default value) if the code applies after the DOM is ready.
Code editor JavaScript code
Name of the given variation
Object used to define an autorun message in the variation. Triggers the creation of a message of type autorun if valid
ShadowDOM option
Response
OK
JSON representation of the variation
Name of the variation
Site ID of the project the variation belongs to
Variation color displayed in the editor
Creation mode of the variation: CODE_BASE, GRAPHICAL, AI or UNDEFINED
AI, CODE_BASE, GRAPHICAL, UNDEFINED, WIDGET Code editor CSS code for variation
Custom JSON for this variation
ID of the experiment this variation belongs to
Delay in seconds between two exposures
Frequency of exposure during the same visit
Frequency of the exposure for the same visitor
Delay in seconds between exposure for the same visitor
Unique ID of the variation
Set to true (which is also the default value) if the code applies once the DOM is ready.
Code editor javascript code for variation
ID of the personalization this variation belongs to
Object used to define an autorun message in the variation. Triggers the creation of a message of type autorun if valid
Redirection parameters of a variation
Redirect URL used for redirecting variation. Deprecated property: use property 'redirection' instead
ShadowDOM option
Widget template input data in JSON format.