cancel
Showing results for 
Search instead for 
Did you mean: 

Sending information from Netsuite to Magento api

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Sending information from Netsuite to Magento api

Hi, I am new to NetSuite. I am trying to send info from Netsuite to Magento, via Magento API. In a normal condition, I execute

 

$user       =   'user';
$pass       =   'password';

$url        =   'http://example.hosting.com/magento/api/soap/?wsdl';
$webClient  =   new SoapClient($url);
$webSession =   $webClient->login($user, $pass);

$result     =   $webClient->call($webSession, 'ApiMethod', 'data');

But I don´t understand how to make it in a Script of Netsuite. I found a method nlapiRequestURL, but I don´t understand how to make the login and send the session.

Thanks.

Liana,

Netsuite Developer.