需要 read_products 权限点。
更多权限点使用信息,请参考:
GET https://{handle}.myshopline.com/admin/openapi/v20250601/products/:product_id/resource_feedback.json
handle :店铺的唯一标识符,值为店铺域名的前缀。例如,域名为 open001.myshopline.com 的店铺,其 handleopen001
关联销售渠道与商品的状态
路径参数
  • product_id string required
    商品ID
    Example: 16057476865495856634490282
请求头
  • Content-Type required
    字段值固定为application/json; charset=utf-8
  • Authorization string required
    资源的访问令牌。请参考 应用授权 获取访问令牌,然后将获取到的访问令牌以 Bearer 格式传入
    Example:
    Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw
响应
更多状态码信息请参考 HTTP 状态码

响应头
  • traceId
    traceId
响应体
  • resource_feedbackobject[]
    资源反馈内容
  • created_at string
    SL系统收到反馈后的创建时间
    Example: 2023-01-12T15:20:08+08:00
  • feedback_generated_at string
    构建有效负载的时间。用于帮助确定传入的反馈与已收到的反馈相比是否过时,以及是否应在到达时忽略它
    Example: 2023-01-12T15:20:08+08:00
  • messages array
    反馈信息
    Example: [This is a question]
  • resource_id string
    商品ID
    Example: 16057476865495856634490282
  • resource_type string
    固定:Product
    Example: Product
  • resource_updated_at string
    SL系统自动生成的反馈更新时间,值等同于updated_at
    Example: 2023-01-12T15:20:08+08:00
  • state string
    反馈状态:require_actions,success
    Example: require_actions
  • updated_at string
    SL系统自动生成的反馈更新时间
    Example: 2023-01-12T15:20:08+08:00
API Explorer
https://openapiceshidianpu.myshopline.com/admin/openapi/v20250601

ParamOptions

path required
header required

Language

curl --request GET \
--url https://openapiceshidianpu.myshopline.com/admin/openapi/v20250601/products/product_id/resource_feedback.json \
--header 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw' \
--header 'Content-Type: application/json; charset=utf-8' \
--header 'accept: application/json'
Examples
查询商品反馈
Response
{
"resource_feedback": [
{
"created_at": "2023-08-29T16:32:13+08:00",
"feedback_generated_at": "2023-08-29T15:20:08+08:00",
"resource_id": "16060878916899800731963144",
"resource_type": "Product",
"resource_updated_at": "2023-08-29T16:46:40+08:00",
"state": "success",
"updated_at": "2023-08-29T16:46:40+08:00"
}
]
}
这篇文章对你有帮助吗?

Error loading component.

Error loading component.