Answer the question
In order to leave comments, you need to log in
How to add new product to Magento via REST API?
Good afternoon,
I'm trying to add a new product through the REST API, following the example from the official site www.magentocommerce.com/api/rest/introduction.html.
The Admin user has been created, all Roles have been added to it, Admin with full permission (Read, Write ..)
It seems that I am doing everything right, when I run the PHP code it gives out:
Array ( [url] => 127.0.0.1/magento/api/rest/products [http_code] => 200 [download_content_length] => 37 [content_type] => text/html [size_download] => 37 [size_upload] => 225 )
But it doesn't add any product.
Maybe I'm doing something wrong, maybe someone met this problem.
Maybe it's in the PHP code or in the Magento configuration itself?
Tell me please.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question