stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > Customer > marketingOptInLevel

AdminTypes.Customer.marketingOptInLevel property

Warning: This API is now obsolete.

Use emailMarketingConsent instead.

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.

If the customer doesn’t accept email marketing, then this property is null.

Signature:

marketingOptInLevel?: Maybe<CustomerMarketingOptInLevel | `${CustomerMarketingOptInLevel}`>;