# Images upload via Api

**URL:** https://forum.shopware.com/t/images-upload-via-api/59169
**Category:** Programmierung
**Created:** [19. April 2019 um 18:13 UTC](https://forum.shopware.com/t/images-upload-via-api/59169 "2019-04-19T18:13:28Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![bvleer](https://avatars.discourse-cdn.com/v4/letter/b/13edae/32.png) [@bvleer](https://forum.shopware.com/u/bvleer)
#### Post date: [19. April 2019 um 18:13 UTC](https://forum.shopware.com/t/images-upload-via-api/59169/1 "2019-04-19T18:13:28Z")

</div>

Hi I want to update my articles in my shop with images. So I want to pass an articlenumber to the Api and then add the image (base64) to the existing articledata (without overwriting the data offcourse) . Does anyone have a json example for this?

---

<div class="post-metadata">

### Author: ![Shopwareianer](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Shopwareianer](https://forum.shopware.com/u/Shopwareianer)
#### Post date: [19. April 2019 um 19:11 UTC](https://forum.shopware.com/t/images-upload-via-api/59169/2 "2019-04-19T19:11:00Z")

</div>

[https://developers.shopware.com/developers-guide/rest-api/examples/media/#image-assignment](https://developers.shopware.com/developers-guide/rest-api/examples/media/#image-assignment)
