How to get products data by GraphQL Magento 2?

Product Query GraphQL Magento contains a lot of information for a product.

You can fetch the result of the product query in multiple ways, Using Search Criteria with equal or match type, By full-text search within the product query.

Pass only the required field on GraphQL Query so the output will be displayed only on those fields.

If you want to explore CMS GraphQL query, check the link, Get Cms Page and Cms blocks GraphQL Query.

Continue reading “How to get products data by GraphQL Magento 2?”

How to use FilterRangeTypeInput in GraphQl Magento 2?

Magento with GraphQl, Filter Range Type Input used to filter the query by the range type like from and to.

This type used to filter the response based on the selection of range value of from and to.

I hope you are aware of the Use FilterEqualTypeInput and FilterMatchTypeInput in GraphQl Magento.

Continue reading “How to use FilterRangeTypeInput in GraphQl Magento 2?”

How to Use FilterEqualTypeInput and FilterMatchTypeInput with GraphQl Magento 2?

Magento has an out of the box GraphQl feature that will be useful for the storefront API to interact with third-party software.

Sometimes you have checked the syntax of FilterEqualTypeInput and FilterMatchTypeInput in a schema.graphql file of the Graphql module.

This syntax is used to filter the GraphQl Query with Custom Attribute type.

Continue reading “How to Use FilterEqualTypeInput and FilterMatchTypeInput with GraphQl Magento 2?”