How to fetch is_visible_in_advanced_search filter attribute list Magento 2?

Retrieve a list of all is_visible_in_advanced_search filter product attribute list in Magento 2.

This article returns all those product attributes which are used in the advanced search result page.

To get a list of attributes, We need to use CollectionFactory Object from the Catalog Module.
Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory Continue reading “How to fetch is_visible_in_advanced_search filter attribute list 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 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?”