# Store-api - Bibliothek für shopware6 installieren

**URL:** <https://forum.shopware.com/t/store-api-bibliothek-fuer-shopware6-installieren/97782>\
**Category:** Shopware Playground - API first Sandbox\
**Created:** [28. Dezember 2022 um 09:01 UTC](https://forum.shopware.com/t/store-api-bibliothek-fuer-shopware6-installieren/97782 "2022-12-28T09:01:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![HappyGreens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/happygreens/32/19289_2.png) [@HappyGreens](https://forum.shopware.com/u/HappyGreens)\
**Post date:** [28. Dezember 2022 um 09:01 UTC](https://forum.shopware.com/t/store-api-bibliothek-fuer-shopware6-installieren/97782/1 "2022-12-28T09:01:38Z")

</div>

Hallo ,

Man kann mit sw6 bekanntlich sehr einfach daten verarbeiten.

Doch wo finde ich die Dateien, um die shopware api nutzen zu können. Ich las oft vom Ordner:  
store-api/

Können Sie mir sagen, wo ich diese Bibliothek finde damit ich sie hochladen kann?  
Ich will diese praktischen urls nutzen können, wie z.B. im Schema

[http://localhost/store-api/customer/wishlist/add/{productId}](http://localhost/store-api/customer/wishlist/add/%7BproductId%7D)

Bei mir dann z.B. (im aktuellen Testshop)  
[https://www.mond.tv/api](https://www.mond.tv/api) oder  
[https://www.mond.tv/api/v1/\_info/swagger.html](https://www.mond.tv/api/v1/_info/swagger.html)

Die kann man laut tutorial bauen, indem man seine saleschannel API-ID hineinkopiert, wird in verschiedenn Sprachen bereitgestellt, php oder js. Hier z.B.

> **[Add a product to a wishlist | Store API](https://shopware.stoplight.io/docs/store-api/b2d281de3cdd6-add-a-product-to-a-wishlist)**
>
> Adds a product to a customers wishlist.
> 
> \*\*Important constraints\*\*
> 
> \* Anonymous (not logged-in) customers can not have wishlists.
> \* The wishlist feature has to be activated. Powered by Stoplight.

Ich habe es gesucht, aber nicht gefunden, hier z.B.

> **[GitHub - pidubiel/shopware-api: Demo store app using Shopware 6 API and Vue.js](https://github.com/pidubiel/shopware-api)**
>
> Demo store app using Shopware 6 API and Vue.js. Contribute to pidubiel/shopware-api development by creating an account on GitHub.

Oder kann ich in SSH einen Befehl eingeben, der die herunterlädt, wenn ja, welchen?

Freundliche Grüße  
Alexandra

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [28. Dezember 2022 um 14:14 UTC](https://forum.shopware.com/t/store-api-bibliothek-fuer-shopware6-installieren/97782/2 "2022-12-28T14:14:44Z")

</div>

Die API ist eine Schnittstelle, die Requests empfängt. Du musst dich selbst darum kümmern, dass die Requests an die API übergeben werden. Das kannst du per JavaScript, PHP oder … selbst umsetzen. Da gibt es nichts, was man herunterladen kann.

Es gibt SDKs, z.B. [Javascript SDKs | Store API](https://shopware.stoplight.io/docs/store-api/ZG9jOjEwODEwMjI1-javascript-sd-ks#javascript-sdks) oder [PHP SDK | Admin API](https://shopware.stoplight.io/docs/admin-api/ZG9jOjE0MzU1MDc1-php-sdk#php-sdk). Diese sind weder notwendig, noch machen sie die Sache trivial. Verstehen muss man das API-Konzept dennoch.

---

<div class="post-metadata">

**Author:** ![HappyGreens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/happygreens/32/19289_2.png) [@HappyGreens](https://forum.shopware.com/u/HappyGreens)\
**Post date:** [29. Dezember 2022 um 10:02 UTC](https://forum.shopware.com/t/store-api-bibliothek-fuer-shopware6-installieren/97782/3 "2022-12-29T10:02:47Z")

</div>

Ah danke. Das geht dann doch nicht so schnell wie das SDK von Amazon Alexa.  
Die Routinen sehen sehr vielversprechend und über die URL-Parameter einfach verständlich aus. Schade, dass so ein Ordner store-api nicht in einer Basisversion nutzbar ist, damit man die store-api mit seinem api-Schlüssel rasch nutzen kann, dachte das ist in der Professsional Lizenz inklusive, einfach um redaktionell agieren zu können.

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [29. Dezember 2022 um 13:59 UTC](https://forum.shopware.com/t/store-api-bibliothek-fuer-shopware6-installieren/97782/4 "2022-12-29T13:59:48Z")

</div>

Hier ist ein einfacher Einstieg für die Storefront-API: [https://developer.shopware.com/docs/guides/plugins/plugins/storefront/fetching-data-with-javascript](https://developer.shopware.com/docs/guides/plugins/plugins/storefront/fetching-data-with-javascript)
