---
title: customerEmailMarketingSubscribe - Customer API
description: Subscribes the customer to email marketing.
api_version: unstable
api_name: customer
source_url:
  html: >-
    https://shopify.dev/docs/api/customer/unstable/mutations/customerEmailMarketingSubscribe
  md: >-
    https://shopify.dev/docs/api/customer/unstable/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/unstable/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/unstable/objects/UserErrorsCustomerEmailMarketingUserErrors)

  non-null

  The list of errors that occurred from executing the mutation.

***

## Examples

* ### customerEmailMarketingSubscribe reference
