说明:
请求地址:
/wapbiz/order/orderdetail
请求参数说明:
参数名 |
类型 |
是否必须 |
说明 |
order_id |
int |
是 |
订单id |
返回字段说明:
字段名 |
类型 |
说明 |
order_id |
int |
订单id |
order_money |
string |
订单金额 |
commission |
float |
佣金 |
global_bonus |
float |
全球分红 |
area_bonus |
float |
区域分红 |
team_bonus |
float |
团队分红 |
order_no |
string |
订单编号 |
order_no |
string |
外部交易号 |
out_trade_no_presell |
string |
预售订单外部交易号 |
shop_name |
string |
店铺名称 |
shop_id |
int |
店铺id |
presell_id |
int |
预售id |
order_status |
int |
订单状态 |
payment_type_name |
string |
支付方式名称 |
payment_type |
int |
支付方式 |
promotion_status |
int |
是否整单退款,1是,0否 |
order_refund_status |
int |
订单退款状态 |
is_evaluate |
int |
是否评价了 |
goods_money |
float |
商品价格 |
create_time |
string |
下单时间 |
pay_time |
string |
支付时间 |
consign_time |
string |
收货时间 |
finish_time |
string |
完成时间 |
receiver_name |
string |
收货人姓名 |
receiver_mobile |
string |
收货人手机号码 |
receiver_province |
string |
收货人省 |
receiver_city |
string |
收货人市 |
receiver_district |
string |
收货人区 |
receiver_address |
string |
收货人详细地址 |
buyer_message |
string |
留言信息 |
shipping_type_name |
string |
配送方式名称 |
order_type |
int |
订单类型,参考订单列表接口 |
order_type_name |
string |
订单类型名称 |
goods_type |
int |
商品类型,虚拟商品没有收货地址信息 |
shipping_type_name |
string |
配送方式名称 |
shipping_type |
int |
配送方式 |
store_id |
int |
核销门店id |
operation |
array |
操作 |
order_goods |
array |
订单商品列表 |
order_goods_id |
int |
订单商品id |
goods_id |
int |
商品id |
sku_id |
int |
skuid |
goods_name |
string |
商品名称 |
sku_name |
string |
sku名称 |
price |
float |
商品价格 |
num |
int |
购买数量 |
pic_cover |
string |
商品图片 |
spec |
array |
商品规格 |
spec_name |
string |
规格 |
spec_value_name |
string |
规格值 |
### 返回示例:
```
{
"code": 1,
"message": "获取成功",
"data": {
"order_money": "¥2108.00",
"commission": 0,
"bonus": 0,
"order_id": 388,
"order_no": "20191207141250761267",
"out_trade_no": "157569917070081000",
"out_trade_no_presell": "",
"shop_name": "liaojiantao2224",
"shop_id": 0,
"presell_id": 0,
"order_status": 2,
"offline_pay": 0,
"payment_type_name": "余额支付",
"payment_type": 5,
"promotion_status": false,
"order_refund_status": 0,
"is_evaluate": 0,
"first_money": null,
"final_money": "0.00",
"first_real_money": null,
"final_real_money": null,
"invoice_tax": null,
"order_real_money": null,
"goods_money": "2342.00",
"shipping_fee": 0,
"promotion_money": 234,
"create_time": "2019-12-07 14:12:50",
"pay_time": "2019-12-07 14:13:05",
"consign_time": "2019-12-23 14:26:50",
"finish_time": "1970-01-01 08:00:00",
"receiver_name": "234",
"receiver_mobile": "18819446714",
"receiver_province": "安徽省",
"receiver_city": "合肥市",
"receiver_district": "庐阳区",
"receiver_address": "23423",
"buyer_message": "",
"group_id": 0,
"group_record_id": 0,
"presell_status": null,
"shipping_type_name": "商家配送",
"order_type": 1,
"order_type_name": "普通订单",
"goods_type": "1",
"shipping_type": 1,
"deduction_money": "0.00",
"membercard_deduction_money": "0.00",
"store_id": 0,
"order_point": 0,
"operation": {
"0": {
"no": "seller_memo",
"name": "备注",
"icon_class": "icon icon-remarks-l"
},
"2": {
"no": "getdelivery",
"name": "确认收货",
"icon_class": "icon icon-add-success-l"
},
"3": {
"no": "update_shipping",
"name": "修改物流",
"icon_class": "icon icon-edit-l"
}
},
"order_goods": [
{
"order_goods_id": 439,
"goods_id": 2020,
"goods_name": "34234",
"sku_id": 4695,
"sku_name": "2343 2 223 sss ",
"price": "2342.00",
"goods_point": 0,
"num": "1",
"refund_status": 0,
"spec": [
{
"spec_value_name": "2343",
"spec_name": 23
},
{
"spec_value_name": "2",
"spec_name": "颜色"
},
{
"spec_value_name": "223",
"spec_name": 234234
},
{
"spec_value_name": "sss",
"spec_name": "尺寸"
}
],
"pic_cover": "https://img.alicdn.com/imgextra/i4/279887075/O1CN01YR9Igv228Of3TsD5D_!!279887075.jpg"
}
]
}
}
```