Skip to Content

Catalog

The root product catalog containing all products and available filters.

Type Definition

type Catalog { productsCount: Int products: ProductConnection }

Fields

FieldTypeDescription
productsCountIntThe total number of products in the store not affected by filters.
productsProductConnectionThe products in the catalog, supporting sorting and filtering.

Relationships

The Catalog type serves as the root entry point for accessing product data within the storefront API. It contains a connection to products that can be filtered and sorted, and maintains a count of the total products available in the catalog. The productsCount field provides metadata about the catalog size, while the products field returns a paginated connection allowing efficient retrieval of product data.

Example

{ catalog { productsCount products(first: 10) { edges { node { id name } } } } }

Implements

This type does not implement any interfaces.