# ShopWare API

**URL:** https://forum.shopware.com/t/shopware-api/26359
**Category:** Programmierung
**Created:** [20. April 2015 um 12:10 UTC](https://forum.shopware.com/t/shopware-api/26359 "2015-04-20T12:10:31Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Steini](https://avatars.discourse-cdn.com/v4/letter/s/b19c9b/32.png) [@Steini](https://forum.shopware.com/u/Steini)
#### Post date: [20. April 2015 um 12:10 UTC](https://forum.shopware.com/t/shopware-api/26359/1 "2015-04-20T12:10:31Z")

</div>

Hallo, derzeit konzipiere ich eine Schnittstelle zu unserem ERP-System. Wenn ich die API Dokumentation richtig interpretiere, werden die Daten im JSON-Format ausgetauscht. Dieses Format kann unser ERP-System jedoch nicht verarbeiten, so dass ich erst einen Konverter entwickeln müsste. Gibt es die Möglichkeit die Schnittstelle (insbesondere die Response) auf XML umzustellen? Oder gibt es evtl. ein PHP-Script welches als Client/Gateway fungiert und die Daten entsprechend konvertiert?

---

<div class="post-metadata">

### Author: ![Shopwareianer](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Shopwareianer](https://forum.shopware.com/u/Shopwareianer)
#### Post date: [20. April 2015 um 12:13 UTC](https://forum.shopware.com/t/shopware-api/26359/2 "2015-04-20T12:13:46Z")

</div>

Hier gibt es aber ein hilfreiches Tool, welches dir JSON nach XML formatiert: [https://github.com/davidcalhoun/jstoxml](https://github.com/davidcalhoun/jstoxml)

---

<div class="post-metadata">

### Author: ![Steini](https://avatars.discourse-cdn.com/v4/letter/s/b19c9b/32.png) [@Steini](https://forum.shopware.com/u/Steini)
#### Post date: [20. April 2015 um 13:17 UTC](https://forum.shopware.com/t/shopware-api/26359/3 "2015-04-20T13:17:07Z")

</div>

Danke, das würde auf jeden Fall schon einmal weiterhelfen.
