获取保障单详情

查看 Markdown

最后一次编辑于 2026-10-12

接口应在服务器端调用,不可在前端(小程序、网页、APP等)直接调用,具体可参考接口调用指南。

接口英文名:getguaranteeorder

通过该接口可以在微信小店售后管理中获取保障单详情

相关事件通知:保障单更新通知

1. 调用方式

HTTPS 调用

POST https://api.weixin.qq.com/channels/ec/aftersale/getguaranteeorder?access_token=ACCESS_TOKEN

云调用

  • 本接口不支持云调用。

第三方调用

2. 请求参数

查询参数 Query String Parameters

参数名类型必填示例说明
access_tokenstring是ACCESS_TOKEN接口调用凭证,可使用 access_token(微信小店商家)、authorizer_access_token(服务商代调用)

请求体 Request Payload

参数名类型必填示例说明
guarantee_order_idnumber是2000001077270153保障单号

3. 返回参数

返回体 Response Payload

参数名类型说明
errcodenumber错误码
errmsgstring错误信息
guarantee_orderobject保障单详情

Res.guarantee_order Object Payload

保障单详情

参数名类型说明枚举
guarantee_order_idnumber保障单号-
typenumber保障单类型。1:假一赔三;2:坏损包退-
order_idnumber订单号-
create_timetimestamp保障单创建时间戳-
update_timetimestamp保障单更新时间戳-
apply_reasonstring申请原因-
product_infoobjarray商品信息-
expire_timenumber保障单过期时间-
openidstring买家身份标识-
unionidstring买家在开放平台的唯一标识符,若当前微信小店已绑定到微信开放平台账号下会返回,详见 小店UnionID 机制说明-
pay_amountnumber退款金额(分)-
merchant_refuse_reasonstring商家拒绝原因-
order_pay_infoobject订单支付信息-
complete_timenumber保障单完成时间-
apply_reason_typenumber申请原因-
order_present_infoobject送礼信息-
order_typenumber发起保障的订单类型;0-普通订单,10-礼物订单-
fake_one_pay_four_infoobject假一赔四保障单详情-
bad_pay_infoobject坏损包退保障单详情-
wxa_vip_discounted_pricenumber小程序会员已经优惠金额,单位分-
history_listobjarray协商历史-
statusstring保障单当前状态枚举值

Res.guarantee_order.product_info(Array) Object Payload

商品信息

参数名类型说明
thumb_imgstring商品小图
titlestring商品名称
real_pricenumber商品价格
product_cntnumber商品件数
detailstring商品详情
product_idstring商品spuid
sku_idstring商品skuid

Res.guarantee_order.order_pay_info Object Payload

订单支付信息

参数名类型说明
transaction_idstring交易单号

Res.guarantee_order.order_present_info Object Payload

送礼信息

参数名类型说明
present_order_idnumber礼物单号
accept_present_timenumber收礼时间
giver_nicknamestring送礼者微信昵称

Res.guarantee_order.fake_one_pay_four_info Object Payload

假一赔四保障单详情

参数名类型说明
identify_feenumber鉴定费用
product_feenumber商品费用
total_pay_feenumber预计赔付
identify_proof_pic_listarray鉴定凭证列表(旧字段,推荐使用 `new_identify_proof_pic_list`)。C2C 存储的多媒体不在此字段返回
fee_proof_pic_listarray费用凭证列表(旧字段,推荐使用 `new_fee_proof_pic_list`)。C2C 存储的多媒体不在此字段返回
apply_reasonnumber申请原因,1-假一赔三假冒注册商标,2-假一赔三假冒材质成分
acctual_paynumber最终赔付金额
new_identify_proof_pic_listobjarray鉴定凭证多媒体列表,包含图片和视频,推荐使用
new_fee_proof_pic_listobjarray费用凭证多媒体列表,包含图片和视频,推荐使用

Res.guarantee_order.fake_one_pay_four_info.new_identify_proof_pic_list(Array) Object Payload

