POST crm/modify

Modify Salesforce user's information.

Request Information

Parameters

NameDescription
json
  • people_data [ Mandatory , object ]
    Modified people's information
  • ID [ Mandatory , string ]
    Salesforce id
  • first_name [ Optional , string ]
    First name
  • last_name [ Optional , string ]
    Last name
  • date_of_birth [ Optional , date ]
    Birthday
  • email [ Optional , string ]
    Email adress
  • postcode [ Optional , int ]
    Post code , length must be 4
  • mobile_phone [ Optional , string ]
    Mobile phone number
  • drivers_license [ Optional , string ]
    Drivers license id
  • street [ Optional , string ]
    The street you live
  • city [ Optional , string ]
    The city you live
  • state [ Optional , string ]
    The state you live
  • country [ Optional , string ]
    The country you live
  • lead_source [ Optional , string ]
    Lead source information , value should be Web,Phone Inquiry,Partner Referral,Purchansed List or Other

Request body formats

application/json, text/json, text/plain, application/x-www-form-urlencoded

Sample:

{
  "people_data": [{
      "ID": "0032000001Gm666",
      "first_name": "Johny",
      },{
      "ID": "00320000011x111",
      "last_name": "Smith",
    }]
}

Response Information

Response body formats

application/json, text/json

Sample:

{
  "status": true,
  "receipt": "All records modified.",
  "audit_ID": "1444",
  "details":[{
    "ID": "0032000001Gm666",
    "fields": 1,
    "status": true,
  },{
    "ID": "00320000011x111",
    "fields": 1,
    "status": true,
  }],
  "items_failed": 0
}
Or Bad Response:
{
  "status": false,
  "receipt": "Unable to modify 1 or more records.",
  "audit_ID": "1445",
  "details":[{
    "ID": "0032000001Gm666",
    "fields": 0,
    "status": false,
  },{
    "ID": "00320000011x111",
    "fields": 1,
    "status": true,
  }],
  "items_failed": 1
}