Shopware 4 Rest API Article link with Images(Media)
<p>I want to Link Articles with Medias by using the Rest API.</p>

<p>I had the Article ID and the ID from the Images (Media) an now want to send an Article Update to the API to update the images.</p>

<p>Is this possible?</p>

<p>Like this?</p>

<pre><code>$article[]=array(
    'id'=&gt;'13,
    'images'=&gt;array('media_id' =&gt; 4)    
);

$return = $client-&gt;put('articles',array($article);
</code></pre>