--- title: CollectionConnection - Storefront API description: | An auto-generated type for paginating through multiple Collections. api_version: 2025-10 api_name: storefront type: connection api_type: graphql source_url: html: https://shopify.dev/docs/api/storefront/latest/connections/CollectionConnection md: https://shopify.dev/docs/api/storefront/latest/connections/CollectionConnection.md --- # Collection​Connection connection An auto-generated type for paginating through multiple Collections. ## Fields with this connection * [Product.collections](https://shopify.dev/docs/api/storefront/latest/objects/Product#field-Product.fields.collections) OBJECT The `Product` object lets you manage products in a merchant’s store. Products are the goods and services that merchants offer to customers. They can include various details such as title, description, price, images, and options such as size or color. You can use [product variants](https://shopify.dev/docs/api/storefront/latest/objects/ProductVariant) to create or update different versions of the same product. You can also add or update product [media](https://shopify.dev/docs/api/storefront/latest/interfaces/Media). Products can be organized by grouping them into a [collection](https://shopify.dev/docs/api/storefront/latest/objects/Collection). Learn more about working with [products and collections](https://shopify.dev/docs/storefronts/headless/building-with-the-storefront-api/products-collections). *** ## Queries with this connection * [collections](https://shopify.dev/docs/api/storefront/latest/queries/collections) query List of the shop’s collections. *** ## Possible returns * edges [\[Collection​Edge!\]!](https://shopify.dev/docs/api/storefront/latest/objects/CollectionEdge) non-null A list of edges. * nodes [\[Collection!\]!](https://shopify.dev/docs/api/storefront/latest/objects/Collection) non-null A list of the nodes contained in CollectionEdge. * page​Info [Page​Info!](https://shopify.dev/docs/api/storefront/latest/objects/PageInfo) non-null Information to aid in pagination. * total​Count [Unsigned​Int64!](https://shopify.dev/docs/api/storefront/latest/scalars/UnsignedInt64) non-null The total count of Collections. *** ## Map ### Fields with this connection * {}[Product.collections](https://shopify.dev/docs/api/storefront/latest/objects/Product#field-Product.fields.collections) ### Queries with this connection * \[collections](https://shopify.dev/docs/api/storefront/latest/queries/collections) ### Possible returns * <->[Collection​Connection.edges](https://shopify.dev/docs/api/storefront/latest/connections/CollectionConnection#returns-edges) * <->[Collection​Connection.nodes](https://shopify.dev/docs/api/storefront/latest/connections/CollectionConnection#returns-nodes) * <->[Collection​Connection.pageInfo](https://shopify.dev/docs/api/storefront/latest/connections/CollectionConnection#returns-pageInfo) * <->[Collection​Connection.totalCount](https://shopify.dev/docs/api/storefront/latest/connections/CollectionConnection#returns-totalCount)