Marketing Consent Object
Properties
idstringRead-onlyformat GUID
Marketing consent ID.
revisionintegerRead-onlyformat int64
Revision number.
detailsobject
Marketing consent communication details.
statestring
5 enum supported values:
UNKNOWN_STATENEVER_CONFIRMEDREVOKEDPENDINGCONFIRMED
Marketing consent state.
- UNKNOWN_STATE: State of the marketing consent is unknown.
- NEVER_CONFIRMED: The visitor never confirmed to receive marketing consents.
- REVOKED: The marketing consent has been removed, for example, when a visitor unsubscribes from a newsletter.
- PENDING: The marketing consent is pending confirmation. Relevant only for {"optInLevel": "DOUBLE_CONFIRMATION"}.
- CONFIRMED: The site visitor has confirmed their marketing consent.
Default: UNKNOWN_STATE.
createdDatestringRead-onlyformat date-time
Date and time the marketing consent was created.
updatedDatestringRead-onlyformat date-time
Date and time the marketing consent was updated.
lastConfirmationActivityobject
Last confirmation activity of the marketing consent.
lastRevokeActivityobject
Last revoke activity of the marketing consent.
extendedFieldsobject
Additional fields.
Was this helpful?
Yes
No