api.contacts.merge

PUT /contacts/{mergeToId}/merge — ACPortal

Python

api.contacts.merge(merge_to_id: str, *, data: ContactMergeRequest | dict) -> None

CLI

ab contacts merge <merge_to_id> [--data ...]

PUT /contacts/{mergeToId}/merge.

Args: merge_to_id: Target contact to merge into. data: Merge request payload. Accepts a :class:ContactMergeRequest instance or a dict.

Request model: :class:ContactMergeRequest

Request body — ContactMergeRequest

Field

Type

Required

Description

mergeFromId

Optional[str]

no

Source contact ID to merge from

Response

No response body.


← Back to api.contacts