I'm new in Magento, I want to add Magento product from my CodeIgniter (external php script).
I have created Web_Services->OAuth_Consumers and get key and Secret.
what is the next step? (also set REST Attribute, REST Roles)
I try googling but not getting proper answer.
Thank you.
Best Answer
If you have access to the admin account for the backend it will be very useful as admin will have the permission already set up for adding products to the system. Lets assume you have access to the admin user.
This is a sample code which will add a product to the system using OAuth as admin
This code snippet is courtesy of Magento REST api documentation. Link here