--- title: customerEmailMarketingSubscribe - Customer API description: Subscribes the customer to email marketing. api_version: 2025-01 api_name: customer type: mutation api_type: graphql source_url: html: https://shopify.dev/docs/api/customer/2025-01/mutations/customerEmailMarketingSubscribe md: https://shopify.dev/docs/api/customer/2025-01/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/2025-01/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/2025-01/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 ```json {} ```