0

we are devoloping a android app for magento site.

we want to know where api s are calling in magento code.

for example : for creating an account, customer will enter every information

and click on "submit" button, suppose if there is already a customer registered with same email id ,

again new customer can not able to create with the account with the same email id.

what i want is how it works? which API magento using to check whether that email is already registered or not.

means which API it is passing to database to get information about that email id is registered or not.

let me know if you have any queries.

please help me to find solution

1
$client = new SoapClient('http://magentohost/api/soap/?wsdl');

// If somestuff requires api authentification,
// then get a session token
$session = $client->login('apiUser', 'apiKey');

$result = $client->call($session, 'customer.info', '2');
var_dump($result);

// If you don't need the session anymore
//$client->endSession($session);

For more info Click here

2
  • please inform me about path of the code.... – Baby in Magento May 20 '15 at 9:36
  • 1
    @BabyinMagento2 this is API call ,,this code in present in above link – Keyur Shah May 20 '15 at 9:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.