# 纠纷单更新通知

本文档描述服务器端接收的消息或事件,详细说明参见消息推送

事件英文名:channels_ec_complaint_update

微信小店会通过该接口将纠纷单更新的消息通知给商户。

相关 API 接口:

# 1. 消息参数

# 请求体 Request Payload

参数名类型说明
ToUserNamestring小店UserName
FromUserNamestring固定的OpenID
CreateTimenumber事件时间,Unix时间戳,即格林威治时间1970年01月01日00时00分00秒(北京时间1970年01月01日08时00分00秒)起至现在的总秒数
MsgTypestring消息类型,固定为event
Eventstring事件类型,本接口固定为 channels_ec_complaint_update
finder_shop_complaintobject纠纷单状态

# Body.finder_shop_complaint Object Payload

纠纷单状态

参数名类型说明枚举
complaint_statusnumber纠纷单状态枚举值
after_sale_order_idstring小店售后单号-
complaint_idstring纠纷单号-
order_idstring小店订单号-

# 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