## Package: dw.campaign
# Class ABTest
## Inheritance Hierarchy
- Object
- dw.object.PersistentObject
- dw.campaign.ABTest
## Description
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.
## Properties
### ID
**Type:** String (Read Only)
Get the test ID for this AB-test.
## Constructor Summary
## Method Summary
### getID
**Signature:** `getID() : String`
Get the test ID for this AB-test.
## Method Detail
## Method Details
### getID
**Signature:** `getID() : String`
**Description:** Get the test ID for this AB-test.
**Returns:**
the test ID for this AB-test.
---
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/taurgis/sfcc-dev-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server