cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a PHP API available for extensions other than the web APIs?

Is there a PHP API available for extensions other than the web APIs?

We're trying to create a Magento extension that needs the ability to get called when orders are created, and then it will perform a validation step, and then we need to be able to modify the order's status. 

 

We haven't been able to figure out what APIs are available.  The module will be written in PHP and runs on the Magento server right, but the APIs seem to only refer to web APIs that use SOAP or REST interfaces.  But that doesn't seem like it would be the right approach since it's odd to call a SOAP or REST API back to the same server that the extension is running on. 

 

Isn't there a PHP API we can use to do things like directly read and modify orders?

2 REPLIES 2

Re: Is there an API available for extensions (PHP) other than the web APIs?

Anyone?

Re: Is there an API available for extensions (PHP) other than the web APIs?

Hi @david_o 

 

I'm not sure how you want to customize the process but maybe you can start using something like:

Or maybe a mix of those elements.

I need more data to have a better idea about which kind of integration or module you want to build.

 

Cheers!