---
title: "CustomerMergeError"
description: "The error blocking a customer merge."
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-error'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/customer-merge-error.md'
---
# CustomerMergeError

The error blocking a customer merge.

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

## Type Signature

`CustomerMergeError`

## Fields

* `errorFields`

  [[CustomerMergeErrorFieldType]](https://developer.shopline.com/docs/admin-graph-ql-api/customers/enums/customer-merge-error-field-type.md)

  List of fields that prevent customer merging

* `message`

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

  The customer merge error message.

## Schema Definition

```graphql
type CustomerMergeError { 
	errorFields: [CustomerMergeErrorFieldType]
	message: String 
}
```

## Field from

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

  Error preventing client merge

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

