updateAddressBookContact

Updates an existing contact with new information.

Client Servlet Server Servlet HTTP Methods Supported Requires Authentication
CRAddressBookAPI None. POST Yes.

Client API Syntax

https://secure2.convio.net/organization/site/CRAddressBookAPI?method=updateAddressBookContact &api_key=value &v=value [ &auth=value ] [ &center_id=value ] [ &error_redirect=value ] [ &redirect=value ] [ &response_format=xml | json ] [ &sign_redirects=value ] [ &source=value ] [ &sub_source=value ] [ &success_redirect=value ] [ &suppress_response_codes=value ] &contact_id=value &email=value &first_name=value &last_name=value [ &city=value ] [ &phone=value ] [ &state=value ] [ &street1=value ] [ &street2=value ] [ &zip=value ] [ &auth=value ] [ &sso_auth_token=value ]

Client API Parameters

Common Client Parameters

See topic Common Parameters.

contact_id

Required. The system-generated unique contact ID for the contact.

Type xsd:nonNegativeInteger.

email

Required. The contact's email address.

Type xsd:string.

first_name

Required. The contact's first name.

Type xsd:string.

last_name

Required. The contact's last name.

Type xsd:string.

city

Optional. The contact's city.

Type xsd:string.

phone

Optional. The contact's phone number.

Type xsd:string.

state

Optional. The contact's state or province.

Type xsd:string.

street1

Optional. The first line of the contact's street address.

Type xsd:string.

street2

Optional. The second line of the contact's street address, if needed.

Type xsd:string.

zip

Optional. The contact's postal or zip code.

Type xsd:string.

auth

Optional. You must provide either this parameter or the sso_auth_token parameter. If using this parameter, you must specify an auth token generated by an embedded [[S86]] session tag in a Convio web page.

sso_auth_token

Optional. You must provide either this parameter or the auth parameter. If using this parameter, you must specify a valid session authentication token returned by login, authenticateUser, or getSingleSignOnToken.

Response

See topic HTTP Status Codes.

XML response
<?xml version="1.0" encoding="UTF-8"?>
<updateAddressBookContactResponse xsi:schemaLocation="http://convio.com/crm/v1.0 http://service.convio.net/xmlschema/crm.public.v1.xsd" xmlns="http://convio.com/crm/v1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <success>true</success>
</updateAddressBookContactResponse>

        
JSON response
{"updateAddressBookContactResponse":{"success":"true"}}

        

Leave a Comment

Nickname
Comment
Enter this word: