public interface WxChannelAfterSaleService
| 限定符和类型 | 方法和说明 |
|---|---|
WxChannelBaseResponse |
accept(String afterSaleOrderId,
String addressId,
Integer acceptType)
同意售后
文档地址 https://developers.weixin.qq.com/doc/channels/API/aftersale/acceptapply.html
|
WxChannelBaseResponse |
addComplaintEvidence(String complaintId,
String content,
List<String> mediaIds)
商家举证
|
WxChannelBaseResponse |
addComplaintMaterial(String complaintId,
String content,
List<String> mediaIds)
商家补充纠纷单留言
|
AfterSaleInfoResponse |
get(String afterSaleOrderId)
获取售后单详情
|
AfterSaleReasonResponse |
getAllReason()
获取全量售后原因
文档地址:https://developers.weixin.qq.com/doc/channels/API/aftersale/getaftersalereason.html
|
ComplaintOrderResponse |
getComplaint(String complaintId)
获取纠纷单
|
AfterSaleRejectReasonResponse |
getRejectReason()
获取拒绝售后原因
文档地址:https://developers.weixin.qq.com/doc/channels/API/aftersale/getrejectreason.html
|
AfterSaleListResponse |
listIds(Long beginCreateTime,
Long endCreateTime,
String nextKey)
获取售后单列表
|
WxChannelBaseResponse |
reject(String afterSaleOrderId,
String rejectReason,
Integer rejectReasonType)
拒绝售后
文档地址 https://developers.weixin.qq.com/doc/channels/API/aftersale/rejectapply.html
|
WxChannelBaseResponse |
uploadRefundEvidence(String afterSaleOrderId,
String desc,
List<String> certificates)
上传退款凭证
|
AfterSaleListResponse listIds(Long beginCreateTime, Long endCreateTime, String nextKey) throws WxErrorException
beginCreateTime - 订单创建启始时间 unix时间戳endCreateTime - 订单创建结束时间,end_create_time减去begin_create_time不得大于24小时nextKey - 翻页参数,从第二页开始传,来源于上一页的返回值WxErrorException - 异常AfterSaleInfoResponse get(String afterSaleOrderId) throws WxErrorException
afterSaleOrderId - 售后单号WxErrorException - 异常WxChannelBaseResponse accept(String afterSaleOrderId, String addressId, Integer acceptType) throws WxErrorException
afterSaleOrderId - 售后单号addressId - 同意退货时传入地址idacceptType - 1. 同意退货退款,并通知用户退货; 2. 确认收到货并退款给用户。 如果不填则将根据当前的售后单状态自动选择相应操作。对于仅退款的情况,由于只存在一种同意的场景,无需填写此字段。WxErrorException - 异常WxChannelBaseResponse reject(String afterSaleOrderId, String rejectReason, Integer rejectReasonType) throws WxErrorException
afterSaleOrderId - 售后单号rejectReason - 拒绝原因rejectReasonType - 拒绝原因枚举值WxErrorException - 异常getRejectReason()WxChannelBaseResponse uploadRefundEvidence(String afterSaleOrderId, String desc, List<String> certificates) throws WxErrorException
afterSaleOrderId - 售后单号desc - 退款凭证描述certificates - 退款凭证图片列表WxErrorException - 异常WxChannelBaseResponse addComplaintMaterial(String complaintId, String content, List<String> mediaIds) throws WxErrorException
complaintId - 纠纷单号content - 留言内容,最多500字mediaIds - 图片media_id列表,所有留言总图片数量最多20张WxErrorException - 异常WxChannelBaseResponse addComplaintEvidence(String complaintId, String content, List<String> mediaIds) throws WxErrorException
complaintId - 纠纷单号content - 举证内容,最多500字mediaIds - 图片media_id列表,所有留言总图片数量最多20张WxErrorException - 异常ComplaintOrderResponse getComplaint(String complaintId) throws WxErrorException
complaintId - 纠纷单号WxErrorException - 异常AfterSaleReasonResponse getAllReason() throws WxErrorException
WxErrorException - 异常AfterSaleRejectReasonResponse getRejectReason() throws WxErrorException
WxErrorException - 异常Copyright © 2025. All rights reserved.