Maheshmohan1093 Posted July 29, 2015 Share Posted July 29, 2015 (edited) Hi how can I create a product in prestashop using webservice? Please help. Any sample code so that I can work on it? I have tried a xml request but it is responding with 200 OK status but without creating product. <?xml version="1.0" encoding="UTF-8"?><prestashop xmlns:xlink="http://www.w3.org/1999/xlink"> <product> <name> <language id="1" xlink:href="http://myshop.com/api/languages/1"> PRO NATURE SUGAR 1003 GM </language> </name> <price>20.00</price> </product></prestashop> This was the xml I was trying to give as request? Please help Edited July 29, 2015 by Maheshmohan1093 (see edit history) Link to comment Share on other sites More sharing options...
Maheshmohan1093 Posted July 29, 2015 Author Share Posted July 29, 2015 Solved.. It was an issue that I have used www.myshop.com. Not sure why it is retrieving but not inserting products while we append www in front of our site. 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