鉴定凭证多媒体列表,包含图片和视频,推荐使用

参数名类型说明枚举
typenumber媒体类型。1:图片;2:视频枚举值
pictureobject图片信息,type 为 1 时有值-
videoobject视频信息,type 为 2 时有值-
video_play_lengthnumber视频时长(秒),仅 type 为 2 且上传时填写了时长时有值-

Res.guarantee_order.fake_one_pay_four_info.new_identify_proof_pic_list(Array).picture Object Payload

图片信息,type 为 1 时有值

参数名类型说明
ticket_urlstring图片临时访问 URL

Res.guarantee_order.fake_one_pay_four_info.new_identify_proof_pic_list(Array).video Object Payload

视频信息,type 为 2 时有值

参数名类型说明
ticket_urlstring视频临时访问 URL

Res.guarantee_order.fake_one_pay_four_info.new_fee_proof_pic_list(Array) Object Payload

费用凭证多媒体列表,包含图片和视频,推荐使用

参数名类型说明枚举
typenumber媒体类型。1:图片;2:视频枚举值
pictureobject图片信息,type 为 1 时有值-
videoobject视频信息,type 为 2 时有值-
video_play_lengthnumber视频时长(秒),仅 type 为 2 且上传时填写了时长时有值-

Res.guarantee_order.fake_one_pay_four_info.new_fee_proof_pic_list(Array).picture Object Payload

图片信息,type 为 1 时有值

参数名类型说明
ticket_urlstring图片临时访问 URL

Res.guarantee_order.fake_one_pay_four_info.new_fee_proof_pic_list(Array).video Object Payload

视频信息,type 为 2 时有值

参数名类型说明
ticket_urlstring视频临时访问 URL

Res.guarantee_order.bad_pay_info Object Payload

坏损包退保障单详情

参数名类型说明
bad_levelnumber损坏程度
contentstring损坏凭证文字
pic_listarray损坏凭证图片列表(旧字段,推荐使用 `new_pic_list`)。C2C 存储的多媒体不在此字段返回
pay_feenumber赔付金额,含运费
merchant_modify_levelnumber商家协商损坏程度
merchant_remarkstring商家备注
platform_modify_levelnumber平台调整损坏程度
refund_typenumber退款类型,1-仅退款,2-退货退款,3-换货
receive_productnumber是否收到货,1-未收到货,2-收到货
refund_reasonnumber退款原因
refund_reason_textstring退款原因文案
title_pic_listobjarray凭证多媒体列表,按类型分组
new_pic_listobjarray损坏凭证多媒体列表,包含图片和视频,推荐使用

Res.guarantee_order.bad_pay_info.title_pic_list(Array) Object Payload

凭证多媒体列表,按类型分组

参数名类型说明枚举
titlenumber凭证类型,1-坏损商品图;2-全部商品图;3-包裹图枚举值
pic_listarray该类型下的凭证列表(旧字段,推荐使用 `new_media_list`)。C2C 存储的多媒体不在此字段返回-
new_media_listobjarray该类型下的凭证多媒体列表,包含图片和视频,推荐使用-

Res.guarantee_order.bad_pay_info.title_pic_list(Array).new_media_list<Array> Object Payload

该类型下的凭证多媒体列表,包含图片和视频,推荐使用

参数名类型说明枚举
typenumber媒体类型。1:图片;2:视频枚举值
pictureobject图片信息,type 为 1 时有值-
videoobject视频信息,type 为 2 时有值-
video_play_lengthnumber视频时长(秒),仅 type 为 2 且上传时填写了时长时有值-

Res.guarantee_order.bad_pay_info.title_pic_list(Array).new_media_list<Array>.picture Object Payload

图片信息,type 为 1 时有值

参数名类型说明
ticket_urlstring图片临时访问 URL

Res.guarantee_order.bad_pay_info.title_pic_list(Array).new_media_list<Array>.video Object Payload

视频信息,type 为 2 时有值

