---
title: customerEmailMarketingSubscribe - Customer API
description: Subscribes the customer to email marketing.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/customer/latest/mutations/customerEmailMarketingSubscribe
  md: >-
    https://shopify.dev/docs/api/customer/latest/mutations/customerEmailMarketingSubscribe.md
api_name: customer
api_type: graphql
type: mutation
---

# customer​Email​Marketing​Subscribe

mutation

Requires `customer_write_customers` access scope.

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
