How to connect ERP to magento store via Soap?
-
31-12-2020 - |
문제
I want to create a login for ERP in my magento store. I have created a user and role in web services->soap/xml-RPC how can login via soap?
해결책
Endpoint: http://(your host)/api/soap/?wsdl
Endpoint v2: http://(your host)/api/v2_soap/?wsdl
Use soap call login to generate session
$session = $client->login('apiUser', 'apiKey');
then you can use it for other calls
$client->call($session, 'somestuff.method', 'arg1');
Full doc: http://devdocs.magento.com/guides/m1x/api/soap/introduction.html
제휴하지 않습니다 magento.stackexchange