---
title: "CustomerMergeUserError"
description: "An error that occurs while 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-user-error'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/customer-merge-user-error.md'
---
# CustomerMergeUserError

An error that occurs while merging two customers.

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

## Type Signature

`CustomerMergeUserError`

## Fields

* `code`

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

  The error code

* `field`

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

  The path to the input field that caused the error.

* `message`

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

  The error message.

## Schema Definition

```graphql
type CustomerMergeUserError { 
	code: CustomerMergeErrorCode
	field: String
	message: String 
}
```

## Field from

* [CustomerMergePayload](https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/customer-merge-payload.md).userErrors

  List of errors that occurred while performing mutation

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

