Jump to content

How to create product with image via API


Recommended Posts

Hi prestashopers!

I am trying to implement an autoimport script products to my website, with python.

I can create a new product with xml file, but i can´t upload any image. 

I try to put the route of the file that i want to upload to the server, in the xml form, nothing happens. 

Also i tried to add new image to a product that i created, but the response of the Web Service is:

"Unable to save resource"

Can anyone help me? Maybe with only 1 of 2.. 

And if u can tell me how can i activate de debug mode of the webservice to test it ?

Thank you in advance. 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...