Catalog
The root product catalog containing all products and available filters.
Type Definition
type Catalog {
productsCount: Int
products: ProductConnection
}Fields
| Field | Type | Description |
|---|---|---|
| productsCount | Int | The total number of products in the store not affected by filters. |
| products | ProductConnection | A connection of products in the catalog. |
Relationships
The Catalog type serves as the entry point for accessing product data in the storefront. It contains a connection to products through the products field, which allows for paginated retrieval of products. The productsCount field provides metadata about the total number of products available in the store, independent of any applied filters.
Example
query {
catalog {
productsCount
products {
edges {
node {
id
name
}
}
}
}
}Implements
This type does not implement any interfaces.