Advanced

Merge two services

post/crm/objects/2025-09/services/merge

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/crm/objects/2025-09/services/merge
  • Auth
    none required

Request body

objectIdToMergestring required

The ID of the object that will be merged into the primary object.

primaryObjectIdstring required

The ID of the object that will remain as the primary object after the merge.

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 to trace the creation or update request of 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, each with a timestamp and source information.

updatedAtstring date-time required

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

urlstring

The URL associated with the object.

Changes