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
    1{
    2   "contact":{
    3      "phone":"604-777-7777"
    4   }
    5}
    Example XML Data to Submit
    1<?xml version="1.0" encoding="UTF-8" ?>
    2<contact>
    3  <phone>604-777-7777</phone>
    4</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
    1{
    2    "message": "Saved",
    3    "contact": {
    4        "id": "7bf86438-a9ec-4685-9d33-de936c8b43c8",
    5        "customer_id": "",
    6        "first_name": "John",
    7        "last_name": "Doe",
    8        "job_title": "Owner",
    9        "phone": "604-777-7777",
    10        "cell": "778-222-2222",
    11        "fax": "",
    12        "email_1": "john.doe@gmail.com",
    13        "email_2": "",
    14        "auto_add_email": false,
    15        "weight": 0,
    16        "modified": "2016-11-11T01:25:24+00:00",
    17        "created": "2016-11-11T01:24:04+00:00"
    18    }
    19}

    Updated on February 7th, 2022

    Network Status:
    100% Global Availability