1

We have worked on Magento-1.9.1.1 version website on Porto theme. Website is working fine. Now we want to make mobile application for Android/IOS.

For that, we hired app developers and they are working on react-native(for both android and IOS). They need REST API's to build the app.

I have referred the following : Devdocs tutorial for Rest API

It's good and giving the basic api's. But, App developers are asking API for login and sign up etc.

Can anyone give the list of REST API's which are generally using for the Mobile application?

And give me the solution to create them.

  • Have you refereed this url ? https://devdocs.magento.com/guides/m1x/api/rest/introduction.html – Aditya Shah Jun 11 '18 at 7:18
  • Because i am developing the same in Magento 2.2.4 and Dev docs helped me a lot and i am half way :) now. – Aditya Shah Jun 11 '18 at 7:19
  • @AdityaShah, I have already checked this and when i check this, i felt wah i'm safe. But, my developers are asking api for login and sign up etc. Then i am getting stress. Thats yy i posted – Teja Bhagavan Kollepara Jun 11 '18 at 7:23
  • In magento 2 there's API for Login and Register so there must be for Magento 1 – Aditya Shah Jun 11 '18 at 7:25
  • And dw bro :) it will done – Aditya Shah Jun 11 '18 at 7:25
0

Magento has built in REST APIs for most of the features like products, customers, inventory, customer address, orders. You can find more information on the devdocs here.

Here are few REST URLs

Base URL for REST APIs: http://YOUR_DOMAIN_NAME/api/rest

You need to use oAuth to authenticate the APIs. Learn more here.

I hope this helps.

  • Good. when i run magentohost/api/rest/customers, Access denied. And i need api for login and sign up also – Teja Bhagavan Kollepara Jun 11 '18 at 8:58
  • You may need to configure Magento REST API in the admin panel before you would like to consume. Please check this link to configure the REST API and oAuth settings. – Gideon Jun 11 '18 at 9:58
  • Please let me know if you can use the above inchoo article to setup the REST API and settings. – Gideon Jun 11 '18 at 9:59
  • @TejabhagavanKollepara Can you please check this git hub repo github.com/leoliew/magento-api it has login and user register APIs. – Gideon Jun 11 '18 at 10:15
  • I have just checked and installed into my website. But everything is showing in chinese language even it is en – Teja Bhagavan Kollepara Jun 11 '18 at 10:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.