Comment: Comment Functions

Description Usage Arguments Value References

Description

Comment Functions

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
getComments(blogId, articleId, ...)

getCommentsCount(blogId, articleId, ...)

getComment(commentId, ...)

createComment(comment, ...)

modifyComment(comment, ...)

markCommentAsSpam(commentId, ...)

markCommentAsNotSpam(commentId, ...)

approveComment(commentId, ...)

removeComment(commentId, ...)

restoreComment(commentId, ...)

Arguments

blogId

a Blog id (leave blank to fetch all comments for the shop)

articleId

an Article id (leave blank to fetch all comments for this blog)

...

additional request parameters

commentId

a Comment id number

comment

a list containing Comment fields

Value

a list containing a Comment fields or a list of Comments

References

Shopify API Comment documentation: https://help.shopify.com/api/reference/online_store/comment


shopifyr documentation built on July 22, 2019, 9:04 a.m.

Related to Comment in shopifyr...