Skip to main content
object

Requires read_content access scope or read_online_store_pages access scope.

A comment on an article.

Anchor to Fields and connectionsFields and connections

•Article

The article associated with the comment.

•CommentAuthor!non-null

The comment’s author.

•String!non-null

The content of the comment.

•HTML!non-null

The content of the comment, complete with HTML formatting.

•DateTime!non-null

The date and time when the comment was created.

•EventConnection!non-null

The paginated list of events associated with the host subject.

•ID!non-null

A globally-unique ID.

•String

The IP address of the commenter.

•Boolean!non-null

Whether or not the comment is published.

•DateTime

The date and time when the comment was published.

•CommentStatus!non-null

The status of the comment.

•DateTime

The date and time when the comment was last updated.

•String

The user agent of the commenter.


Was this section helpful?

•query

Returns a Comment resource by ID.

•query

List of the shop's comments.


Was this section helpful?

•mutation

Approves a comment.

Arguments

•ID!required

The ID of the comment to be approved.


Fields

•Comment

The comment that was approved.

•[CommentApproveUserError!]!non-null

The list of errors that occurred from executing the mutation.

•mutation

Marks a comment as not spam.

Arguments

•ID!required

The ID of the comment to be marked as not spam.


Fields

•Comment

The comment that was marked as not spam.

•[CommentNotSpamUserError!]!non-null

The list of errors that occurred from executing the mutation.

•mutation

Marks a comment as spam.

Arguments

•ID!required

The ID of the comment to be marked as spam.


Fields

•Comment

The comment that was marked as spam.

•[CommentSpamUserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

•interface

Was this section helpful?
OSZAR »