# 纠纷单更新通知
本文档描述服务器端接收的消息或事件,详细说明参见消息推送。
事件英文名:channels_ec_complaint_update
微信小店会通过该接口将纠纷单更新的消息通知给商户。
相关 API 接口:
# 1. 消息参数
# 请求体 Request Payload
| 参数名 | 类型 | 说明 |
|---|---|---|
| ToUserName | string | 小店UserName |
| FromUserName | string | 固定的OpenID |
| CreateTime | number | 事件时间,Unix时间戳,即格林威治时间1970年01月01日00时00分00秒(北京时间1970年01月01日08时00分00秒)起至现在的总秒数 |
| MsgType | string | 消息类型,固定为event |
| Event | string | 事件类型,本接口固定为 channels_ec_complaint_update |
| finder_shop_complaint | object | 纠纷单状态 |
# Body.finder_shop_complaint Object Payload
纠纷单状态
| 参数名 | 类型 | 说明 | 枚举 |
|---|---|---|---|
| complaint_status | number | 纠纷单状态 | 枚举值 |
| after_sale_order_id | string | 小店售后单号 | - |
| complaint_id | string | 纠纷单号 | - |
| order_id | string | 小店订单号 | - |
# 2. 消息返回
# 返回体 Response Payload
回复 success 或空字符串(无需加密)
# 3. 枚举信息
# Body.finder_shop_complaint.complaint_status Enum
纠纷单状态
| 枚举值 | 描述 |
|---|---|
| 100 | 待商家处理纠纷 |
| 101 | 待客服处理 |
| 102 | 取消客服介入 |
| 103 | 客服处理中 |
| 104 | 待用户补充凭证 |
| 105 | 用户已补充凭证 |
| 106 | 待商家补充凭证 |
| 107 | 商家已补充凭证 |
| 108 | 待双方补充凭证 |
| 109 | 双方补充凭证超时 |
| 110 | 待商家确认 |
| 111 | 商家申诉中 |
| 112 | 调解完成 |
| 113 | 客服核实 |
| 114 | 重新退款中 |
| 115 | 退款核实完成 |
| 116 | 调解关闭 |
| 305 | 用户补充凭证超时 |
| 307 | 商家补充凭证超时 |
# 4. 注意事项
- 回调url设置和消息推送规则需参考消息推送文档 ,如果设置的回调url无法访问,商户将无法收微信小店发送的通知;
# 5. 代码示例
请求示例
{
"ToUserName": "gh_*",
"FromUserName": "OpenID",
"CreateTime": 1662480000,
"MsgType": "event",
"Event": "channels_ec_complaint_update",
"finder_shop_complaint": {
"complaint_status": 100,
"after_sale_order_id": "1234567",
"complaint_id": "1234567",
"order_id":"123244"
}
}
返回示例
success