# Patch Product

**URL:** https://forum.shopware.com/t/patch-product/60837
**Category:** Shopware Playground - API first Sandbox
**Created:** [3. August 2019 um 11:05 UTC](https://forum.shopware.com/t/patch-product/60837 "2019-08-03T11:05:23Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Urs\_Landis](https://avatars.discourse-cdn.com/v4/letter/u/3be4f8/32.png) [@Urs\_Landis](https://forum.shopware.com/u/Urs_Landis)
#### Post date: [3. August 2019 um 11:05 UTC](https://forum.shopware.com/t/patch-product/60837/1 "2019-08-03T11:05:23Z")

</div>

Hallo

Ist es so gedacht, dass ich keine Antwort von der API kriege wenn ich einen Artikel ‚Patche‘?

Ich erhalte nur ein Status 204

Grüsse

Urs

---

<div class="post-metadata">

### Author: ![Urs\_Landis](https://avatars.discourse-cdn.com/v4/letter/u/3be4f8/32.png) [@Urs\_Landis](https://forum.shopware.com/u/Urs_Landis)
#### Post date: [5. August 2019 um 05:35 UTC](https://forum.shopware.com/t/patch-product/60837/2 "2019-08-05T05:35:56Z")

</div>

Ich habe es selber gelöst!

&nbsp;& "?\_response=basic hilft ungemein!

---

<div class="post-metadata">

### Author: ![ansgar](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/ansgar/32/7871_2.png) [@ansgar](https://forum.shopware.com/u/ansgar)
#### Post date: [20. März 2020 um 08:22 UTC](https://forum.shopware.com/t/patch-product/60837/3 "2020-03-20T08:22:13Z")

</div>

Eine 2xx Antwort bedeutet dass der Request erfolgreich war, 200 ist die geläufigste Variante. 204 heißt dass alles ok ist aber bewusst eine leere Antwort geschickt wird. Siehe auch [HTTP-Statuscode – Wikipedia](https://de.wikipedia.org/wiki/HTTP-Statuscode#2xx_%E2%80%93_Erfolgreiche_Operation)

Nur im Fehlerfall (4xx oder 5xx) benötigt man in der Regel auch eine detailliertere Antwort. Alles was 2xx ist, kannst du als erfolgreich verbuchen.
