Today, my topic will point out the steps you need to follow to Create new API Intergration Magento 2 that means integrating your Magento store with a third-party API. The workflow of the API Integration is setting up the location of 0Auth credentials from the Magento Admin, redirecting URL for third-party integrations, and identifying the available API resources that are needed for the integration.
Let follow the instructions below to understand specifically what you should do to create the great API integration for your own store.
System. In the
Add New Integrationbutton and complete all information
Namefield, enter the name of the integration
Callback URLfield, enter the Callback URL where OAuth credentials can be sent when using OAuth for token exchange. We strongly recommend using https://.
Identity Link URLfield, enter the Identity Link URL to redirect the users to a third-party account with these Magento integration credentials.
API, do the following:
Resource Accessfield, choose one of the following
Custom, mark the checkbox of each resource that is needed
Stores. In the
Magento Web APIunder
Servicesin the panel on the left
Web API Security Settingsection, and continue with following:
Allow Anonymous Guest Accessfield, select
It comes to the end of tutorial: How to Create new API information for Integration in Magento 2.