stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > CustomerEmailMarketingConsentState

AdminTypes.CustomerEmailMarketingConsentState interface

The record of when a customer consented to receive marketing material by email.

Signature:

export interface CustomerEmailMarketingConsentState 

Properties

Property Modifiers Type Description
consentUpdatedAt?   Maybe<Scalars[‘DateTime’][‘output’]> (Optional) The date and time at which the customer consented to receive marketing material by email. The customer’s consent state reflects the consent record with the most recent consent_updated_at date. If no date is provided, then the date and time at which the consent information was sent is used.
marketingOptInLevel?   Maybe<CustomerMarketingOptInLevel | `${CustomerMarketingOptInLevel}`> (Optional) The marketing subscription opt-in level, as described by the M3AAWG best practices guidelines, that the customer gave when they consented to receive marketing material by email.
marketingState   CustomerEmailMarketingState | `${CustomerEmailMarketingState}` The current email marketing state for the customer.