API Documentation

ContactsEdit Contact

Method: /contacts/[id].[format]
Fields:
Name:Data Type:Description:
first_nameStringPerson’s first name
last_nameStringPerson’s last name
job_titleStringJob Title or Position
phoneStringPhone Number
cellStringCell Phone Number
faxStringFax Number
email_1StringPrimary Email Address
email_2StringSecondary Email Address
Syntax:
https://[subdomain].salesbinder.com/api/2.0/contacts/[id].json
HTTP Request Type: PUT
Example JSON Data to Submit
{
   "contact":{
      "phone":"604-777-7777"
   }
}
Example XML Data to Submit
<?xml version="1.0" encoding="UTF-8" ?>
<contact>
  <phone>604-777-7777</phone>
</contact>
Success:

If you have been successful in updating a contact, the response will return the updated data object along with a “message” value of “Saved” as seen below.

Example JSON Returned Response
{
    "message": "Saved",
    "contact": {
        "id": "7bf86438-a9ec-4685-9d33-de936c8b43c8",
        "customer_id": "",
        "first_name": "John",
        "last_name": "Doe",
        "job_title": "Owner",
        "phone": "604-777-7777",
        "cell": "778-222-2222",
        "fax": "",
        "email_1": "john.doe@gmail.com",
        "email_2": "",
        "auto_add_email": false,
        "weight": 0,
        "modified": "2016-11-11T01:25:24+00:00",
        "created": "2016-11-11T01:24:04+00:00"
    }
}

Updated on February 7th, 2022

Network Status:
100% Global Availability