stack

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

AdminTypes.CustomerSmsMarketingConsentState interface

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

The customer’s consent state reflects the record with the most recent date when consent was updated.

Signature:

export interface CustomerSmsMarketingConsentState 

Properties

Property Modifiers Type Description
consentCollectedFrom?   Maybe<CustomerConsentCollectedFrom | `${CustomerConsentCollectedFrom}`> (Optional) The source from which the SMS marketing information for the customer was collected.
consentUpdatedAt?   Maybe<Scalars[‘DateTime’][‘output’]> (Optional) The date and time when the customer consented to receive marketing material by SMS. If no date is provided, then the date and time when the consent information was sent is used.
marketingOptInLevel   CustomerMarketingOptInLevel | `${CustomerMarketingOptInLevel}` The marketing subscription opt-in level that was set when the customer consented to receive marketing information.
marketingState   CustomerSmsMarketingState | `${CustomerSmsMarketingState}` The current SMS marketing state for the customer.