Welcome‎ > ‎Version 3‎ > ‎Publisher Api‎ > ‎Methods‎ > ‎3 - Profile Store‎ > ‎

Update Email

Will update a user's email address.  It requires the userkey to identify the user, the current password, and the new email address.

Method: POST /api/v3/publisher/profilestore/updateemail

Authentication: oauth

Post
RequiredForm NameData TypeExplanation
Yes 
UserKeystringThe userkey for the consumer.
Yes
Password
stringThe current password for the consumer.
YesEmailstringThe new email for the profile.

Returns:

Sample Request:

POST http://api.groupcommerce.com/api/v3/publisher/profilestore/updateemail

Form: UserKey=UserKey1&Password=password1&Email=newemail%40groupcommerce.com

Authorization: OAuth oauth_signature="FMJcDk%2f%2b8WhbhHDYC5edy0rGEvw%3d", oauth_nonce="6752553", oauth_timestamp="1322776547", oauth_consumer_key="eeb6b959-b854-4ad1-b563-e801c83cf81d", oauth_signature_method="HMAC-SHA1", oauth_version="1.0"


Sample JSON Response:

{
    "errors":[],
    "lastPublished":"/Date(1320704116016)/",
    "success":true,
    "version":"3"
}


Sample XML Response:

<updateEmailResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
    <errors/>
    <lastPublished>2011-11-07T22:19:38.6794609Z</lastPublished>
    <success>true</success>
    <version>3</version>
</updateEmailResponse>
Comments