# 纠纷单更新通知
# 接口说明
微信小店会通过该接口将纠纷单更新的消息通知给商户。
相关 API 接口:
# 注意事项
- 回调url设置和消息推送规则需参考消息推送文档 ,如果设置的回调url无法访问,商户将无法收微信小店发送的通知;
# 请求参数说明
| 参数 | 类型 | 描述 |
|---|---|---|
| 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 EcComplaintInfo | 事件主体,结构体详情请参考EcComplaintInfo |
# 请求参数示例(解密后的明文JSON)
{
"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
# 结构体
# EcComplaintInfo
事件主体| 参数 | 类型 | 描述 |
|---|---|---|
| complaint_status | number | 纠纷单状态,枚举值详情请参考EcComplaintInfoStatus |
| after_sale_order_id | string | 小店售后单号 |
| complaint_id | string | 纠纷单号 |
| order_id | string | 小店订单号 |
# 枚举值
# EcComplaintInfoStatus
纠纷单状态| 枚举值 | 描述 |
|---|---|
| 100 | 待商家处理纠纷 |
| 101 | 待客服处理 |
| 102 | 取消客服介入 |
| 103 | 客服处理中 |
| 104 | 待用户补充凭证 |
| 105 | 用户已补充凭证 |
| 106 | 待商家补充凭证 |
| 107 | 商家已补充凭证 |
| 108 | 待双方补充凭证 |
| 109 | 双方补充凭证超时 |
| 110 | 待商家确认 |
| 111 | 商家申诉中 |
| 112 | 调解完成 |
| 113 | 待客服核实 |
| 114 | 重新退款中 |
| 115 | 退款核实完成 |
| 116 | 调解关闭 |
| 305 | 用户补充凭证超时 |
| 307 | 商家补充凭证超时 |