# Upsert Product Price

**URL:** <https://forum.shopware.com/t/upsert-product-price/104640>\
**Category:** Shopware 6 (German)\
**Created:** [25. Juli 2024 um 06:20 UTC](https://forum.shopware.com/t/upsert-product-price/104640 "2024-07-25T06:20:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![brettvormkopp](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/brettvormkopp/32/7788_2.png) [@brettvormkopp](https://forum.shopware.com/u/brettvormkopp)\
**Post date:** [25. Juli 2024 um 06:20 UTC](https://forum.shopware.com/t/upsert-product-price/104640/1 "2024-07-25T06:20:27Z")

</div>

Wenn ich ein Produkt neu anlegen/upserten möchte, dann wird der net price verlangt den ich zu diesem Zeitpunkt aber nicht selbst errechnen möchte.  
Wie kann ich das Umgehen und was bedeuted das linked? Ich verstehe den Satz nicht in der Doku.  
Ich habe einen Shop und als zweite Währung CHF und nur diese im Shop aktiv.

> **[Product Data | Shopware Documentation](https://developer.shopware.com/docs/v6.3/guides/integrations-api/admin-api/writing-entities/product-data.html#currency-price-structure)**
>
> Documentation for Shopware developers

Vielen Dank und Gruss

---

<div class="post-metadata">

**Author:** ![EikeBrandtWarneke](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@EikeBrandtWarneke](https://forum.shopware.com/u/EikeBrandtWarneke)\
**Post date:** [25. Juli 2024 um 06:35 UTC](https://forum.shopware.com/t/upsert-product-price/104640/2 "2024-07-25T06:35:17Z")

</div>

Ein gültiger price besteht immer aus brutto und netto Preis. Da wirst du nicht drum herum kommen. Der linked flag ist quasi das „Schloss“ in der Administration, so dass brutto und netto getrennt voneinander gepflegt werden können.

Viele Grüße

---

<div class="post-metadata">

**Author:** ![brettvormkopp](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/brettvormkopp/32/7788_2.png) [@brettvormkopp](https://forum.shopware.com/u/brettvormkopp)\
**Post date:** [25. Juli 2024 um 06:39 UTC](https://forum.shopware.com/t/upsert-product-price/104640/3 "2024-07-25T06:39:29Z")

</div>

Vielen Dank für die Antwort @EikeBrandtWarneke .  
Hast du einen „Fall“ wo dieses Schloss (linked) benötigt wird?

---

<div class="post-metadata">

**Author:** ![EikeBrandtWarneke](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@EikeBrandtWarneke](https://forum.shopware.com/u/EikeBrandtWarneke)\
**Post date:** [25. Juli 2024 um 06:41 UTC](https://forum.shopware.com/t/upsert-product-price/104640/4 "2024-07-25T06:41:55Z")

</div>

Naja, das ist halt bequemer, wenn du einen Preis anpassen möchtest - auf z.B. 19,95 EUR - dann wird der netto Preis automatisch von Shopware berechnet.

Viele Grüße

---

<div class="post-metadata">

**Author:** ![brettvormkopp](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/brettvormkopp/32/7788_2.png) [@brettvormkopp](https://forum.shopware.com/u/brettvormkopp)\
**Post date:** [25. Juli 2024 um 07:05 UTC](https://forum.shopware.com/t/upsert-product-price/104640/5 "2024-07-25T07:05:56Z")

</div>

ok. also wenn ich hier linked true mache, dann berechnet er es nicht automatisch bei api/\_action/sync, aber wenn ich im backend den Preis ändere, dann berechnet er net, automatisch.  
Gibt es da kein Tool was es schon beim upsert berechnen kann? Ggf nachträglich?

---

<div class="post-metadata">

**Author:** ![EikeBrandtWarneke](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@EikeBrandtWarneke](https://forum.shopware.com/u/EikeBrandtWarneke)\
**Post date:** [25. Juli 2024 um 07:33 UTC](https://forum.shopware.com/t/upsert-product-price/104640/6 "2024-07-25T07:33:40Z")

</div>

Die API berechnet keine Preise automatisch, sondern empfängt nur Daten. Der linked flag ist ausschließlich für die Administration, ob dort Preise berechnet werden sollen.

Viele Grüße

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/2/9/29c7587ba660f00e4995d1743162782e5d6d8653.svg) [@system](https://forum.shopware.com/u/system)\
**Post date:** [24. August 2024 um 07:33 UTC](https://forum.shopware.com/t/upsert-product-price/104640/7 "2024-08-24T07:33:46Z")

</div>

Dieses Thema wurde automatisch 30 Tage nach der letzten Antwort geschlossen. Es sind keine neuen Antworten mehr erlaubt.
