Hi Everyone, I am trying to batch delete (or add) articles. As you can see I have two articles Array ( [0] =\> Array ( [id] =\> 14508 [mainDetailId] =\> 15085 [supplierId] =\> [taxId] =\> 1 [priceGroupId] =\> ... [1] =\> Array ( [id] =\> 14510 [mainDetailId] =\> 15087 [supplierId] =\> 14 [taxId] =\> 1 [priceGroupId] =\>
But I cant delete these two with a batch command. This does not work: $DEVclient-\>delete('articles/', array( array('id' =\> 14508), array('id' =\> 14510) ) );
This also does not work $DEVclient-\>delete('articles/', array( array('id' =\> '14508'), array('id' =\> '14510') ) );
Hi, thanks for the report. I created this Issue in our Issuetracker: https://issues.shopware.com/#/issues/SW-13410 So we can have a closer look at it. Greetings, Marcel
Hey, after a few very helpful discussions in the IRC Chatroom it seems that the API example client in the shopware documentation doesnt work with the batch functions.