Skip to main content

abTestDuplicate

Clones a test and its variants into a new draft named as a duplicate, assigns fresh results tracking ids, and returns only the new test id. Requires A/B testing create access.

abTestDuplicate(
id: Int!
): AbTestMutationResult!

Arguments​

abTestDuplicate.id ● Int! non-null scalar​

Test id from abTestList, abTestRefList, or abTestCreate.

Type​

AbTestMutationResult object​

New draft id returned by abTestDuplicate; fetch its editor data with abTestEditorDetail.