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 Answer 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');

// If you don't need the session anymore

For more info Click here

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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