Merges

Merges Documentation

Merge [POST]

Merge [POST]

Request

Endpoint

POST /api/v2/contacts/433afbbe-2024-41f9-b626-de0c9bc36756/people/merges
Content-Type: application/vnd.api+json

Body

{
  "data": {
    "type": "merges",
    "attributes": {
    },
    "relationships": {
      "loser": {
        "data": {
          "type": "people",
          "id": "76adb445-40a5-4ae7-8b24-99e853e85769"
        }
      },
      "winner": {
        "data": {
          "type": "people",
          "id": "f35332de-9515-41d1-8961-18ef7af884bb"
        }
      }
    }
  }
}

Parameters

Relationships

loser.data

Type Contact

Description person to merge

Required No

winner.data

Type Contact

Description person to keep

Required No

Response

Headers

Body

Fields

Attributes

alma_mater

Type string

Description The college a person graduated from

anniversary_day

Type number

Description Anniversary Day

anniversary_month

Type number

Description Anniversary Month

anniversary_year

Type number

Description Anniversary Year

avatar

Type string

Description Avatar

birthday_day

Type number

Description Birthday Day

birthday_month

Type number

Description Birthday Month

birthday_year

Type number

Description Birthday Year

created_at

Type date

Description The timestamp of when this resource was created

deceased

Type boolean

Description Deceased

employer

Type string

Description Employer

first_name

Type string

Description First Name

gender

Type string

Description Gender

last_name

Type string

Description Last Name

legal_first_name

Type string

Description Legal First Name

marital_status

Type string

Description Marital Status

middle_name

Type string

Description Middle Name

occupation

Type string

Description Occupation

optout_enewsletter

Type boolean

Description Optout of enewsletter

parent_contacts

Type [Contact]

Description Parent contacts of this person

suffix

Type string

Description Suffix

title

Type string

Description Title

updated_at

Type date

Description The timestamp of when this resource was last updated

updated_in_db_at

Type date

Description This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.

Relationships

email_addresses.data

Type [Email Address]

Description Array of email_addresses

facebook_accounts.data

Type [Facebook Account]

Description Array of facebook_accounts

family_relationships.data

Type [Family Relationship]

Description Array of family relationships

linkedin_accounts.data

Type [Linkedin Account]

Description Array of linkedin accounts

phone_numbers.data

Type [Phone Number]

Description Array of phone numbers

twitter_accounts.data

Type [Twitter Account]

Description Array of twitter accounts

websites.data

Type [Website]

Description Array of websites

Merges [BULK POST]

Bulk merge People with the given IDs

Request

Endpoint

Body

Response

Headers

Body

Last updated