I am developing system to manage some services outside of magento system, however i need both systems (magento and the one i am creating) to comunicate.
So i went to magento rest api documentation and searched about how to fetch products, wich i think is pretty simple, but i am not sure if the custom options of the products will be returned in the request.
Any help/tip?
Best Answer
Sorry I do not see the Magento 1.9 tag.
For Magento 1 :
I think that you need to extend / create the products API to expose product options
More information here : http://devdocs.magento.com/guides/m1x/api/rest/introduction.html
A tutorial which explain how to extend the API : http://www.codealist.net/product-custom-options-in-rest-api/
For Magento 2 :
You can retrieve product custom options with this API inside
extension_attributes => options
catalogProductRepositoryV1
"Get product list"
Model schema :
You can also retrieve product custom options with this API :
catalogProductCustomOptionRepositoryV1
"Get the list of custom options for a specific product"
Model schema :
More details : http://devdocs.magento.com/swagger/