VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: dawkin on July 21, 2012, 09:27:55 AM

Title: REST JSON or SOAP API for VirtueMart 2
Post by: dawkin on July 21, 2012, 09:27:55 AM
We have to develop a mobile client for a VirtueMart based shop. Is there any plugin that provides REST JSON or SOAP api for VM2? If there is none available in the market( I did search in the forums and web and could not find any) , any suggestions on how I can go about developing one?

Thanks in advance for your answers.
Title: Re: REST JSON or SOAP API for VirtueMart 2
Post by: ivus on July 21, 2012, 09:44:53 AM
Hi dawkin,

I'm not too sure how this works, I've never used it or built an app from it, but I'm pretty sure Joomla! XML-RPC was developed and included to do exactly what you're asking for.

That might be a good starting point for your research. Be sure to keep me updated on your progress, I'll be very interested to know how it works too.

Good luck.
Title: Re: REST JSON or SOAP API for VirtueMart 2
Post by: dawkin on July 22, 2012, 12:02:02 PM
Hello Ivus,

In our team, we have not used XML-RPC in Joomla! Also, we prefer to have the API in JSON format rather than in XML. So we may  have to create a custom JSON API component.

Thanks