View Single Post
  #2  
Old 12-22-2016, 05:59 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Create a new product using REST API

I've tried it on my local computer and it has created a new product and responded with a JSON info about the new product (including its product_id):
http://devs.x-cart.com/en/basics/rest_api_documentation.html#creating-product

Do you see any error messages in the var/log/ directory?
Also, do you see any error messages in the JavaScript console in your browser when you open the URL?
Are you sure that you use the correct key (that is allowed to write data to the database)?
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote