跳转到内容

通过售后id获取售后详情

GET /app/afterSales/get?id=30

字段 名称 类型 是否必须
id 售后id int 是
字段 名称 类型
id 售后id int
after_sale_sn 售后单号 string
amount 售后金额 int
freight 运费金额 int
technical_services_fee 技术服务费 int
reason 售后其他原因时填写 string
description 描述 string
order_id 订单id int
order_item_id 子订单id int
sku_id 规格id int
product_id 商品id int
is_received 是否收到货 0否1时
pay_method 打款方式 0原路返回 1线下支付
return_order_express_id 退货物流id int
status 售后状态 int 0待审核 1待发货2待收货3待退款4已完成5待商家发货6待用户收货-1关闭
status_name 售后状态名称 string
type 退款方式 0退款1退货退款2换货
detail_images 图片凭证 array
logs 日志 array
return_order_express 退款物流信息 array
user 用户信息 array
refund_reason_name 退款原因名字 string
refund_type_name 退款类型名称 string
order 订单信息 array
order_item 子订单信息 array
after_sales_audit 审核信息 array
barter_sku_id 换货规格id
barter_num 换货数量
barter_sku_title 换货规格名称

logs

字段 名称 类型
created_at 时间 string
admin_id 不是0就是管理员操作 int
content 内容 string
price 售后金额 int
refund_type_name string
reason_type_name string
description int

return_order_express

字段 名称 类型
company_name 物流公司名称 string
company_code 物流公司code string
express_no 快递单号 string

order_item

字段 名称 类型
sku_title 规格名称 string
title 商品名称 string
product_id 商品id string
order_id 订单id int
image_url 商品图片 string
send_status 0未发货 1已发货 2部分发货 int
amount 子订单金额 int

after_sales_audit

字段 名称 类型
status 审核状态 0待审核1通过 -1拒绝 int
cause 驳回原因 string
{
"code": 0,
"data": {
"after_sales": {
"id": 30,
"created_at": 1652075303,
"updated_at": 1652078326,
"after_sale_sn": "181728283360",
"user_id": 35,
"amount": 10,
"practical_amount": 0,
"reason_type": 1,
"reason": "",
"description": "不想要了",
"order_id": 496,
"order_item_id": 586,
"sku_id": 22260,
"product_id": 1028760,
"shipping_address_id": 0,
"is_received": 1,
"pay_method": 0,
"return_order_express_id": 0,
"status": 0,
"type": 0,
"detail_images": null,
"logs": [
{
"created_at": "2022-05-09 13:48:23",
"admin_id": 0,
"content": "第1次发起了退款申请,原因快递一直未送到",
"price": 10,
"refund_type_name": "退款",
"reason_type_name": "快递一直未送到",
"description": "不想要了"
},
{
"created_at": "2022-05-09 14:38:45",
"admin_id": 0,
"content": "修改了退款申请,原因快递一直未送到",
"price": 10,
"refund_type_name": "退款",
"reason_type_name": "快递一直未送到",
"description": "不想要了"
}
],
"user": {
"id": 35,
"avatar": "https://supply-chain-yunzmall.oss-cn-beijing.aliyuncs.com/20211011/1633932497play.png",
"username": "18249104358",
"nickname": "321"
},
"refund_reason_name": "快递一直未送到",
"success_at": null,
"status_name": "待审核",
"order": {
"id": 496,
"order_sn": 181710271216,
"application_id": 6
},
"order_item": {
"id": 586,
"sku_title": "测试1-2",
"title": "测试商品1",
"product_id": 1028760,
"order_id": 496,
"image_url": "http://localhost:8888/data/goSupply/uploads/file/a170e3a09c83ae743fc5a4350df15253_20220507161418.png",
"send_status": 1,
"amount": 10000
},
"after_sales_audit": {
"id": 39,
"created_at": 1652075303,
"updated_at": 1652078326,
"after_sales_id": 30,
"admin_id": 0,
"reason_type": 1,
"reason": "",
"status": 0,
"cause": "",
"status_name": "处理中",
"refund_name": "快递一直未送到"
},
"return_order_express": {
"id": 0,
"created_at": null,
"updated_at": null,
"after_sales_id": 0,
"company_name": "",
"company_code": "",
"express_no": ""
}
}
},
"msg": "操作成功"
}