---
title: "CustomerMergePreviewDefaultFields"
description: "Preview of fields retained after merging two customers"
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/customer-merge-preview-default-fields'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/customer-merge-preview-default-fields.md'
---
# CustomerMergePreviewDefaultFields

Preview of fields retained after merging two customers

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

## Type Signature

`CustomerMergePreviewDefaultFields`

## Fields

* `defaultAddress`

  [MailingAddress](https://developer.shopline.com/docs/admin-graph-ql-api/common-objects/objects/mailing-address.md)

  Default address after customer merge

* `displayName`

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

  The customer's full name, consisting of first_name and last_name. If first_name and last_name are not available, this field will return the customer's email address. If the customer's email is not available, this field returns the customer's phone number.

* `draftOrderCount`

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

  Total number of draft orders combined

* `email`

  [CustomerEmailAddress](https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/customer-email-address.md)

  Customer email address (including subscription information)

* `firstName`

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

  The first name resulting from the customer merge

* `lastName`

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

  Last name resulting from customer merger

* `note`

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

  Merge notes resulting from customer merge

* `orderCount`

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

  Total number of combined orders

* `phoneNumber`

  [CustomerPhoneNumber](https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/customer-phone-number.md)

  Telephone information (including subscription information)

* `state`

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

  Customer status

* `tags`

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

  A collection of merged tags resulting from a customer merge

## Schema Definition

```graphql
type CustomerMergePreviewDefaultFields { 
	defaultAddress: MailingAddress
	displayName: String
	draftOrderCount: Int
	email: CustomerEmailAddress
	firstName: String
	lastName: String
	note: String
	orderCount: Int
	phoneNumber: CustomerPhoneNumber
	state: CustomerState
	tags: [String] 
}
```

## Field from

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

  Fields retained after merging two customers

## 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).

