WebService::Intercom::User - represent a user.
my $user = $intercom->user_create_or_update( email => 'test@example.com', name => 'test user'); # Retrieve an existing user. my $existing_user = $intercom->user_get(email => 'test2@example.com'); # Add a tag to a user $user->tag('test tag'); $user->untag('test tag'); # Change the user's name or any other value $user->name = 'new name'; $user->email = 'new-email@example.com'; $user->save(); # Delete the user $user->delete(); # Add a note $user->add_note(body => "This is a test note"); # Add an event $user->add_event(event_name => 'test event');
Provides an object that represents a user at Intercom.
Attributes are defined at http://doc.intercom.io/api/#users
To install WebService::Intercom, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Intercom
CPAN shell
perl -MCPAN -e shell install WebService::Intercom
For more information on module installation, please visit the detailed CPAN module installation guide.