Customer Marketing Consent State
Anchor to Valid valuesValid values
- NEVER_SUBSCRIBED
- PENDING
- REDACTED
- SUBSCRIBED
- UNSUBSCRIBED
- Anchor to NEVER_SUBSCRIBEDNEVER_
SUBSCRIBED The customer has never subscribed to marketing on this channel. This is the default state for any channel the customer has not interacted with. Read-only: cannot be set as an input.
- Anchor to PENDINGPENDING
The customer is in the process of subscribing to marketing on this channel, for example, pending an opt-in confirmation.
- Anchor to REDACTEDREDACTED
The customer's personal data is erased. This value is internally-set and read-only.
- Anchor to SUBSCRIBEDSUBSCRIBED
The customer is subscribed to marketing on this channel.
- Anchor to UNSUBSCRIBEDUNSUBSCRIBED
The customer isn't currently subscribed to marketing on this channel but was previously subscribed.
Anchor to FieldsFields
- •INTERFACE
The marketing consent information for one of a customer's marketing channels. Implemented by per-channel types such as
.- •INPUT OBJECT
The input fields for the marketing consent information when a customer consented to receiving marketing material on a given channel. Used by channel-specific consent mutations such as
.- •OBJECT
The WhatsApp marketing consent information for a customer's phone number. Implements the
interface. Use themutation to change it.