1 / 3

magento 2 api documentation

magento 2 api documentation<br>https://www.cloudways.com/blog/magento-2-rest-api/

Download Presentation

magento 2 api documentation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Getting Started With Magento 2 REST API

  2. Magento 2 API framework allows developers to create new services for communicating with Magento 2 stores. It supports REST and SOAP web services and is based on CRUD operations (Create, Read, Update, Delete) and a Search Model. Given the importance of REST API in web apps, It is surprising that a lot of Magento developers ask the question, What is Magento 2 REST API? At the moment, Magento 2 uses the following three authentication methods as is described in Magento 2 api documentation. OAuth 1.0a authentication for third-party applications. Tokens to authenticate mobile applications. Admins and customers authentication with login credentials. These authentication methods can only access the resources assigned to them. Magento 2 API framework first checks whether the call has appropriate authorization to perform the request. The API framework also supports field filtering of API responses to preserve cellular bandwidth.

  3. Developers use Magento 2 APIs for a wide range of tasks. For instance, you can create a shopping app and integrate it with your Magento 2 store. You can also build a web app which your employee could use to help customers make purchases. With the help of APIs, you can integrate your Magento 2 store with CRMs, ERPs or POS systems. Using Magento 2 REST API Using REST API in Magento 2 is a piece of cake. But for that, you need to understand the flow to call APIs in PHP. If you want to use token-based Magento 2 REST API, first you will need to authenticate and get the token from Magento 2. Then, you will have to pass it in the header of every request you perform. Read a full blog post: Magento 2 api documentation

More Related