- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2015
03:10 PM
03-23-2015
03:10 PM
SOAP, test if user logged in by email address
I want to be able to test if a user is logged by passing the user's email address using the SOAP API v2.
Possible?
4 REPLIES 4
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2015
05:25 PM
03-25-2015
05:25 PM
Re: SOAP, test if user logged in by email address
Is not possible,
You have all information about Customer.info SOAP API here:
http://www.magentocommerce.com/api/soap/customer/customer.info.html
You have all information about Customer.info SOAP API here:
http://www.magentocommerce.com/api/soap/customer/customer.info.html
If my answer helps you to solve your problem please click on "Accept as Solution". Kudos are welcome too
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2015
06:52 AM
03-26-2015
06:52 AM
Re: SOAP, test if user logged in by email address
Would it be possible to create my own API call for that: http://www.magentocommerce.com/api/soap/create_your_own_api.html
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2015
11:17 PM
03-27-2015
11:17 PM
Re: SOAP, test if user logged in by email address
Yes you can create your own API that would do this by using loadByEmail from the core Customer model.
6x certified Magento Specialist.
Nigel Boulton, Magento Solution Specialist
Nigel Boulton, Magento Solution Specialist
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2015
07:23 AM
03-31-2015
07:23 AM
Re: SOAP, test if user logged in by email address
Also, I guess I could use a filter on the email. How would I modify this filter to do that?
$client = new SoapClient('http://magentohost/api/v2_soap/?wsdl'); // If some stuff requires api authentification, // then get a session token $session = $client->login('apiUser', 'apiKey'); $complexFilter = array( 'complex_filter' => array( array( 'key' => 'group_id', 'value' => array('key' => 'in', 'value' => '1,3') ) ) ); $result = $client->customerCustomerList($session, $complexFilter); var_dump ($result);