# Upload Shopware 6 Standardproduct

**URL:** <https://forum.shopware.com/t/upload-shopware-6-standardproduct/98454>\
**Category:** Shopware 6 (German)\
**Tags:** programming\
**Created:** [9. Februar 2023 um 09:21 UTC](https://forum.shopware.com/t/upload-shopware-6-standardproduct/98454 "2023-02-09T09:21:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tiefi1908](https://avatars.discourse-cdn.com/v4/letter/t/e19b73/32.png) [@tiefi1908](https://forum.shopware.com/u/tiefi1908)\
**Post date:** [9. Februar 2023 um 09:21 UTC](https://forum.shopware.com/t/upload-shopware-6-standardproduct/98454/1 "2023-02-09T09:21:34Z")

</div>

Hallo liebe Community,

kann mir einer einen Standardstring geben, welcher per Curl ein Product zu unserem Shop per API uploaden kann.  
Product download usw. funktioniert perfekt. Bei Shopware 5 hat der POST Befehl auch gepasst, nur hier nicht.  
Wir versuchen derzeit dies:  
{  
„id“: „17“,  
„name“: „testrest“,  
„taxId“: „3f535a6065e443eeb98d0e2376826351“,  
„price“: „123“,  
„productNumber“: „SW321123“,  
„stock“: „3“  
}

jedoch funktioniert das nicht mit dem Hinweis error

{„errors“:[{„code“:„0“,„status“:„415“,„title“:„Unsupported Media Type“,„detail“:„The Content-Type \u0022\u0022 is unsupported.“

…

Bei Shopware 5 war alles einfacher - jetzt hängen wir.  
Wäre schön, wenn mir einer hier helfen könnte.

Danke

---

<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:** [9. Februar 2023 um 10:38 UTC](https://forum.shopware.com/t/upload-shopware-6-standardproduct/98454/2 "2023-02-09T10:38:40Z")

</div>

> **[Create a new Product resources | Admin API](https://shopware.stoplight.io/docs/admin-api/1c10c832ff905-create-a-new-product-resources)**
>
> Available since: 6.0.0.0 Powered by Stoplight.

Auch wenn das vermutlich hier nur Dummy-Daten sind, die stimmen vom Format hinten und vorn nicht. Kein Wunder, dass Shopware das nicht akzeptiert.
