BigCommerce - Hosted Ecommerce Software by Interspire

Interspire Forum

Go Back   Interspire Forum > Interspire Email Marketer Community Forum > Customization and Integration

Thread Tools Display Modes
Old 10-11-2013, 05:56 AM
tsm + tsm is offline
Interspire Customer
Join Date: Oct 2013
Posts: 2
Default User Account Creation Based on a Trigger/Call

We are looking at the ability to automatically create User Accounts based on a Trigger of some sort, an API call or by invoking a function perhaps, and then send parameters along with it.

Does IEM have this functionality?
Can somebody who has knowledge please point me to the right direction?

Hopefully I wouldn't have been the only person who wanted this feature.

Best regards,

Reply With Quote
Old 10-15-2013, 03:54 PM
Teneo + Teneo is offline
Interspire Customer
Join Date: Feb 2009
Location: Brugges
Posts: 630

Use Interspire XML API to do this

Code below :

PHP Code:


$username 'admin';
$token '';

/*// Optional fields:











//Admin types:
// c = custom
// a = admin
// blank = non admin

$xml_data '
$username '</username>
$token '</usertoken>
            <fullname>test account</fullname>

$ch curl_init();
if (!
ini_get('safe_mode') && ini_get('open_basedir') == '') {

curl_setopt($chCURLOPT_POSTFIELDS'xml=' $xml_data);

$pageData curl_exec($ch);

if (!
$pageData) {
"Error!: " curl_error($ch);

$pageData "\n";


PROMO : Signup today for our SMTP Relay services and receive a free license of our MPS Addon !

Bram Van Daele

TENEO SMTP relay services

(Contact me directly)
Reply With Quote
Old 10-16-2013, 12:53 AM
tsm + tsm is offline
Interspire Customer
Join Date: Oct 2013
Posts: 2

Hi Teneo,

Thanks for your reply.

I tried the code you posted and replaced $url, $username and $token with valid values and got this reply:

"FAILED Invalid parameters specified to use this function."

After that, I changed the value of request method

from: createnewuser
to : Create

Now I get the reply:


I am using IEM v6.1.3
Where did you find this information as I wasn't able to read about it in the XML Api Documentation?

Thanks and regards.

Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump