sadlyblue Posted June 5, 2013 Share Posted June 5, 2013 Hi, I'm trying to explore the webservice api. But i can't add an image to products, categories,... Can someone, pls, post an example of how to include images when creating a category or product. I'm following the crud examples to figure things out, but it's only a start... Thanks Link to comment Share on other sites More sharing options...
dandumit Posted July 12, 2013 Share Posted July 12, 2013 I am interested too. And I have seen some error bugs reported. However looking on page : http://doc.prestashop.com/display/PS15/Chapter+9+-+Image+management\ Code below it's working ! <form enctype="multipart/form-data" method="POST" action="http://[email protected]/api/images/products/1"> <fieldset> <legend>Add image for products No 1</legend> <input type="file" name="image"> <input type="submit" value="Execute"> </fieldset> </form> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now