Requires read_content access scope.
For more info, refer to:
GET https://{handle}.myshopline.com/admin/openapi/v20261201/store/comments.json
handle : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is open001.myshopline.com , the store handle is open001 .
query comment list
Query Parameters
  • blog_collection_id string
    Comment on the blog collection id for articles belonging to
    Example: 639bfda0ee877c4a9bd600b6
  • blog_id string
    Comment on blog id
    Example: 63a2afa527797d5cedcecb52
  • created_at_max string
    Review created max time ISO 8601
    Example: 2022-08-03T10:45:00+08:00
  • created_at_min string
    Review create minimum time ISO 8601
    Example: 2022-08-03T10:45:00+08:00
  • fields string
    Limited return object fields , multiple separated by ',' are used
    Example: body_html,author
  • limit integer
    Query of query quantity , default 50 , can not exceed 250
    Example: 100
  • published_at_max string
    Post review max time ISO 8601
    Example: 2022-08-03T10:45:00+08:00
  • published_at_min string
    Post review min time ISO 8601
    Example: 2022-08-03T10:45:00+08:00
  • published_status string
    Launch status , value : published ( posted status ) ; unpublished : ( not released status ) ; any : ( all status ) ;
    Example: published
  • since_id string
    Show data after this id
    Example: 63aaacb8b0fea649647a241a
  • status string
    Status : value : unapproved ( review waiting to approve ) ; published ( posted status ) ;
  • updated_at_max string
    Update max time ISO 8601
    Example: 2022-08-03T10:45:00+08:00
  • updated_at_min string
    Update min time ISO 8601
    Example: 2022-08-03T10:45:00+08:00
Request Headers
  • Content-Type string required
    The field must be set to the fixed value application/json; charset=utf-8.
  • Authorization string required
    The access token for the API resource. Refer to App authorization to obtain the access token, and then pass the obtained token in the Bearer format.
    Example:
    Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJhcHBJZCI6MCwiYXBwS2V5IjoiNzU2ZjI1NWE2NjdlZTcwNTk1MzM0ZjVjYzk4NzU5MzBmN2E3NGZjMSIsImV4cCI6MTg3OTQ4MjA3NiwiaXNzIjoieXNvdWwiLCJzZWxsZXJJZCI6IjIwMDAyMzQ4ODAiLCJzdG9yZUlkIjoiMTY3MjM2OTcyOTYwNiIsInRpbWVzdGFtcCI6MTc4NDc4NzY3NjY2MSwidmVyc2lvbiI6IlYyIn0.3ZzbGAH4cLU1QR2VPEvMOQInUDvus-C4amkINSQIPuNVlXsFKj0sAt1c0KnUy9MWUOFV9cHlkf7J90r2y1FzpA
Status Codes
For the complete list of codes and messages, see Http status code.

Response Headers
  • traceId
    A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise.
Response Body
  • commentsobject[]
    Review information
  • blog_collection_id string
    Comment on the blog collection id for articles belonging to
    Example: 639bfda0ee877c4a9bd600b6
  • published_at string
    Time to post a review ISO 8601
    Example: 2022-08-03T10:45:00+08:00
  • blog_id string
    Comment on blog id
    Example: 63a2afa527797d5cedcecb52
  • body_html string
    Body content with html markings
    Example: <p>demo-content</p>
  • email string
    Comment on the e-mail address of the author
    Example: demo@qq.com
  • updated_at string
    Update time ISO 8601
    Example: 2022-08-03T10:45:00+08:00
  • author string
    Author of the review
    Example: demo-author
  • id string
    Comment id
    Example: 63aaa20f6b7b014b289c0765
  • create_at string
    Created time for reviews ISO 8601
    Example: 2022-08-03T10:45:00+08:00
  • ip string
    Ip to post a review
    Example: 172.28.173.136
  • status string
    Comment status , post value : unapproved ( default state , comment waiting to be approved , c end does not show this state comment ) ; published : ( posted state , and visible to users on the end of c ) ; spam : ( garbage review , c end )Removed : ( review is marked as deleted status , not visible for users on the end of the c )
    Example: unapproved
  • body string
    Comment content
    Example: demo-content
  • user_agent string
    User agent information
API Explorer
https://openapiceshidianpu.myshopline.com/admin/openapi/v20261201

ParamOptions

header required
query
query
query
query
query
query
query
query
query
query
query
query
query

Language

