---
title: "Comment"
description: "Comment"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/common-objects/objects/comment'
  md: 'https://developer.shopline.com/docs/storefront-api/common-objects/objects/comment.md'
---
# Comment

Comment

- **API Version:** v20270301
- **API Type:** Storefront
- **API Protocol:** GraphQL
- **Operation Type:** Object

## Type Signature

`Comment`

## Fields

* `~~author~~`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  author [Deprecated]

* `authorV2`

  [CommentAuthor](https://developer.shopline.com/docs/storefront-api/common-objects/objects/comment-author.md)

  author

* `content`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  The text of the comment does not have html marks

* `contentHtml`

  [HTML](https://developer.shopline.com/docs/storefront-api/common/scalars/html.md)

  The text of the comment , with html mark

* `id`

  [ID](https://developer.shopline.com/docs/storefront-api/common/scalars/id.md)

  id

## Schema Definition

```graphql
type Comment { 
	author: String
	authorV2: CommentAuthor
	content: String
	contentHtml: HTML
	id: ID 
}
```

## Field from

* [CommentEdge](https://developer.shopline.com/docs/storefront-api/common-objects/objects/comment-edge.md).node

  Node

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/storefront-api/overview.md#status-and-error-codes).

