API接口文档

订单售后申请

创建于 2021-10-10 / 最近更新于 2021-10-10 / 1437
字体: [默认] [大] [更大]

简要描述

订单售后申请

接口版本

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

请求URL

orderaftersale/create

请求方式

POST

公共参数

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

请求参数

{
    "order_id": "112",
    "order_detail_id": "124",
    "type": "1",
    "reason": "7天无理由退换货",
    "number": "1",
    "price": "0.01",
    "msg": "退款说明一下",
    "images": "[\"https://xxx/1633877570100045.png\"]"
}
参数名 是否必须 类型 默认值 描述
order_id int 订单id
order_detail_id int 订单详情id
type int 申请售后类型(0仅退款,1退款退货)
reason string 原因
number int 退货数量
price int 退款金额
msg string 退款说明
images array 凭证

返回示例

正确时返回

{
    "msg": "申请成功",
    "code": 0,
    "data": ""
}

错误时返回

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

返回参数说明 -> data

备注

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

12 人点赞过