---
title: "Merge two deals with same type"
method: POST
path: "/crm/objects/2026-03/0-3/merge"
tags: ["Basic"]
---

# Merge two deals with same type

`POST /crm/objects/2026-03/0-3/merge`

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/crm/objects/2026-03/0-3/merge`
- Auth: none required

Combine two deals of the same type into a single deal.

## Request body

- PublicMergeInput: Input data for merging two records.
  - `objectIdToMerge` string, required: The ID of the object that will be merged into the primary object.
  - `primaryObjectId` string, required: The ID of the object that will remain after the merge.

## Response `200`

successful operation

- SimplePublicObject: A simple public object.
  - `archived` boolean, required: Whether the object is archived.
  - `archivedAt` string, date-time: The timestamp when the object was archived, in ISO 8601 format.
  - `createdAt` string, date-time, required: The timestamp when the object was created, in ISO 8601 format.
  - `id` string, required: The unique ID of the object.
  - `objectWriteTraceId` string: An identifier used for tracing the creation or update request of the object.
  - `properties` object, required: Key-value pairs representing the properties of the object.
  - `propertiesWithHistory` object: Key-value pairs representing the properties of the object along with their history.
  - `updatedAt` string, date-time, required: The timestamp when the object was last updated, in ISO 8601 format.
  - `url` string: The URL associated with the object.
  - `warnings` PublicObjectWarning[]
    - `category` string, required: The classification of the warning, indicating the type or nature of the issue.
    - `context` object, required: Additional information or metadata about the warning, providing context for understanding the issue.
    - `message` string, required: The text of the warning message, providing information about the issue or alert.

## Other responses

- `default`: An error occurred.

## Changes

- **2026-09-22** (2026-03) `ae1f062de6b3`: 1 info
  - the endpoint scheme security `oauth2` was removed from the API
- **2026-06-23** (2026-03) `8c12e5df4449`: 1 info
  - added the optional property `warnings` to the response with the `200` status
- **2026-04-15** (2026-03) `58dbe50e43e3`: 5 info
  - the endpoint scheme security `app_cookie` was removed from the API
  - the endpoint scheme security `hapikey` was removed from the API
  - the endpoint scheme security `internal_cookie` was removed from the API
  - the endpoint scheme security `private_apps` was removed from the API
  - …1 more
- **2026-04-09** (2026-03) `d14e3dc4e187`: 5 info
  - api operation id `post-/crm/objects/2026-03/0-3/merge` removed and replaced with `post-/crm/objects/2026-03/0-3/merge_merge`
  - the endpoint scheme security `app_cookie` was added to the API
  - the endpoint scheme security `hapikey` was added to the API
  - the endpoint scheme security `internal_cookie` was added to the API
  - …1 more
- **2026-04-03** (2026-03) `63ce4684c30a`: 1 info
  - api operation id `post-/crm/objects/2026-03/0-3/merge_merge` removed and replaced with `post-/crm/objects/2026-03/0-3/merge`

[Operation history](https://skmtc.dev/hubspot/apis/crm-deals/changes/crm/objects/2026-03/0-3/merge/post.md)

---

[API](https://skmtc.dev/hubspot/apis/crm-deals.md) - [All operations](https://skmtc.dev/hubspot/apis/crm-deals/llms.txt) - [OpenAPI document](https://skmtc.dev/hubspot/apis/crm-deals/revisions/49d1b216c5c3?raw)
