For more information on using API

PUT http://webapi.mymarketing.co.il/api/contacts/merges/{id}

Resolve the given conflict

Request Information

URI Parameters

Name

Description

Type

Additional information

id

Merge conflict id. Can be found via the endpoint "Get contacts in merge conflict...."

string

Required

Body Parameters

PostMergeConflictContainer

Name

Description

Type

Additional information

id

Contact field

integer
pending_customer

pending_customer

Details of the pending customer to be merged.

exist_email_customer

Details of the existing customer with email to be merged.

exist_sms_customer

Details of the existing customer with SMS to be merged.

merge_state_type

Type of merge state.please note: you can only solve merge conflicts if their status is Active

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "pending_customer": {
    "email": "sample string 6",
    "sms": "sample string 7",
    "first_name": "sample string 8",
    "last_name": "sample string 9",
    "anniversary": "2016-12-24T14:12:12",
    "birthday": "2016-12-24T14:12:12",
    "city": "sample string 10",
    "fax": "sample string 11",
    "phone1": "sample string 12",
    "phone2": "sample string 13",
    "street": "sample string 14",
    "zip_code": "sample string 15",
    "ext1": "sample string 16",
    "ext2": "sample string 17",
    "ext3": "sample string 18",
    "ext4": "sample string 19",
    "ext5": "sample string 20",
    "ext6": "sample string 21",
    "ext7": "sample string 22",
    "ext8": "sample string 23",
    "ext9": "sample string 24",
    "ext10": "sample string 25",
    "ext11": "sample string 26",
    "ext12": "sample string 27",
    "ext13": "sample string 28",
    "ext14": "sample string 29",
    "ext15": "sample string 30",
    "ext16": "sample string 31",
    "ext17": "sample string 32",
    "ext18": "sample string 33",
    "ext19": "sample string 34",
    "ext20": "sample string 35",
    "ext21": "sample string 36",
    "ext22": "sample string 37",
    "ext23": "sample string 38",
    "ext24": "sample string 39",
    "ext25": "sample string 40",
    "date1": "2016-12-24T14:12:12",
    "date2": "2016-12-24T14:12:12",
    "date3": "2016-12-24T14:12:12",
    "date4": "2016-12-24T14:12:12",
    "date5": "2016-12-24T14:12:12",
    "num1": 1,
    "num2": 1,
    "num3": 1,
    "num4": 1,
    "num5": 1,
    "is_deleted": true
  },
  "exist_email_customer": {
    "id": 1,
    "state": "Unsubscribed",
    "is_optined": true,
    "email": "sample string 6",
    "sms": "sample string 7",
    "first_name": "sample string 8",
    "last_name": "sample string 9",
    "anniversary": "2016-12-24T14:12:12",
    "birthday": "2016-12-24T14:12:12",
    "city": "sample string 10",
    "fax": "sample string 11",
    "phone1": "sample string 12",
    "phone2": "sample string 13",
    "street": "sample string 14",
    "zip_code": "sample string 15",
    "ext1": "sample string 16",
    "ext2": "sample string 17",
    "ext3": "sample string 18",
    "ext4": "sample string 19",
    "ext5": "sample string 20",
    "ext6": "sample string 21",
    "ext7": "sample string 22",
    "ext8": "sample string 23",
    "ext9": "sample string 24",
    "ext10": "sample string 25",
    "ext11": "sample string 26",
    "ext12": "sample string 27",
    "ext13": "sample string 28",
    "ext14": "sample string 29",
    "ext15": "sample string 30",
    "ext16": "sample string 31",
    "ext17": "sample string 32",
    "ext18": "sample string 33",
    "ext19": "sample string 34",
    "ext20": "sample string 35",
    "ext21": "sample string 36",
    "ext22": "sample string 37",
    "ext23": "sample string 38",
    "ext24": "sample string 39",
    "ext25": "sample string 40",
    "date1": "2016-12-24T14:12:12",
    "date2": "2016-12-24T14:12:12",
    "date3": "2016-12-24T14:12:12",
    "date4": "2016-12-24T14:12:12",
    "date5": "2016-12-24T14:12:12",
    "num1": 1,
    "num2": 1,
    "num3": 1,
    "num4": 1,
    "num5": 1,
    "is_deleted": true
  },
  "exist_sms_customer": {
    "id": 1,
    "state": "Unsubscribed",
    "is_optined": true,
    "email": "sample string 6",
    "sms": "sample string 7",
    "first_name": "sample string 8",
    "last_name": "sample string 9",
    "anniversary": "2016-12-24T14:12:12",
    "birthday": "2016-12-24T14:12:12",
    "city": "sample string 10",
    "fax": "sample string 11",
    "phone1": "sample string 12",
    "phone2": "sample string 13",
    "street": "sample string 14",
    "zip_code": "sample string 15",
    "ext1": "sample string 16",
    "ext2": "sample string 17",
    "ext3": "sample string 18",
    "ext4": "sample string 19",
    "ext5": "sample string 20",
    "ext6": "sample string 21",
    "ext7": "sample string 22",
    "ext8": "sample string 23",
    "ext9": "sample string 24",
    "ext10": "sample string 25",
    "ext11": "sample string 26",
    "ext12": "sample string 27",
    "ext13": "sample string 28",
    "ext14": "sample string 29",
    "ext15": "sample string 30",
    "ext16": "sample string 31",
    "ext17": "sample string 32",
    "ext18": "sample string 33",
    "ext19": "sample string 34",
    "ext20": "sample string 35",
    "ext21": "sample string 36",
    "ext22": "sample string 37",
    "ext23": "sample string 38",
    "ext24": "sample string 39",
    "ext25": "sample string 40",
    "date1": "2016-12-24T14:12:12",
    "date2": "2016-12-24T14:12:12",
    "date3": "2016-12-24T14:12:12",
    "date4": "2016-12-24T14:12:12",
    "date5": "2016-12-24T14:12:12",
    "num1": 1,
    "num2": 1,
    "num3": 1,
    "num4": 1,
    "num5": 1,
    "is_deleted": true
  },
  "merge_state_type": "Active"
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.