Learn R Programming

shopifyr (version 1.0.0)

Comment: Comment Functions

Description

Comment Functions

Usage

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