我想通过Magento API将Netsuite的信息发送到Magento。在正常情况下,我执行发送信息从Netsuite到Magento Api
$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');
买我不忍受如何使它成为一个Netsuite脚本。我找到了一个方法nlapiRequestURL,但我不明白如何使登录和发送会话。
谢谢。
您可能还想考虑在magento中运行同步代码。 –
我们有一个产品,可以帮助这个,随时联系我们获取更多信息 - http://www.productearthsolutions.com/contact-us/ –