Magento 2 API: Get Customer Token

In this article, we will be looking into how we can get the customer token in Magento 2. Customer Users in Magento have access to resources with anonymous or self permission. To access the self resources, the API call should be authorized. In the Token-based Authorization method, the customer token is necessary to authorize the … Read more

Magento 2 API: Get Admin Token

To authenticate the API, we can pass the admin token, customer token, or integration token along with the API request in Magento 2. This type of authentication process is called Token-based authentication. Introduction to Magento 2 API and different types of API authentication mechanism used in Magento 2 are present in my previous article. In … Read more