Skip to main content
Anchor to CustomerMarketingConsentState

CustomerMarketingConsentState

enum

The valid marketing consent states for a customer on a given marketing channel. Used by the CustomerMarketingConsent interface and by channel-specific consent mutations.

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.

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 one of a customer's marketing channels. Implemented by per-channel types such as CustomerWhatsAppMarketingConsent.

•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 customerWhatsAppMarketingConsentUpdate.

•OBJECT

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


Was this section helpful?