stack

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

AdminTypes.CustomerEmailMarketingConsentInput interface

Information that describes when a customer consented to receiving marketing material by email.

Signature:

export interface CustomerEmailMarketingConsentInput 

Properties

Property Modifiers Type Description
consentUpdatedAt?   InputMaybe<Scalars[‘DateTime’][‘input’]> (Optional) The latest date and time when the customer consented or objected to receiving marketing material by email.
marketingOptInLevel?   InputMaybe<CustomerMarketingOptInLevel | `${CustomerMarketingOptInLevel}`> (Optional) The customer opt-in level at the time of subscribing to marketing material.
marketingState   CustomerEmailMarketingState | `${CustomerEmailMarketingState}` The current marketing state associated with the customer’s email. If the customer doesn’t have an email, then this field is null.