comment
An article comment.
Properties
The full name of the author of the comment.
A timestamp for when the comment was created.
TipUse the
date
filter to format the timestamp.The status of the comment. Always returns
published
.Outside of the Liquid context, the status of a comment can vary based on spam detection and whether blog comments are moderated. However, only comments with a status of
published
are included in thearticle.comments
array.TipTo learn more about blog comments, visit the Shopify Help Center.
A timestamp for when the status of the comment was last updated.
TipUse the
date
filter to format the timestamp.The relative URL of the article that the comment is associated with, with
comment.id
appended.
{
"author": "Cornelius",
"content": "Wow, this is going to save me a fortune in invisibility potion!",
"created_at": "2022-06-05 19:33:57 -0400",
"email": "cornelius.potionmaker@gmail.com",
"id": 129089273921,
"status": "published",
"updated_at": "2022-06-05 19:33:57 -0400",
"url": "/blogs/potion-notions/how-to-tell-if-you-have-run-out-of-invisibility-potion#129089273921"
}
{
"author": "Cornelius",
"content": "Wow, this is going to save me a fortune in invisibility potion!",
"created_at": "2022-06-05 19:33:57 -0400",
"email": "cornelius.potionmaker@gmail.com",
"id": 129089273921,
"status": "published",
"updated_at": "2022-06-05 19:33:57 -0400",
"url": "/blogs/potion-notions/how-to-tell-if-you-have-run-out-of-invisibility-potion#129089273921"
}
Was this section helpful?