Welcome, guest Sign In

Updating individual contacts in the Address Book

The recommended method for updating a contact is the synchronize method described above. You can obtain the ID of the Contact to be updated (cid) from a previous call to the searchContacts method, or from a previous read call to the synchronize method.

If you are only interested in the success or failure of the update operation and do not wish to receive changes to the Address Book, specify the following URL parameters in the synchronize request:

The nodiffs=1 parameter omits the listing of events and categories from the output, so the output will only contain the update result responses (success and/or error entities).

Example using XML

Find the contact:

Returns:

The following Request with a POST updates the surname:

The Request returns the following Response:

Example using JSON

The following Request finds a contact:

The Request returns the following Response:

The following Request and POST body updates a surname:

The Request returns the following Response:

Table of Contents

Copyright © 2009 Yahoo! Inc. All rights reserved. Copyright | Privacy Policy

Help us continue to improve the Yahoo! Developer Network: Send Your Suggestions