--- title: EmailMarketingState - Customer API description: Represents the possible email marketing states for a customer. api_version: unstable api_name: customer source_url: html: 'https://shopify.dev/docs/api/customer/unstable/enums/EmailMarketingState' md: 'https://shopify.dev/docs/api/customer/unstable/enums/EmailMarketingState.md' --- # Email​Marketing​State enum Represents the possible email marketing states for a customer. ## Valid values * INVALID The customer’s email marketing state is invalid. * NOT\_​SUBSCRIBED The customer isn't subscribed to email marketing. * PENDING The customer is in the process of subscribing to email marketing. * REDACTED The customer's personal data has been erased. This value is internally-set and read-only. * SUBSCRIBED The customer is subscribed to email marketing. * UNSUBSCRIBED The customer is not currently subscribed to email marketing but was previously subscribed. *** ## Fields * [Customer​Email​Address.marketingState](https://shopify.dev/docs/api/customer/unstable/objects/CustomerEmailAddress#field-CustomerEmailAddress.fields.marketingState) OBJECT An email address associated with a customer. Apps using the Customer Account API must meet the protected customer data [requirements](https://shopify.dev/docs/apps/launch/protected-customer-data). *** ## Map ### Fields with this enum * <-|[Customer​Email​Address.marketingState](https://shopify.dev/docs/api/customer/unstable/objects/CustomerEmailAddress#field-CustomerEmailAddress.fields.marketingState)