# API: Set contact details

# setContactDetails

Set new contact details

# Required parameters

Parameter Description
id Contact ID

# Optional parameters

Parameter Description
firstname Contact firstname
lastname Contact lastname
email Contact email address
phonenumber Contact phone number
type Contact type - Private or Company values allowed here
address1 Address line 1
address2 Address line 2
city City
state State
postcode ZIP / Postal code
country Country ISO code - i.e: GB, US etc.
companyname Customer's company name (if any)
variable Custom field variable

# Request

GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=setContactDetails&id=ID

# PHP Samples

# Response

{
    "success": true,
    "client": true,
    "call": "setContactDetails",
    "server_time": 1351872324,
    "info": [
        "Client details updated"
    ]
}
Last Updated: 10/7/2024, 2:36:43 PM