簡(jiǎn)要描述
請(qǐng)求url
https://www.商城域名.com/index.php?s=/api/refund/detail
請(qǐng)求方式
是否需授權(quán)登錄
請(qǐng)求header
參數(shù)名 |
類型 |
是否必須 |
示例值 |
說(shuō)明 |
storeId |
int |
必填 |
10001 |
商城ID |
platform |
string |
必填 |
H5 |
當(dāng)前請(qǐng)求的客戶端(APP、小程序、H5等) |
Access-Token |
string |
選填 |
- |
當(dāng)前登錄用戶的 Token |
請(qǐng)求參數(shù)
參數(shù)名 |
類型 |
是否必須 |
示例值 |
說(shuō)明 |
orderRefundId |
int |
必填 |
6 |
售后單ID |
返回示例
{
"status": 200,
"message": "success",
"data": {
"detail": {
"order_refund_id": 6,
"order_id": 10195,
"order_goods_id": 10192,
"user_id": 10125,
"type": 10,
"apply_desc": "",
"audit_status": 10,
"refuse_desc": "",
"refund_money": "0.00",
"is_user_send": 1,
"send_time": "2022-01-19 10:31:09",
"express_id": "10002",
"express_no": "12124141241",
"is_receipt": 0,
"status": 0,
"create_time": "2022-01-19 10:30:00",
"orderGoods": {
"order_goods_id": 10192,
"goods_id": 10023,
"goods_name": "【砍價(jià)】庫(kù)存測(cè)試",
"image_id": 10381,
"deduct_stock_type": 20,
"spec_type": 20,
"goods_sku_id": "10053",
"goods_props": [{
"group": {
"name": "尺碼",
"id": 10007
},
"value": {
"name": "40",
"id": 10053
}
}],
"goods_no": "",
"goods_price": "100.00",
"line_price": "2.00",
"goods_weight": 4,
"is_user_grade": 1,
"grade_ratio": 10,
"grade_goods_price": "98.00",
"grade_total_money": "4.00",
"coupon_money": "0.00",
"points_money": "0.00",
"points_num": 0,
"points_bonus": 9,
"total_num": 2,
"total_price": "196.00",
"total_pay_price": "196.00",
"delivery_status": 10,
"delivery_num": 0,
"is_comment": 0,
"order_id": 10195,
"user_id": 10125,
"goods_source_id": 0,
"goods_image": "e8f48e56ccd8dc60c883fc8fe06d6149.png"
},
"images": [],
"address": {
"id": 3,
"order_refund_id": 6,
"name": "倉(cāng)庫(kù)",
"phone": "13500000000",
"province_id": 1,
"city_id": 2,
"region_id": 5,
"detail": "010號(hào)(拒收到付)",
"region": {
"province": "北京",
"city": "北京市",
"region": "朝陽(yáng)區(qū)"
}
},
"express": {
"express_id": 10002,
"express_name": "郵政國(guó)內(nèi)"
},
"state_text": "已發(fā)貨,待平臺(tái)確認(rèn)"
}
}
}
返回參數(shù)
參數(shù)名 |
類型 |
示例值 |
說(shuō)明 |
status |
int |
200 |
請(qǐng)求狀態(tài)(200:請(qǐng)求成功;500:請(qǐng)求錯(cuò)誤/失?。?/td>
|
message |
string |
success |
請(qǐng)求結(jié)果的信息,默認(rèn)為 success |
data |
object |
- |
返回的業(yè)務(wù)數(shù)據(jù) |
data 參數(shù)
參數(shù)名 |
類型 |
示例值 |
說(shuō)明 |
detail |
object |
- |
- |
data.detail 參數(shù)
參數(shù)名 |
類型 |
示例值 |
說(shuō)明 |
order_refund_id |
int |
6 |
售后單ID |
order_id |
int |
10195 |
訂單ID |
order_goods_id |
int |
10192 |
訂單商品ID |
user_id |
int |
10125 |
用戶ID |
type |
int |
10 |
售后類型 (10退貨退款 20換貨) |
apply_desc |
string |
- |
用戶申請(qǐng)?jiān)?(說(shuō)明) |
audit_status |
int |
10 |
商家審核狀態(tài) (0待審核 10已同意 20已拒絕) |
refuse_desc |
string |
- |
商家拒絕原因 (說(shuō)明) |
refund_money |
string |
0.00 |
實(shí)際退款金額 |
is_user_send |
int |
1 |
用戶是否發(fā)貨 (0未發(fā)貨 1已發(fā)貨) |
send_time |
string |
2022-01-19 10:31:09 |
用戶發(fā)貨時(shí)間 |
express_id |
string |
10002 |
用戶發(fā)貨物流公司ID |
express_no |
string |
12124141241 |
用戶發(fā)貨物流單號(hào) |
is_receipt |
int |
- |
商家收貨狀態(tài) (0未收貨 1已收貨) |
status |
int |
- |
售后單狀態(tài) (0進(jìn)行中 10已拒絕 20已完成 30已取消) |
create_time |
string |
2022-01-19 10:30:00 |
商城ID |
orderGoods |
object |
- |
售后商品信息 |
images |
array |
[] |
售后單圖片 |
address |
object |
- |
售后單退貨地址 |
express |
object |
- |
物流公司信息 |
state_text |
string |
已發(fā)貨,待平臺(tái)確認(rèn) |
售后單狀態(tài) (文字) |
data.detail.address 參數(shù)
參數(shù)名 |
類型 |
示例值 |
說(shuō)明 |
id |
int |
3 |
地址ID |
name |
string |
倉(cāng)庫(kù) |
收貨人姓名 |
phone |
string |
13500000000 |
聯(lián)系電話 |
detail |
string |
010號(hào)(拒收到付) |
詳細(xì)地址 |
region |
object |
- |
地區(qū)信息 |
data.detail.address.region 參數(shù)
參數(shù)名 |
類型 |
示例值 |
說(shuō)明 |
province |
string |
北京 |
省份名稱 |
city |
string |
北京市 |
城市名稱 |
region |
string |
朝陽(yáng)區(qū) |
區(qū)/縣名稱 |
data.detail.express 參數(shù)
參數(shù)名 |
類型 |
示例值 |
說(shuō)明 |
express_id |
int |
10002 |
物流公司ID |
express_name |
string |
郵政國(guó)內(nèi) |
物流公司名稱 |