comment
An article comment.
Properties
The full name of the author of the comment.
A timestamp for when the comment was created.
TipUse the
datefilter to format the timestamp.Tip:Use the
datefilter to format the timestamp.Tip: Use the <a href="/docs/api/liquid/filters/date"><code>date</code> filter</a> 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
publishedare included in thearticle.commentsarray.TipTo learn more about blog comments, visit the Shopify Help Center.
Tip:To learn more about blog comments, visit the Shopify Help Center.
Tip: To learn more about blog comments, visit the <a href="https://help.shopify.com/manual/online-store/blogs/managing-comments">Shopify Help Center</a>.
A timestamp for when the status of the comment was last updated.
TipUse the
datefilter to format the timestamp.Tip:Use the
datefilter to format the timestamp.Tip: Use the <a href="/docs/api/liquid/filters/date"><code>date</code> filter</a> to format the timestamp.
The relative URL of the article that the comment is associated with, with
comment.idappended.
Example
{
"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"
}