How to add new Customer Address By REST API Magento 2?

Add Update Customer Address Using REST Web API in Magento 2 with URL rest/{store_code}/V1/customers/me and PUT Action method.

API is useful when you have to import customer addresses from a third-party platform. Just call REST API and you can import the address to the Magento.

There are two ways to Add or Update Customer Addresses using REST, Continue reading “How to add new Customer Address By REST API Magento 2?”

How to generate customer access token by REST API Magento 2?

Generate customer access token in Magento using a specific username and password of the customer in the payload request.

By default, a customer token is valid for 1 hour only. To change the default value of the system,
Go to admin panel,
Click Left sidebar Stores > Settings > Configuration > Services > OAuth > Access Token Expiration. Continue reading “How to generate customer access token by REST API Magento 2?”

How to fixed Customer Attribute not saving value in admin panel Magento 2?

Sometimes you may face the issue like Value not update/Save for the customer attribute when you have created a customer attribute using Setup Patch Data in Magento 2.

When you check the log files, you don’t see any error log for this issue, its time consuming to trace the issue instead of customer attribute record generated in eav_attribute, customer_eav_attribute and customer_form_attribute table. Continue reading “How to fixed Customer Attribute not saving value in admin panel Magento 2?”