--- title: CustomerMarketingOptInLevel - GraphQL Admin description: >- The possible values for the marketing subscription opt-in level enabled at the time the customer consented to receive marketing information. The levels are defined by [the M3AAWG best practices guideline document](https://www.m3aawg.org/sites/maawg/files/news/M3AAWG_Senders_BCP_Ver3-2015-02.pdf). api_version: 2026-01 api_name: admin type: enum api_type: graphql source_url: html: >- https://shopify.dev/docs/api/admin-graphql/latest/enums/CustomerMarketingOptInLevel md: >- https://shopify.dev/docs/api/admin-graphql/latest/enums/CustomerMarketingOptInLevel.md --- # Customer​Marketing​Opt​In​Level enum The possible values for the marketing subscription opt-in level enabled at the time the customer consented to receive marketing information. The levels are defined by [the M3AAWG best practices guideline document](https://www.m3aawg.org/sites/maawg/files/news/M3AAWG_Senders_BCP_Ver3-2015-02.pdf). ## Valid values * CONFIRMED\_OPT\_IN * SINGLE\_OPT\_IN * UNKNOWN *** ## Fields * * * * * * *** ## Map ### Fields with this enum * [Customer​Email​Address.marketingOptInLevel](https://shopify.dev/docs/api/admin-graphql/latest/objects/CustomerEmailAddress#field-CustomerEmailAddress.fields.marketingOptInLevel) * [Customer​Email​Marketing​Consent​State.marketingOptInLevel](https://shopify.dev/docs/api/admin-graphql/latest/objects/CustomerEmailMarketingConsentState#field-CustomerEmailMarketingConsentState.fields.marketingOptInLevel) * [Customer​Phone​Number.marketingOptInLevel](https://shopify.dev/docs/api/admin-graphql/latest/objects/CustomerPhoneNumber#field-CustomerPhoneNumber.fields.marketingOptInLevel) * [Customer​Sms​Marketing​Consent​State.marketingOptInLevel](https://shopify.dev/docs/api/admin-graphql/latest/objects/CustomerSmsMarketingConsentState#field-CustomerSmsMarketingConsentState.fields.marketingOptInLevel) ### Inputs with this enum * [Customer​Email​Marketing​Consent​Input.marketingOptInLevel](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CustomerEmailMarketingConsentInput#fields-marketingOptInLevel) * [Customer​Sms​Marketing​Consent​Input.marketingOptInLevel](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CustomerSmsMarketingConsentInput#fields-marketingOptInLevel)