CustomerMarketingOptInLevel enum

The valid values for the marketing subscription opt-in active at the time the customer consented to email marketing.

The levels are defined by the M3AAWG best practices guideline document.


Values

  • CONFIRMED_OPT_IN
    After providing their email address, the customer received a confirmation email which required them to perform a prescribed action before receiving marketing emails.
  • SINGLE_OPT_IN
    The customer started receiving marketing email(s) after providing their email address, without any intermediate steps.
  • UNKNOWN
    The customer receives marketing emails, but the original opt-in process is unknown.


Types that return CustomerMarketingOptInLevel

  • [Customer.marketingOptInLevel](https://shopify.dev/docs/admin-api/graphql/reference/customers/customer#marketingoptinlevel-2021-01)