◂ Back to 'Integration/API'
Does Newsletter2Go offer a connection to One-Box Shop system?
Yes. You will find information about the necessary API below:
We currently use two methods for transferring article data:
- RESTful API (e.g. https://myshop.com/api/getitem/1): Here the article number is transferred directly as a GET parameter and the URL is called up (for example with CURL). We normally receive the answer as XML or JSON, which we parse in PHP.
- SOAP API (e.g. https://myshop.com/api/wsdl/): After authenticating, we call the desired API methods using the SOAP client. The response is automatically parsed in PHP and is available for further processing.
As far as we are concerned, both methods are possible, although the SOAP method is definitely safer and more flexible.
You can find a good example of a successfully implemented SOAP-API with plentymarkets:
http://man.plentymarkets.eu/soap-api/call-index/getitemsbase/.