Adapter for Magento Rest API