Rest Api
Magento 2 - How Rest API Response data is Generated

In this blog we will look in to how Magento generates the data for the rest API. When you think of building a Rest API the thing that comes in our mind is generally the below. Url Endpoint Input parameters Json Return Data and the implementation would be some think like the below Create A […]

Read more
Elastic Search
Magento 2 - Useful Elasticsearch Commands

In this document, we will cover the elastic search commands that we generally used in the context of Magento debugging. Related Tutorials To get the Indices Details List all indices Sample Output List all aliases Delete All Indices Sample Output To Fetch the Data directly from Elasticsearch Get Records Count To fetch the total no […]

Read more
Code Samples
How to Fetch the Complete Magento 2 Graphql Schema

You can use the below graphql request to fetch the complete graphql schema. Method: Post Url : yourdomain/graphql Body : Response The output would be some thing like the below, i.e you will get the the complete schema of the system. Ustually it will be around 50000+ lines

Read more
Extensions
Magento 2 Free Rest API / Elasticsearch / Graphql Logging extension

A very lightweight logging module that supports Rest Api Logging Elastic Search Logging GraphQl Logging RabbitMq Logging Varnish Cache Tag Bans Logging No Core files is overridden or modified. These logging are implemented using plugins. To Install For Magento Version >= 2.4.4 For Magento Version < 2.4.4 Supported Logging Rest API Logging ElasticSearch Logging For […]

Read more
Elastic Search
Magento 2 - Elastic Search Concepts for a Magento Developer

Related Articles Elastic Search is a powerful search and analytics engine. It is known for its distributed nature, speed, and scalability. This document covers the important concepts of elastic search that would require for a magento developer The Elasticsearch Instance Once Elasticsearch is installed and running you have the instance of the Elasticsearch also known […]

Read more
Elastic Search
Magento 2 - How data is fetched from Elasticserach

Related Articles Overview Once we have the product data pushed to Elasticsearch we can now use ES API's to fetch data. The data from ES helps to Identify the products ids that are relevant for the specific search query. Filter Navigation / Aggregation Once we have the products ids, The relevant product data such as […]

Read more
Elastic Search
How Product Data is Pushed to Elasticsearch from Magento

Related Articles To serve data from elastic search we first need to push data to elastic search, This is done through the catalog search fulltext indexing. Lets explore more in to this through the below sections. Identity the Relevant Products to Push to Elasticsearch The products that are enabled, visibility = catalog search will be […]

Read more
Elastic Search
Elastic Search for Magento Developer

As of Magento 2.4 Magento does not support MySql as a Search Engine. Now, you must install and configure Elasticsearch as your search engine before upgrading to 2.4. The below are the two primary actions involved with magento integration with elastic search which we will see in detail. Push Data The product data from Magento […]

Read more