Requires read_content access scope.
For more info, refer to:
GET https://{handle}.myshopline.com/admin/openapi/v20260301/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 eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw
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
  • updated_at string
    Update time ISO 8601
    Example: 2022-08-03T10:45:00+08:00
  • user_agent string
    User agent information
  • author string
    Author of the review
    Example: demo-author
  • id string
    Comment id
    Example: 63aaa20f6b7b014b289c0765
  • blog_collection_id string
    Comment on the blog collection id for articles belonging to
    Example: 639bfda0ee877c4a9bd600b6
  • create_at string
    Created time for reviews ISO 8601
    Example: 2022-08-03T10:45:00+08:00
  • 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
  • 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
  • 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
API Explorer
https://openapiceshidianpu.myshopline.com/admin/openapi/v20260301

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