API接口文档

订单售后详情/申请

创建于 2021-10-10 / 最近更新于 2021-10-10 / 163

简要描述

订单售后详情/申请

接口版本

版本号 制定人 制定日期 修订日期
1.0.0 Devil 2020-10-07

请求URL

orderaftersale/aftersale

请求方式

POST

公共参数

参数名 是否必须 类型 默认值 描述
application string web 请求应用、参考公共中详解
application_client_type string pc 请求客户端、参考公共中详解
token string token

请求参数

{
    "oid": "112",
    "did": "124"
}
参数名 是否必须 类型 默认值 描述
oid int 订单id
did int 订单详情id

返回示例

正确时返回

{
    "msg": "success",
    "code": 0,
    "data": {
        "order_data": {
            "id": "112",
            "order_no": "20211010105358916225",
            "user_id": "41",
            "shop_id": "0",
            "shop_user_id": "0",
            "warehouse_id": "2",
            "user_note": null,
            "express_id": "12",
            "express_number": "sss",
            "payment_id": "1",
            "status": "4",
            "pay_status": "1",
            "extension_data": null,
            "buy_number_count": "1",
            "increase_price": "0.00",
            "preferential_price": "0.00",
            "price": "0.01",
            "total_price": "0.01",
            "pay_price": "0.01",
            "refund_price": "0.00",
            "returned_quantity": "0",
            "client_type": "weixin",
            "order_model": "3",
            "is_under_line": "1",
            "pay_time": "2021-10-10 10:55:55",
            "confirm_time": "2021-10-10 10:53:58",
            "delivery_time": "2021-10-10 11:21:36",
            "cancel_time": null,
            "collect_time": "2021-10-10 17:34:22",
            "close_time": null,
            "comments_time": "0",
            "is_comments": "0",
            "user_is_comments": "0",
            "is_delete_time": "0",
            "user_is_delete_time": "0",
            "shop_is_delete_time": "0",
            "add_time": "2021-10-10 10:53:58",
            "upd_time": "2021-10-10 17:34:22",
            "zycg_no": "",
            "currency_data": {
                "id": "112",
                "order_id": "112",
                "user_id": "41",
                "currency_name": "人民币",
                "currency_code": "RMB",
                "currency_symbol": "¥",
                "currency_rate": "0.000000",
                "add_time": "1633834438"
            },
            "warehouse_name": "默认仓库",
            "warehouse_icon": "https://dev.shopxo.vip/static/common/images/default-warehouse-icon.png",
            "warehouse_url": "",
            "order_model_name": "虚拟销售",
            "client_type_name": "微信小程序",
            "status_name": "已完成",
            "pay_status_name": "已支付",
            "express_name": "全峰快递",
            "payment_name": "现金支付",
            "is_under_line_text": "线下支付",
            "is_can_launch_aftersale": 1,
            "add_time_time": "2021-10-10 10:53:58",
            "add_time_date": "2021-10-10",
            "user_is_comments_time": null,
            "items": {
                "id": "124",
                "user_id": "41",
                "order_id": "112",
                "goods_id": "12",
                "title": "ZK星星绣花雪纺连衣裙中长款sukol裙少女心温柔超仙女chic裙子夏",
                "images": "https://dev.shopxo.vip/static/upload/images/goods/2019/01/14/1547455890402147.jpg",
                "original_price": "0.00",
                "price": "0.01",
                "total_price": "0.01",
                "spec": [
                    {
                        "type": "颜色",
                        "value": "白色"
                    },
                    {
                        "type": "尺,码",
                        "value": "L+L"
                    }
                ],
                "buy_number": "1",
                "model": "hello",
                "spec_weight": "0.00",
                "spec_coding": "",
                "spec_barcode": "",
                "refund_price": "0.00",
                "returned_quantity": "0",
                "add_time": "1633834438",
                "upd_time": "0",
                "zycg_skuid": "",
                "goods_url": "https://dev.shopxo.vip/goods/index/id/12.html",
                "spec_text": "颜色:白色,尺,码:L+L",
                "fictitious_goods_value": "

的士速递个个都是三个

克鲁赛德换个时间还是

下载地址:https://shopxo.net/

" }, "items_count": 1, "describe": "共1件 合计:¥0.01元" }, "new_aftersale_data": [], "step_data": { "step0": [ { "number": 1, "name": "申请仅退款", "is_caret": 1, "is_angle": 1, "is_active": 1, "is_end": 1 }, { "number": 2, "name": "管理员审核", "is_caret": 0, "is_angle": 1, "is_active": 0, "is_end": 0 }, { "number": 3, "name": "退款完毕", "is_caret": 0, "is_angle": 0, "is_active": 0, "is_end": 0 } ], "step1": [ { "number": 1, "name": "申请退货退款", "is_caret": 1, "is_angle": 1, "is_active": 1, "is_end": 1 }, { "number": 2, "name": "管理员确认", "is_caret": 0, "is_angle": 1, "is_active": 0, "is_end": 0 }, { "number": 3, "name": "用户退货", "is_caret": 0, "is_angle": 1, "is_active": 0, "is_end": 0 }, { "number": 4, "name": "管理员审核", "is_caret": 0, "is_angle": 1, "is_active": 0, "is_end": 0 }, { "number": 5, "name": "退款完毕", "is_caret": 0, "is_angle": 0, "is_active": 0, "is_end": 0 } ] }, "returned_data": { "returned_quantity": 1, "refund_price": "0.01" }, "return_only_money_reason": [ "活动/优惠未生效", "空包裹", "包裹丢失", "配送超时", "未按约定时间发货", "未送货上门", "物流显示签收但实际未收到货", "不喜欢/不想要" ], "return_money_goods_reason": [ "7天无理由退换货", "配送超时", "未按约定时间发货", "未送货上门", "卖家发错货", "少件/漏发", "包装/商品破损/污渍", "商品信息描述不符", "使用后过敏", "已过/临近保质期", "无法溶解/结块/有异物" ], "aftersale_type_list": [ { "value": 0, "name": "仅退款", "desc": "未收到货(未签收),协商同意前提下", "icon": "am-icon-random", "class": "am-fl" }, { "value": 1, "name": "退款退货", "desc": "已收到货,需要退换已收到的货物", "icon": "am-icon-retweet", "class": "am-fr" } ], "return_goods_address": "上海市 浦东新区", "editor_path_type": "order_aftersale-1-112-124" } }

错误时返回

{
    "msg": "error",
    "code": -1,
    "data": []
}

返回参数说明 -> data

参数名 是否必须 类型 描述
order_data array 订单信息
new_aftersale_data array 最新售后数据
step_data array 进度数据
returned_data array 可退款退货数量与金额
return_only_money_reason array 仅退款原因
return_money_goods_reason array 退款退货原因
aftersale_type_list array 售后类型
return_goods_address array 退货地址
editor_path_type string 附近上传标记

备注

更多返回错误代码请看首页的错误代码描述

0 人点赞过