« Back to Documentation Overview

set_contact_name

Section: Contacts
Version: 1.5.0


Set contact name.


Parameters
stringAPI_KEY
object
stringcontactCONTACT_ID
stringnamename_value
Return Value
integerupdated1

Example Request JSON

[
    "API_KEY",
    {
        "contact": "CONTACT_ID",
        "name": "name_value"
    }
]

Example Response JSON

{
    "updated": 1
}

Example Error Response JSON

{
    "code": -1,
    "message": "Missing contact"
}
Method-specific Errors
Missing contact
API-wide Errors
API key verification failed API key verification failed
API client IP not allowed API client IP not allowed
Invalid params Attribute params must be reference to hash