How to generate Customer token GraphQL Query Magento 2?

Generate Customer Token GraphQL mutation for any query that requires customer authentication to load data using GraphQL.

generateCustomerToken() mutation is used to create a token.

You just have to pass your email id and password to the mutation to create a customer token. Continue reading “How to generate Customer token GraphQL Query Magento 2?”

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 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?”