Merge Customers
gorgias_merge_customersMerge duplicate customer profiles by combining source data into a target and deleting the source. Consolidate customer information into a single record.
Instructions
PUT /api/customers/merge — Merge two customers. The source customer's data is merged into the target customer, then the source is deleted. Fails with 409 if both customers have data for the same integration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | User-defined JSON metadata to set on the target customer during merge. | |
| name | No | Full name to set on the target customer during merge. | |
| note | No | Note to set on the target customer during merge. | |
| No | Primary email address to set on the target customer during merge. | ||
| channels | No | Contact channels to set on the target customer during merge. | |
| language | No | Preferred language (ISO 639-1) to set on the target customer during merge. | |
| timezone | No | Timezone (IANA name) to set on the target customer during merge. | |
| source_id | Yes | The ID of the customer to merge (the source). This customer will be deleted after the merge. | |
| target_id | Yes | The ID of the target customer (which will still exist after the merge). | |
| external_id | No | External ID to set on the target customer during merge. |