https://shopify.com/admin/api/2020-01/comments/count.jsonhttps://shopify.dev/docs/admin-api/rest/reference/online-store/comment#count-2020-01
Count comments created after date (format: 2014-04-25T16:15:47-04:00).
Count comments created before date (format: 2014-04-25T16:15:47-04:00).
Count comments last updated after date (format: 2014-04-25T16:15:47-04:00).
Count comments last updated before date (format: 2014-04-25T16:15:47-04:00).
Count comments published after date (format: 2014-04-25T16:15:47-04:00).
Count comments published before date (format: 2014-04-25T16:15:47-04:00).
Retrieve a count of comments with a given published status. (default: any) published: Count only published comments. unpublished: Count only unpublished comments. any: Count comments of any published status.
Retrieve a count of comments with a given status. pending: Count pending comments. published: Count published comments. unapproved: Count unapproved comments.
article_id
blog_id
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request GET \
--url 'https://shopify.com/admin/api/2020-01/comments/count.json' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}https://shopify.com/admin/api/2020-01/comments/count.jsonhttps://shopify.dev/docs/admin-api/rest/reference/online-store/comment#count-2020-01
Count comments created after date (format: 2014-04-25T16:15:47-04:00).
Count comments created before date (format: 2014-04-25T16:15:47-04:00).
Count comments last updated after date (format: 2014-04-25T16:15:47-04:00).
Count comments last updated before date (format: 2014-04-25T16:15:47-04:00).
Count comments published after date (format: 2014-04-25T16:15:47-04:00).
Count comments published before date (format: 2014-04-25T16:15:47-04:00).
Retrieve a count of comments with a given published status. (default: any) published: Count only published comments. unpublished: Count only unpublished comments. any: Count comments of any published status.
Retrieve a count of comments with a given status. pending: Count pending comments. published: Count published comments. unapproved: Count unapproved comments.
article_id
blog_id
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request GET \
--url 'https://shopify.com/admin/api/2020-01/comments/count.json' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}