A block that checks whether a given customer profile is a member of an audience.
| 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] |
| Name | Value |
|---|---|
| MEMBER | "member" |
| NOT_MEMBER_ | "not(member)" |
| JUSTJOINED | "justJoined" |
| JUSTLEFT | "justLeft" |
| Name | Value |
|---|---|
| CURRENT | "Current" |
| ADVOCATE | "Advocate" |