参数名类型说明
ticket_urlstring视频临时访问 URL

Res.guarantee_order.bad_pay_info.new_pic_list(Array) Object Payload

损坏凭证多媒体列表,包含图片和视频,推荐使用

参数名类型说明枚举
typenumber媒体类型。1:图片;2:视频枚举值
pictureobject图片信息,type 为 1 时有值-
videoobject视频信息,type 为 2 时有值-
video_play_lengthnumber视频时长(秒),仅 type 为 2 且上传时填写了时长时有值-

Res.guarantee_order.bad_pay_info.new_pic_list(Array).picture Object Payload

图片信息,type 为 1 时有值

参数名类型说明
ticket_urlstring图片临时访问 URL

Res.guarantee_order.bad_pay_info.new_pic_list(Array).video Object Payload

视频信息,type 为 2 时有值

参数名类型说明
ticket_urlstring视频临时访问 URL

Res.guarantee_order.history_list(Array) Object Payload

协商历史

参数名类型说明
eventnumber协商历史事件类型
timenumber事件发生时间戳
contentstring相关文字内容
kf_namestring客服名称
pic_listarray相关凭证列表(旧字段,推荐使用 `new_media_list`)。C2C 存储的多媒体不在此字段返回
new_media_listobjarray相关凭证多媒体列表,包含图片和视频,推荐使用

Res.guarantee_order.history_list(Array).new_media_list<Array> Object Payload

相关凭证多媒体列表,包含图片和视频,推荐使用

参数名类型说明枚举
typenumber媒体类型。1:图片;2:视频枚举值
pictureobject图片信息,type 为 1 时有值-
videoobject视频信息,type 为 2 时有值-
video_play_lengthnumber视频时长(秒),仅 type 为 2 且上传时填写了时长时有值-

Res.guarantee_order.history_list(Array).new_media_list<Array>.picture Object Payload

图片信息,type 为 1 时有值

参数名类型说明
ticket_urlstring图片临时访问 URL

Res.guarantee_order.history_list(Array).new_media_list<Array>.video Object Payload

视频信息,type 为 2 时有值

参数名类型说明
ticket_urlstring视频临时访问 URL

4. 枚举信息

Res.guarantee_order.status Enum

保障单当前状态

枚举值描述
STATUS_WAIT_MERCHANT_HANDLE等待商家处理
STATUS_WAIT_PLATFORM_HANDLE等待平台处理
STATUS_WAIT_USER_CONFIRM等待用户确认
STATUS_WAIT_MERCHANT_PROOF等待商家举证
STATUS_WAIT_USER_PROOF等待用户举证
STATUS_WAIT_BOTH_PROOF等待双方举证
STATUS_WAIT_OP_COMFIRM等待OP确认
STATUS_WAIT_PAYSCORE_DONE等待支付分付款
STATUS_NO_NEED_PAY无需赔付
STATUS_PAYING赔付中
STATUS_PAY_BLOCK假一赔三金额异常,待确认
STATUS_PAY_SUCC赔付成功
STATUS_PAY_FAIL赔付失败
STATUS_USER_CANCEL用户取消申请

Res.guarantee_order.fake_one_pay_four_info.new_identify_proof_pic_list(Array).type Enum

媒体类型。1:图片;2:视频

枚举值描述
1图片
2视频

Res.guarantee_order.fake_one_pay_four_info.new_fee_proof_pic_list(Array).type Enum

媒体类型。1:图片;2:视频

枚举值描述
1图片
2视频

Res.guarantee_order.bad_pay_info.title_pic_list(Array).title Enum

凭证类型,1-坏损商品图;2-全部商品图;3-包裹图

枚举值描述
1坏损商品图
2全部商品图
3包裹图

Res.guarantee_order.bad_pay_info.title_pic_list(Array).new_media_list<Array>.type Enum

媒体类型。1:图片;2:视频

枚举值描述
1图片
2视频

Res.guarantee_order.bad_pay_info.new_pic_list(Array).type Enum

