background

Wired Plus API Documentation

POST UpdateContact

Updates a contact.

Input and output parameters

*denotes required field.

Input Parameter Name Type
sourceinteger(1)
id (the id of the contact you want to update)*integer(11)
created_byvarchar(200)
first_name*varchar(100)
last_name*varchar(100)
name*varchar(100)
gendervarchar(100)
companyvarchar(100)
job_titlevarchar(100)
addressvarchar(100)
address_2varchar(100)
cityvarchar(100)
countyvarchar(100)
post_code*varchar(50)
country*varchar(200)
country_codeISO3 country code, will invoke validation errors
wwwvarchar(255)
email*varchar(255)
telephonevarchar(200)
mobilevarchar(200)
tagsvarchar(255)
status Only supports: Active/Archived records. Setting a status to Archived will prevent the contact from being marketed to. This can be reversed by setting the status to Active.
error_logvarchar(255)
Custom Fields Format: custom[NAMEOFCUSTOMTEXTFIELD]
Examples:
custom[TEXTFIELD] varchar(255)
custom[EMAILTYPE] varchar(255)
custom[NONEXISTANTFIELD]varchar(255)
Custom App Fields Format: custom_app[NAMEOFAPP]
Examples:
custom_app[NAMEOFAPP]varchar(255)
Output params
  • id (of the contact created)
  • message

Examples

Curl

    
    
    

PHP

    
    


jQuery

    
    


Result Format JSON