Retrieve catalog data with GraphQL graphql-queries

Use GraphQL queries to retrieve product, price, and other data from the Adobe Commerce Catalog SaaS data space and use it to render Commerce experiences more quickly than the native Adobe Commerce GraphQL queries.

The Catalog Service provides the following queries:

Query
Description
Usage
categories
Returns category data. If the subtree input object is specified, the query returns details about subcategories.
Useful to render storefront navigation and category pages. See example.
products
Returns details about the SKUs specified as input.
Used primarily to render content on product detail and product compare pages. See example.
productSearch
Returns a list of products that match the search criteria.
Useful for rendering search results and product list pages based on search input. See example.
refineProduct
Narrows the results of a products query run against a complex product to return a specific information about a product variant.
Useful for rendering updated product detail pages when the shoppers select a product option. See example.
variants
Returns details about all variations of a product.
Useful for showing variant images on product detail or listing pages without submitting multiple API requests. See example.

See the Catalog Service API Guide for more information about using these queries

recommendation-more-help
caa758b0-fff2-4350-a281-16253ff7b81f