1

We have worked on the Magento-1.9.1.1 version website on the Porto theme. The website is working fine. Now we want to make a 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 APIs to build the app.

I have referred to the following : Devdocs tutorial for Rest API

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

Can anyone give the list of REST APIs which are generally using for the Mobile application?

And give me the solution to create them.

7
  • Have you refereed this url ? https://devdocs.magento.com/guides/m1x/api/rest/introduction.html Jun 11, 2018 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. Jun 11, 2018 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 Jun 11, 2018 at 7:23
  • In magento 2 there's API for Login and Register so there must be for Magento 1 Jun 11, 2018 at 7:25
  • And dw bro :) it will done Jun 11, 2018 at 7:25

2 Answers 2

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.

8
  • Good. when i run magentohost/api/rest/customers, Access denied. And i need api for login and sign up also Jun 11, 2018 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. Jun 11, 2018 at 9:58
  • Please let me know if you can use the above inchoo article to setup the REST API and settings. Jun 11, 2018 at 9:59
  • @TejabhagavanKollepara Can you please check this git hub repo github.com/leoliew/magento-api it has login and user register APIs. Jun 11, 2018 at 10:15
  • I have just checked and installed into my website. But everything is showing in chinese language even it is en Jun 11, 2018 at 10:51
0

You can see the available Rest API's in the magento by entering URL as

URL - {{MagentoHomepage}}/swagger

Example: http://lh.magento242.com/swagger

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.