Basic

Merge two deals with same type

Changed on

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

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
    • HTTP bearer
    • or API key in query parameter hapikey
    • or none

Request body

objectIdToMergestring required

The ID of the company to merge into the primary.

primaryObjectIdstring required

The ID of the primary company, which the other will merge into.

Response

successful operation

archivedboolean required

Whether the object is archived.

archivedAtstring date-time

The timestamp when the object was archived, in ISO 8601 format.

createdAtstring date-time required

The timestamp when the object was created, in ISO 8601 format.

idstring required

The unique ID of the object.

objectWriteTraceIdstring

An identifier used for tracing the write request for the object.

propertiesobject required

Key-value pairs representing the properties of the object.

propertiesWithHistoryobject

Key-value pairs representing the properties of the object along with their history.

updatedAtstring date-time required

The timestamp when the object was last updated, in ISO 8601 format.

urlstring

The URL associated with the object.

Changes

    • 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

    • info

      api operation id post-/crm/objects/2026-03/0-3/merge_/crm/objects/2026-03/0-3/merge removed and replaced with post-/crm/objects/2026-03/0-3/merge_merge

    • info

      api tag Basic added

    • info

      api tag Advanced removed

Some revisions have not been checked yet.