Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.49 KB

CheckAudienceBlock.md

File metadata and controls

39 lines (24 loc) · 1.49 KB

CheckAudienceBlock

A block that checks whether a given customer profile is a member of an audience.

Properties

Name Type Description Notes
id String Unique identifier for this block. [optional] [readonly]
type String Identifies the block variant and determines which additional properties are present in it.
tags List<String> Semantic labels attached to this block. [optional] [readonly]
operator OperatorEnum An indicator of how the block compares its elements.
profile ProfileEnum The customer profile to check against the audience. `Current` targets the customer in the current session; `Advocate` targets the person who invited their friend via referral program. Only applies to the `member` and `not(member)` operators; ignored for `justJoined` and `justLeft`. [optional]
audience AudienceBlockReference
onFailure List<Object> Promotion blocks evaluated when this block fails or returns false. [optional]

Enum: OperatorEnum

Name Value
MEMBER "member"
NOT_MEMBER_ "not(member)"
JUSTJOINED "justJoined"
JUSTLEFT "justLeft"

Enum: ProfileEnum

Name Value
CURRENT "Current"
ADVOCATE "Advocate"