curl --request GET \
--url https://openapiceshidianpu.myshopline.com/admin/openapi/v20261201/store/comments.json \
--header 'Authorization: Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJhcHBJZCI6MCwiYXBwS2V5IjoiNzU2ZjI1NWE2NjdlZTcwNTk1MzM0ZjVjYzk4NzU5MzBmN2E3NGZjMSIsImV4cCI6MTg3OTQ4MjA3NiwiaXNzIjoieXNvdWwiLCJzZWxsZXJJZCI6IjIwMDAyMzQ4ODAiLCJzdG9yZUlkIjoiMTY3MjM2OTcyOTYwNiIsInRpbWVzdGFtcCI6MTc4NDc4NzY3NjY2MSwidmVyc2lvbiI6IlYyIn0.3ZzbGAH4cLU1QR2VPEvMOQInUDvus-C4amkINSQIPuNVlXsFKj0sAt1c0KnUy9MWUOFV9cHlkf7J90r2y1FzpA' \
--header 'Content-Type: application/json; charset=utf-8' \
--header 'accept: application/json'
Examples
Query list of reviews
Response
{
"comments": [
{
"create_at": "2022-11-25T12:19:44+08:00",
"author": "testdew",
"body": "fsf",
"blog_id": "63803d9ec57c9739b672296b",
"ip": "157.119.232.38,10.98.217.51",
"published_at": "2022-11-25T12:19:57+08:00",
"blog_collection_id": "632c137a0fe5b42e60a04b62",
"status": "published",
"updated_at": "2022-11-25T12:19:57+08:00",
"email": "test@qq.com",
"id": "63804260a0a9ba4487960881"
},
{
"create_at": "2022-11-25T12:12:54+08:00",
"author": "testdet",
"blog_id": "63357995840927149ba6c75c",
"email": "test@qq.com",
"status": "published",
"blog_collection_id": "632c137a0fe5b42e60a04b62",
"published_at": "2022-11-25T12:13:01+08:00",
"body": "test",
"ip": "157.119.232.38,10.98.209.49",
"updated_at": "2022-11-25T12:13:01+08:00",
"id": "638040c6a0a9ba4487960880"
},
{
"id": "6373961f22270c51e7ea5831",
"author": "test",
"blog_collection_id": "633456618c5d1d25c6502e05",
"blog_id": "63345662840927149ba620ce",
"published_at": "2022-11-15T21:37:49+08:00",
"ip": "172.71.14.132,10.98.223.48",
"updated_at": "2022-11-15T21:37:49+08:00",
"create_at": "2022-11-15T21:37:35+08:00",
"status": "published",
"body": "test@qq.com",
"email": "test@qq.com"
},
{
"email": "test@ww.vom",
"status": "published",
"create_at": "2022-10-24T15:05:39+08:00",
"ip": "218.253.130.212,10.218.10.96",
"blog_collection_id": "633456618c5d1d25c6502e05",
"updated_at": "2022-10-24T15:05:50+08:00",
"blog_id": "63345662840927149ba620ce",
"body": "test@ww.vom",
"id": "63563943e3ef6c5645bd5c38",
"published_at": "2022-10-24T15:05:50+08:00",
"author": "测试"
},
{
"id": "63156ef7f79e9061863e0f7d",
"blog_id": "630d8e4b7bd58a0b24e453b5",
"create_at": "2022-09-05T11:37:27+08:00",
"published_at": "2022-09-05T20:33:48+08:00",
"status": "published",
"email": "6@qq.com",
"blog_collection_id": "630d8e61624a3b67a72ebd0a",
"ip": "218.253.130.211,10.218.16.233",
"updated_at": "2022-09-05T20:33:48+08:00",
"body": "自动发布66@qq.com",
"author": "自动发布66"
},
{
"blog_id": "630d8e4b7bd58a0b24e453b5",
"body": "LEfsfdsfsdf",
"email": "werwerwe@qq.com",
"status": "published",
"published_at": "2022-09-05T20:33:48+08:00",
"blog_collection_id": "630d8e61624a3b67a72ebd0a",
"create_at": "2022-09-05T11:36:58+08:00",
"id": "63156edaf79e9061863e0f7c",
"updated_at": "2022-09-05T20:33:48+08:00",
"author": "LE",
"ip": "218.253.130.211,10.218.16.233"
},
{
"create_at": "2022-09-05T11:36:41+08:00",
"email": "23423@qq.com",
"author": "234234",
"blog_id": "630d8e4b7bd58a0b24e453b5",
"body": "23424234",
"status": "published",
"updated_at": "2022-09-05T20:33:48+08:00",
"id": "63156ec9f79e9061863e0f7b",
"published_at": "2022-09-05T20:33:48+08:00",
"blog_collection_id": "630d8e61624a3b67a72ebd0a",
"ip": "218.253.130.211,10.218.31.172"
},
{
"email": "12312@qq.com",
"status": "published",
"published_at": "2022-09-01T11:40:24+08:00",
"create_at": "2022-09-01T11:40:15+08:00",
"id": "6310299f0a68a2615bfd6b70",
"blog_collection_id": "63102984a41c340478649389",
"blog_id": "63102984a41c34047864938a",
"ip": "218.253.130.211,10.218.32.10",
"updated_at": "2022-09-01T11:40:24+08:00",
"author": "12321",
"body": "123213"
},
{
"author": "123213",
"body": "123213",
"blog_id": "63032d4027ed7c01fa62c72f",
"blog_collection_id": "62e0dfd59eb73e6fdebe0d63",
"id": "630d8eb087f3f8143e0e1bc0",
"status": "published",
"published_at": "2022-08-30T17:14:06+08:00",
"updated_at": "2022-08-30T17:14:06+08:00",
"create_at": "2022-08-30T12:14:40+08:00",
"ip": "218.253.130.211,10.218.17.33",
"email": "123213@qq.com"
}
]
}
Was this article helpful to you?