--- title: customerEmailMarketingSubscribe - Customer API description: Subscribes the customer to email marketing. api_version: 2025-10 api_name: customer type: mutation api_type: graphql source_url: html: >- https://shopify.dev/docs/api/customer/latest/mutations/customerEmailMarketingSubscribe md: >- https://shopify.dev/docs/api/customer/latest/mutations/customerEmailMarketingSubscribe.md --- # customer​Email​Marketing​Subscribe mutation Subscribes the customer to email marketing. ## Customer​Email​Marketing​Subscribe​Payload returns * email​Address [Customer​Email​Address](https://shopify.dev/docs/api/customer/latest/objects/CustomerEmailAddress) The customer's email address that's subscribed to the email marketing. * user​Errors [\[User​Errors​Customer​Email​Marketing​User​Errors!\]!](https://shopify.dev/docs/api/customer/latest/objects/UserErrorsCustomerEmailMarketingUserErrors) non-null The list of errors that occurred from executing the mutation. *** ## Examples * ### customerEmailMarketingSubscribe reference ## Mutation Reference ```graphql mutation customerEmailMarketingSubscribe { customerEmailMarketingSubscribe { emailAddress { # CustomerEmailAddress fields } userErrors { field message } } } ``` ## Input ##### Variables ```json {} ```