I'm trying to use the Magento REST API to get back a list of all products on my Megento Installation.
I've successfully authenticated using OAuth and I'm calling "LINK TO API/products" -- however it just returns me an array of empty arrays, like so:
{"11":[],"12":[],"13":[],"14":[],"15":[],"16":[],"17":[]}
11, 13, 13 etc are the ID's of the products in my store. So its certainly finding products, however it isn't sending any of the products details along with the IDs, which should be in the JSON arrays associated with the IDs.
Has anyone encountered this issue before and been able to fix it?
Below is the code I'm using to access the API.
$oauthClient->fetch($resourceUrl, array(), 'GET', array('Content-Type' => 'text/xml'));
Thanks in Advance,
Danny