Skip to main content
Anchor to MarketingConsentState

MarketingConsentState

enum

The valid marketing consent states for a customer on a specific marketing channel. The CustomerMarketingConsent interface and channel-specific consent mutations use these values.

The customer has never subscribed to marketing on this channel. This is the default state for any channel the customer hasn't interacted with. Read-only: can't be set as an input.

The customer is in the process of subscribing to marketing on this channel, for example, pending an opt-in confirmation.

The customer's personal data is erased. This value is internally-set and read-only.

The customer is subscribed to marketing on this channel.

The customer isn't currently subscribed to marketing on this channel but was previously subscribed.


Was this section helpful?

•INTERFACE

The marketing consent information for a customer on a specific marketing channel. Channel-specific types like CustomerWhatsAppMarketingConsent implement this interface.

•INPUT OBJECT

The input fields for setting marketing consent on a customer's marketing channel. Channel-specific consent mutations like customerWhatsAppMarketingConsentUpdate use this input.

•OBJECT

The SMS marketing consent information for a customer phone number. Implements the CustomerMarketingConsent interface.

•OBJECT

The WhatsApp marketing consent information for a customer phone number. Implements the CustomerMarketingConsent interface. Use the customerWhatsAppMarketingConsentUpdate mutation to update it.


Was this section helpful?