Skip to main content
PATCH
Update A/B Test
Update an A/B test’s effective settings. Campaign and sequence tests use different selection models:
  • Campaign tests use testPercentage, testDurationMinutes, and winnerCriteria.
  • Sequence tests use testType, winnerThreshold, and winnerCriteria.
Sequence settings that affect an active test or a test with recorded activity require confirmLiveChange: true.

Request

string
required
A/B test ID.
string
Updated test name.
number
Campaign-only share of the audience used for testing, from 5 to 50.
number
Campaign-only duration before winner selection, from 15 to 1440 minutes.
string
Winner metric for either test kind: open_rate or click_rate.
string
Sequence-only variant strategy: subject or content. When winnerCriteria is omitted, subject defaults to open_rate and content defaults to click_rate.
number
Sequence-only number of recipients before selecting a winner, from 10 to 1000.
boolean
Required as true when changing selection settings for an active sequence test or one with recorded activity.

Response

The response includes kind and an effective settings object. Use settings when copying a test. The legacy testPercentage: 100 and testDurationMinutes: 0 fields on sequence tests are retained for backwards compatibility and are not sequence runtime settings.