Class ABTest

Object representing an AB-test in Commerce Cloud Digital.

AB-tests provide the merchant the ability to compare one set of storefront "experiences" - promotions, sorting rules, and slot configurations in particular - against another set. The merchant configures different AB-test segments which define the sets of experiences that the merchant wishes to test. AB-tests run for a configured period of time, and customers are randomly assigned by the platform to the test segments according to allocation percentages defined by the merchant.

PropertyDescription
ID: String (read-only)Get the test ID for this AB-test.

This class does not have a constructor, so you cannot create it directly.

MethodDescription
getID()Get the test ID for this AB-test.

getCreationDate, getLastModified, getUUID

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values

ID: String (read-only)

Get the test ID for this AB-test.


getID(): String

Get the test ID for this AB-test.

Returns:

  • the test ID for this AB-test.