# Artikel einstellen über Plugin

**URL:** <https://forum.shopware.com/t/artikel-einstellen-uber-plugin/12453>\
**Category:** Shopware 3.5\
**Tags:** programming\
**Created:** [2. April 2013 um 12:37 UTC](https://forum.shopware.com/t/artikel-einstellen-uber-plugin/12453 "2013-04-02T12:37:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![damaex](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@damaex](https://forum.shopware.com/u/damaex)\
**Post date:** [2. April 2013 um 12:37 UTC](https://forum.shopware.com/t/artikel-einstellen-uber-plugin/12453/1 "2013-04-02T12:37:32Z")

</div>

Hallo, ich suche eine Möglichkeit, direkt im Plugin, ohne Umweg über die REST-API einen Artikel einzustellen, bzw. zu bearbeiten. Bisher habe ich dafür noch keine Informationen gefunden. Mit Bestem Dank für jede Antwort, daMaex

---

<div class="post-metadata">

**Author:** ![Almare](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@Almare](https://forum.shopware.com/u/Almare)\
**Post date:** [3. Juni 2013 um 13:58 UTC](https://forum.shopware.com/t/artikel-einstellen-uber-plugin/12453/2 "2013-06-03T13:58:25Z")

</div>

Must du programmieren. Diese Funktion unterstützt Shopware von sich aus nicht. Bin gerade selber am Plugin entwickeln für genau diesen Zweck, daher weis ich das.

---

<div class="post-metadata">

**Author:** ![kotoradeluxe](https://avatars.discourse-cdn.com/v4/letter/k/47e85d/32.png) [@kotoradeluxe](https://forum.shopware.com/u/kotoradeluxe)\
**Post date:** [3. Juni 2013 um 18:05 UTC](https://forum.shopware.com/t/artikel-einstellen-uber-plugin/12453/3 "2013-06-03T18:05:02Z")

</div>

hilft dir evtl das? [Shopware Labs - REST API verwenden](http://wiki.shopware.de/Neue-Shopware-API-verwenden%5C_detail%5C_989%5C_721.html)

---

<div class="post-metadata">

**Author:** ![Almare](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@Almare](https://forum.shopware.com/u/Almare)\
**Post date:** [7. Juni 2013 um 16:12 UTC](https://forum.shopware.com/t/artikel-einstellen-uber-plugin/12453/4 "2013-06-07T16:12:10Z")

</div>

Ah mein Fehler! Sorry das Bezog sich auf Bestellungen. Siehe Posting kotoradeluxe

---

<div class="post-metadata">

**Author:** ![haruka](https://avatars.discourse-cdn.com/v4/letter/h/73ab20/32.png) [@haruka](https://forum.shopware.com/u/haruka)\
**Post date:** [7. Juni 2013 um 16:39 UTC](https://forum.shopware.com/t/artikel-einstellen-uber-plugin/12453/5 "2013-06-07T16:39:05Z")

</div>

Du willst einfach die Flexibilität der API ohne REST haben, oder? Dann könnte dir das Beispiel hier helfen: `$articleResource = new \Shopware\Components\Api\Resource\Article(); $article = array( 'name' =\> 'Neuer Artikel', 'taxId' =\> 1, 'mainDetail' =\> array( 'number' =\> 'SW123456' ) ); $articleResource-\>create(article); `
