AbTestSegment document (Data API 18.1)

Document representing an A/B Test Segment

Property Type Constraints Description
allocation Integer   Test Segment percentage allocation
custom_experience Boolean   Flag to determine if this Test Segment is a customer experience
description String maxLength=4000 Test Segment description
id String maxLength=40, minLength=1, nullable=false Test segment id
link String   A link to the segment
promotions [Promotion]   Promotions which this segment has as experiences
slot_configs [SlotConfiguration]   Slot configurations which this segment has as experiences
sorting_rules [SortingRule]   Sorting rules which this segment has as experiences
stats AbTestSegmentStats   Statistics about the segment
X OCAPI versions 15.x and 16.x will be retired on March 31, 2021. For dates and more information, see the OCAPI versioning and deprecation policy and this Knowledge Article.