Skip to main content
PATCH
Update A/B Test Variant
Update an A/B test variant’s subject, preview text, or body content. You can use raw HTML or Sequenzy block JSON for the body. Campaign variants remain editable only while the test is in draft. Sequence variants can be edited later with explicit confirmation because the change affects future sends and can make results combine different content versions.

Request

string
required
A/B test ID.
string
required
Variant ID.
string
Updated subject line.
string
Updated preview text. Send null to clear it.
string
Replacement HTML body. Use this or blocks, not both.
array
Replacement Sequenzy email blocks. Use this or html, not both. Put block styling under styles; top-level style keys like backgroundColor, backgroundOpacity, borderColor, borderWidth, and borderRadius are normalized into styles.
boolean
Required as true when the sequence is active, the test is no longer a draft, or the test has recorded activity. Earlier sends are unchanged, so the combined A/B test results may no longer be accurate.

Responses