媒体类型。1:图片;2:视频

枚举值描述
1图片
2视频

Res.guarantee_order.history_list(Array).new_media_list<Array>.type Enum

媒体类型。1:图片;2:视频

枚举值描述
1图片
2视频

5. 注意事项

6. 代码示例

请求示例

{
    "guarantee_order_id": 2000001077270153
}

返回示例

{
    "errcode": 0,
    "errmsg": "ok",
    "guarantee_order": {
        "guarantee_order_id": 2000001077270153,
        "type": 2,
        "order_id": 3726524657461498624,
        "status": "STATUS_WAIT_MERCHANT_HANDLE",
        "create_time": 1750000000,
        "update_time": 1750000000,
        "apply_reason": "",
        "product_info": [
            {
                "thumb_img": "",
                "title": "",
                "real_price": 0,
                "product_cnt": 0,
                "detail": ""
            }
        ],
        "expire_time": 0,
        "openid": "",
        "unionid": "",
        "pay_amount": 0,
        "merchant_refuse_reason": "",
        "order_pay_info": {
            "transaction_id": ""
        },
        "complete_time": 0,
        "apply_reason_type": 0,
        "order_present_info": {
            "present_order_id": 0,
            "accept_present_time": 0,
            "giver_nickname": ""
        },
        "order_type": 0,
        "fake_one_pay_four_info": {
            "identify_fee": 0,
            "product_fee": 0,
            "total_pay_fee": 0,
            "apply_reason": 0,
            "acctual_pay": 0,
            "new_identify_proof_pic_list": [
                {
                    "type": 1,
                    "picture": {
                        "ticket_url": "TICKET_URL"
                    }
                }
            ],
            "new_fee_proof_pic_list": [
                {
                    "type": 1,
                    "picture": {
                        "ticket_url": "TICKET_URL"
                    }
                }
            ]
        },
        "bad_pay_info": {
            "bad_level": 0,
            "content": "",
            "pay_fee": 0,
            "merchant_modify_level": 0,
            "merchant_remark": "",
            "platform_modify_level": 0,
            "refund_type": 0,
            "receive_product": 0,
            "refund_reason": 0,
            "refund_reason_text": "",
            "new_pic_list": [
                {
                    "type": 1,
                    "picture": {
                        "ticket_url": "TICKET_URL"
                    }
                }
            ],
            "title_pic_list": [
                {
                    "title": 1,
                    "new_media_list": [
                        {
                            "type": 1,
                            "picture": {
                                "ticket_url": "TICKET_URL"
                            }
                        },
                        {
                            "type": 2,
                            "video": {
                                "ticket_url": "TICKET_URL"
                            },
                            "video_play_length": 15
                        }
                    ]
                }
            ]
        },
        "wxa_vip_discounted_price": 0,
        "history_list": [
            {
                "event": 1,
                "time": 1750000000,
                "content": "",
                "new_media_list": [
                    {
                        "type": 1,
                        "picture": {
                            "ticket_url": "TICKET_URL"
                        }
                    }
                ]
            }
        ]
    }
}

7. 错误码

以下是本接口的错误码列表,其他错误码可参考 通用错误码;调用接口遇到报错,可使用官方提供的 API 诊断工具 辅助定位和分析问题。

错误码错误描述
9700223系统失败
9700224参数错误
10021041当前售后单不支持此操作,请检查售后单状态
10021057售后单不存在

8. 适用范围

本接口支持「微信小店」账号类型调用。其他账号类型如无特殊说明,均不可调用。

接口变更日志(3条)
2026 年 10 月 12 日
新增 new_identify_proof_pic_list 、 new_fee_proof_pic_list 、 new_pic_list 等多媒体字段, fake_one_pay_four_info 更名「假一赔四」,旧 pic_list 等字段标记废弃。
2026 年 09 月 14 日
新增 title_pic_list
2025 年 12 月 11 日
新增 product_id 字段「商品spuid」,新增 sku_id 字段「商品skuid」