---
title: "CustomerEmailAddress"
description: "Represents an email address."
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/customer-email-address'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/customer-email-address.md'
---
# CustomerEmailAddress

Represents an email address.

- **API Version:** v20270301
- **API Type:** Admin
- **API Protocol:** GraphQL
- **Operation Type:** Object

## Type Signature

`CustomerEmailAddress`

## Fields

* `emailAddress`

  [String](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

  Customer default email

* `marketingState`

  [CustomerEmailMarketingState](https://developer.shopline.com/docs/admin-graph-ql-api/customers/enums/customer-email-marketing-state.md)

  Email subscription status

* `marketingUnsubscribeUrl`

  [String](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

  The URL to unsubscribe for member

## Schema Definition

```graphql
type CustomerEmailAddress { 
	emailAddress: String
	marketingState: CustomerEmailMarketingState
	marketingUnsubscribeUrl: String 
}
```

## Field from

* [CustomerMergePreviewDefaultFields](https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/customer-merge-preview-default-fields.md).email

  Customer email address (including subscription information)

* [CustomerMergePreviewAlternateFields](https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/customer-merge-preview-alternate-fields.md).email

  Customer's email information

* [CustomerSegmentMember](https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/customer-segment-member.md).defaultEmailAddress

  Customer default email address

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes).

