# OptionID für Artikel ändern/entfernen

**URL:** <https://forum.shopware.com/t/optionid-fuer-artikel-aendern-entfernen/90416>\
**Category:** Shopware 6 (German)\
**Created:** [19. September 2021 um 13:04 UTC](https://forum.shopware.com/t/optionid-fuer-artikel-aendern-entfernen/90416 "2021-09-19T13:04:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pana](https://avatars.discourse-cdn.com/v4/letter/p/0ea827/32.png) [@Pana](https://forum.shopware.com/u/Pana)\
**Post date:** [19. September 2021 um 13:04 UTC](https://forum.shopware.com/t/optionid-fuer-artikel-aendern-entfernen/90416/1 "2021-09-19T13:04:00Z")

</div>

Hallo liebe Community,

ich versuche verzweifelt die OptionID eines Produkts zu ändern, sprich ich möchte meine „Haupteigenschaft“ des Artikels ändern.

Im Frontend habe ich keine Einstellmöglichkeiten gefunden und über Import kann ich ja nur eine OptionID hinzufügen und nicht überschreiben…

Hat jemand eine Idee? Würde mich sehr freuen…

Liebe Grüße  
Pana

---

<div class="post-metadata">

**Author:** ![Pana](https://avatars.discourse-cdn.com/v4/letter/p/0ea827/32.png) [@Pana](https://forum.shopware.com/u/Pana)\
**Post date:** [19. September 2021 um 13:58 UTC](https://forum.shopware.com/t/optionid-fuer-artikel-aendern-entfernen/90416/2 "2021-09-19T13:58:43Z")

</div>

Die wohl einzige Möglichkeit ist das manuell zu machen:

> <https://github.com/shopware/platform/issues/508>
>
> I am testing the shopware 6 admin API using the latest version of Shopware (6.1.…1) and found this strange behaviour. 
> 
> I am invoking the PATCH method of product API to update the variant option value. However, the option value gets added to the existing option instead of replacing it.
> 
> Can you suggest a way to replace an existing option value with a new one for a product?
> 
> Following is a Fiddler screenshot of the update call.
> !\[2020-02-06\_14h34\_54\](https://user-images.githubusercontent.com/678518/73941702-02866580-48ee-11ea-91cc-799acdd2749f.png)
> 
> Following is Postman response showing the option value added up:
> !\[2020-02-06\_14h37\_07\](https://user-images.githubusercontent.com/678518/73941820-36618b00-48ee-11ea-94b6-24b9936ead15.png)

> **[Bulk Payloads](https://shopware.stoplight.io/docs/admin-api/docs/guides/writing-entities/bulk-payloads.md)**
>
> The Sync API is an add-on to the Admin API that allows you to perform multiple write operations (creating/updating and deleting) simultaneously. All entities that can be written via the Admin API can also be written via the Sync API.
