Need An Email Marketing Solution For All Of Your Customers?

Partner With VerticalResponse!

editUser


Partner API Only
The editUser() method updates the specified User object.

Input

[vrtypens:editUserArgs]

session_id [xsd:string] (required)
Your API session id.
user [vrtypens:User] (required)
An object specifying the user’s new data. The id of the user must be provided.
User fields that cannot be modified via this method are:

  • cookie
  • creation_date
  • created_by
  • last_updated
  • last_activity_date

Output

[xsd:boolean]
The output is always true.

Examples

Perl

$vrapi->editUser( {
    session_id => $sid,
    user => {
        email_address => 'api-support@verticalresponse.com',
        url => 'http://www.verticalresponse.com/labs',
    },
} );

PHP

$vrapi->editUser( array(
    'session_id' => $sid,
    'user'       => array(
        'email_address => 'api-support@verticalresponse.com',
        'url' => 'http://www.verticalresponse.com/labs',
    ),
) );

Ruby

vr.editUser({
    'session_id' => sid,
    'user'       => {
        'email_address => 'api-support@verticalresponse.com',
        'url' => 'http://www.verticalresponse.com/labs',
    }
})