I followed a lot of tutorials about how to extend Magento API but I didn't figure it out why I always get "Invalid api path." My goal is to extend Mage_Customer_Model_Customer_Api in order to add a new method to login a customer in site. I don't know if something like that is possible, but I need at least to be able to add a new method which just returns a message.
- Can someone provide me a link where I can find a working module which extends Magento API?
- Is it possible what I want to achieve? Thank you,
Yeee..I figured out "Invalid api path." error. Instead of calling
$result = $client->call($session_id, 'gw_base_order.createandcapture');
it has to be
$result = $client->call($session_id, 'resource_name.createandcapture');
Wrong tuturial: Extending Magento API and others like this.
I still need an answer for the second question.