# Shopware 6 API manufacturer

**URL:** <https://forum.shopware.com/t/shopware-6-api-manufacturer/67230>\
**Category:** Programmierung\
**Created:** [26. Mai 2020 um 15:36 UTC](https://forum.shopware.com/t/shopware-6-api-manufacturer/67230 "2020-05-26T15:36:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrishdx](https://avatars.discourse-cdn.com/v4/letter/c/8baadc/32.png) [@chrishdx](https://forum.shopware.com/u/chrishdx)\
**Post date:** [26. Mai 2020 um 15:36 UTC](https://forum.shopware.com/t/shopware-6-api-manufacturer/67230/1 "2020-05-26T15:36:13Z")

</div>

Hallo, ich versuche über die API einen Produkt Hersteller mit Bild hinzuzufügen. Wie man ein Produkt hinzufügt mit Bild ist ja soweit klar das ich erst eine MediaID benötige dann das Bild mit&nbsp; MediaID verknüpfe und anschließend das Produkt hinzufüge mit dem Knotenpunkt media -\> mediaId ist soweit klar wenn ich jedoch versuche nach dem Schema ein Bild über den Product manufacturer zuzuordnen wird das Bild nie angezeigt. Wäre es möglich den JSON Aufbau zu schicken wie ich das Bild hinzufügen kann.

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [26. Mai 2020 um 16:04 UTC](https://forum.shopware.com/t/shopware-6-api-manufacturer/67230/2 "2020-05-26T16:04:25Z")

</div>

Du kannst das einfach im Admin durchführen und dann in der Debug Konsole/ Netzwerkübersicht deines Browsers die Requests sehen. Der Admin nutzt auch nur die API. Den JSON kannst du dir da auch direkt ansehen.

---

<div class="post-metadata">

**Author:** ![chrishdx](https://avatars.discourse-cdn.com/v4/letter/c/8baadc/32.png) [@chrishdx](https://forum.shopware.com/u/chrishdx)\
**Post date:** [26. Mai 2020 um 16:20 UTC](https://forum.shopware.com/t/shopware-6-api-manufacturer/67230/3 "2020-05-26T16:20:49Z")

</div>

Vielen dank für den Tipp der Jsonstring ist dann {“name”:“Herstellername”,“mediaId”:“ID des Bildes”}
