---
title: CommentConnection - Storefront API
description: An auto-generated type for paginating through multiple Comments.
api_version: 2026-04
source_url:
  html: https://shopify.dev/docs/api/storefront/latest/connections/commentconnection
  md: https://shopify.dev/docs/api/storefront/latest/connections/commentconnection.md
---

# Comment​Connection

connection

An auto-generated type for paginating through multiple Comments.

## Fields with this connection

* [Article.comments](https://shopify.dev/docs/api/storefront/latest/objects/Article#field-Article.fields.comments)

  OBJECT

  A post that belongs to a [`Blog`](https://shopify.dev/docs/api/storefront/current/objects/Blog). Each article includes content with optional HTML formatting, an excerpt for previews, [`ArticleAuthor`](https://shopify.dev/docs/api/storefront/current/objects/ArticleAuthor) information, and an associated [`Image`](https://shopify.dev/docs/api/storefront/current/objects/Image).

  Articles can be organized with tags and include [`SEO`](https://shopify.dev/docs/api/storefront/current/objects/SEO) metadata. You can manage [comments](https://shopify.dev/docs/api/storefront/current/objects/Comment) when the blog's comment policy enables them.

***

## Possible returns

* edges

  [\[Comment​Edge!\]!](https://shopify.dev/docs/api/storefront/latest/objects/CommentEdge)

  non-null

  A list of edges.

* nodes

  [\[Comment!\]!](https://shopify.dev/docs/api/storefront/latest/objects/Comment)

  non-null

  A list of the nodes contained in CommentEdge.

* page​Info

  [Page​Info!](https://shopify.dev/docs/api/storefront/latest/objects/PageInfo)

  non-null

  Information to aid in pagination.

***

## Map

### Fields with this connection

* [Article.comments](https://shopify.dev/docs/api/storefront/latest/objects/Article#field-Article.fields.comments)

### Possible returns

* [Comment​Connection.edges](https://shopify.dev/docs/api/storefront/latest/connections/CommentConnection#returns-edges)
* [Comment​Connection.nodes](https://shopify.dev/docs/api/storefront/latest/connections/CommentConnection#returns-nodes)
* [Comment​Connection.pageInfo](https://shopify.dev/docs/api/storefront/latest/connections/CommentConnection#returns-pageInfo)