简要描述:

  • 售后详情

请求域名:

请求URL:

GET:route=refund.detail

参数:

参数名 是否必须 类型 说明
refund_id int 售后ID

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "id": 26,
        "refund_sn": "RN20230515150602Pi",
        "refund_type": 1,
        "status": 1,
        "price": "1003.00",
        "reason": "",
        "images": [],
        "content": "",
        "create_time": "2023-05-15 15:06:02",
        "reply": "",
        "reject_reason": "",
        "refund_way_type": 0,
        "apply_price": "1003.00",
        "order_price": "0.00",
        "refund_proof_imgs": [],
        "refund_time": null,
        "refund_address": "3",
        "remark": "测试",
        "operate_time": "2024-02-26 15:23:34",
        "send_time": null,
        "return_time": null,
        "end_time": "1970-01-01 08:00:00",
        "alipay_batch_sn": "",
        "receive_status": 0,
        "part_refund": 3,
        "freight_price": "0.00",
        "other_price": "0.00",
        "reject_time": "",
        "resend_express_id": 0,
        "plugin_id": 32,
        "store_id": 8,
        "other_data": [],
        "return_address_list": [
            {
                "id": 1,
                "uniacid": 6,
                "address_name": "门店",
                "contact": "asda",
                "mobile": "12345678901",
                "telephone": "1231-2131123",
                "province_id": 440000,
                "province_name": "广东省",
                "city_id": 440300,
                "city_name": "深圳市",
                "district_id": 440304,
                "district_name": "福田区",
                "street_id": 440304005,
                "street_name": "沙头街道",
                "address": "qweqw",
                "plugins_id": 32,
                "store_id": 8,
                "supplier_id": 0,
                "is_default": 1,
                "created_at": "2018-06-29 09:54:51",
                "updated_at": "2018-06-29 09:54:51",
                "hotel_id": 0,
                "refund_order_goods": [
                    {
                        "id": 18,
                        "order_id": 893,
                        "refund_id": 26,
                        "order_goods_id": 888,
                        "resend_id": 0,
                        "refund_total": 1,
                        "refund_price": "1003.00",
                        "send_num": 1,
                        "refund_type": 1,
                        "status": 0,
                        "goods_id": 228,
                        "goods_title": "轻微门店商品iii8",
                        "goods_option_title": "",
                        "goods_thumb": "http://localhost/attachment/images/6/2018/06/hZqM1jQqjFmBhQ5JqQ48qSF5dmMMQZ.jpg"
                    }
                ]
            }
        ],
        "refund_type_name": "退款退货",
        "status_name": "待退货",
        "is_refunded": false,
        "is_refunding": true,
        "is_refund_fail": false,
        "receive_status_name": "未收到货",
        "refund_way_type_name": "自行寄回",
        "button_models": [
            {
                "name": "单个快递",
                "api": "refund.operation.send",
                "value": 2
            }
        ],
        "order": {
            "id": 893,
            "uniacid": 6,
            "uid": 2455,
            "order_sn": "SN211207140433290E",
            "price": "1003.00",
            "goods_price": "164.00",
            "goods_total": 1,
            "status": 1,
            "create_time": "2021-12-07 14:04:19",
            "is_deleted": 0,
            "is_member_deleted": 0,
            "finish_time": "1970-01-01 08:00:00",
            "pay_time": "2021-12-07 14:04:20",
            "send_time": "1970-01-01 08:00:00",
            "cancel_time": "1970-01-01 08:00:00",
            "created_at": 1638857059,
            "updated_at": 1684134362,
            "deleted_at": 0,
            "cancel_pay_time": "1970-01-01 08:00:00",
            "cancel_send_time": "1970-01-01 08:00:00",
            "dispatch_type_id": 1,
            "dispatch_price": "0.00",
            "discount_price": "0.00",
            "pay_type_id": 5,
            "order_goods_price": "1003.00",
            "deduction_price": "0.00",
            "refund_id": 26,
            "is_plugin": 0,
            "change_price": "0.00",
            "change_dispatch_price": "0.00",
            "comment_status": 0,
            "order_pay_id": "58367",
            "plugin_id": 32,
            "is_virtual": 0,
            "mark": "",
            "is_pending": 0,
            "note": null,
            "cost_amount": "0.00",
            "shop_name": "门店-轻微的",
            "no_refund": 0,
            "need_address": 0,
            "invoice_type": null,
            "rise_type": null,
            "collect_name": null,
            "company_number": null,
            "invoice": null,
            "auto_receipt": 0,
            "fee_amount": "0.00",
            "service_fee_amount": "0.00",
            "is_all_send_goods": 0,
            "close_reason": null,
            "vip_order_goods_price": null,
            "initial_freight": "0.00",
            "tax_fee": "0.00",
            "created_type": 0,
            "status_name": "待发货",
            "pay_type_name": "后台",
            "process": [],
        },
        "has_many_resend_express": [],
        "refund_order_goods": [
            {
                "id": 18,
                "order_id": 893,
                "refund_id": 26,
                "order_goods_id": 888,
                "resend_id": 0,
                "refund_total": 1,
                "refund_price": "1003.00",
                "send_num": 1,
                "refund_type": 1,
                "status": 0,
                "goods_id": 228,
                "goods_title": "轻微门店商品iii8",
                "goods_option_title": "",
                "goods_thumb": "http://localhost/attachment/images/6/2018/06/hZqM1jQqjFmBhQ5JqQ48qSF5dmMMQZ.jpg"
            }
        ],
        "has_many_return_express": [
            {
                "id": 3,
                "refund_id": 26,
                "express_company_name": "圆通",
                "express_sn": "SN43253311312",
                "express_code": "yuantong",
                "created_at": "2018-03-23 08:45:06",
                "updated_at": "2018-03-23 08:45:06",
                "deleted_at": null,
                "way_id": null,
                "images": null,
                "address": "辽宁省 丹东市 振兴区 帽盔山街道 测试",
                "pack_goods": null
            }
        ]
    }
}

错误时返回:

  • 缺少访问参数 - 订单ID
{
    "result": 0, 
    "msg": "缺少访问参数", 
    "data": [ ]
}
  • 未找到数据
{
    "result": 0, 
    "msg": "未找到数据", 
    "data": [ ]
}

返回参数说明:

参数名 类型 说明
id int 退款记录id
refund_type int 售后类型
refund_type_name string 售后类型名
status_name string 售后状态
refund_sn string 售后编号
order array 订单信息
order.order_sn string 订单编号
order.id int 订单Id
refund_order_goods array 售后商品组
button_models array 操作按钮组
refund_order_goods 类型 说明
order_goods_id int 订单商品ID
send_num int 商家未发货数量
refund_total int 申请售后数量
goods_title string 商品名称
goods_option_title string 商品规格名称
goods_thumb string 商品图片

备注: