Tool name: update-newsletter-split-test-variant
Updates one email newsletter split-test variant's internal name, subject or preheader by emailId. This is where a variant's subject is set; its body uses the email editor. Omitted values stay unchanged. Changing subject or preheader invalidates earlier contentRevision values. Refused after the test starts; sends nothing.
Email ID of the variant to write, as get-newsletter returns it in splitTestVariants
New internal name of this variant, never sent to a recipient; omit to keep the current one
New subject line of this variant, without HTML; ask the user, never invent one. Invalidates the variant's contentRevision
New inbox preview line of this variant, at most 120 characters, without HTML; empty string removes it, omit keeps it
{ "campaignId": 1, "emailId": 1, "name": null, "subject": null, "preheader": null, "accountId": null }
{ "accountId": 0, "newsletterId": 0, "variants": [ { "emailId": 0, "label": "string", "name": "string", "subject": "string", "editorUrl": "string", "contentRevision": "string" } ], "variantCount": 0, "needsMoreVariants": true, "sharePerVariantPercent": 0, "testSizePercent": 0, "testDurationHours": 0, "winnerBy": "string", "hasStarted": true }