I want to add downloads to an article through the API. Looking at the API, it should be easy, but somehow there is no file added to the article altough the API returns a HTTP: 200. Furthermore the file is on an external server and should be available then on the local server.
Here is my code
//Getting the article ID by ordernumber
$data = $client->get(‘articles/’.$arr[‘ordernumb’].’?useNumberAsId=true’);
Thank you for your reply with the link! That’s what I was looking for. I tried this also out but finally I found out, that I also built a wrong array (I had an array to less in „downloads“). Now it’s working like I want it to work!