订单接口
接口列表
接口描述
订单列表页(/order/api/v1/detail/getList)
请求参数
参数名称 |
参数类型 |
是否必填 |
示例值 |
描述 |
uid |
int |
是 |
7893817 |
用户ID |
page |
int |
是 |
1 |
当前页数 |
limit |
int |
是 |
10 |
每页数量 |
响应内容
{
"code":"200",
"message":"order_info",
"data":{
"order_code":"15120310489",
"parent_order_code":"0",
"create_time":"1449110653",
"status":"900",
"is_confirm_show":"N",
"is_cancel":"Y",
"payment_status":"N",
"payment_type":"1",
"payment_type_str":"在线支付",
"status_str":"已取消",
"order_status_str":"已取消",
"amount":"149.00",
"payment":"",
"shipping_cost":"¥55.00",
"servie_price":"8.00",
"attribute":"1",
"pay_begin":"1449110653000",
"pay_expire":"1449117853000",
"counter_flag":"Y",
"pay_lefttime":-31548809,
"order_goods":[
[
{
"product_skn":"5000192",
"product_sku":"5000734",
"product_name":"Birthday BE@RBRICK 2012",
"size_name":"FREE",
"color_name":"1月",
"buy_number":"2",
"goods_price":"38.00",
"goods_amount":"76",
"goods_image":"http://img11.static.yhbimg.com/global/2015/11/02/09/01df624ff5aece80d6d314afdec0374542.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"goods_type":"0",
"goods_status":"",
"expect_arrival_time":"",
"country_name":"日本",
"tariff_price":"3.80",
"tariff_collect":"N",
"product_source":"ZOZO",
"is_global":"Y",
"is_plane":"Y"
}
]
],
"promotion_formula_list":[
{
"promotion":"商品金额",
"promotion_amount":"¥76.00"
},
{
"promotion":"运费",
"promotion_amount":"¥73.00"
},
{
"promotion":"税费",
"promotion_select":"Y",
"promotion_amount":"¥0.00"
},
{
"promotion":"服务费",
"promotion_amount":"¥8.00",
"promotion_select":"N"
}
],
"address":"嘉陵江东街18号南京国家广告产业园05栋18楼新力传媒",
"user_name":"侯海宁",
"mobile":"186****0225",
"area":"江苏省 南京市 建邺区",
"area_code":"320105",
"phone":"",
"card_number":"320311111111111111",
"card_positive":"2015/12/03/10/4fb0ded3913dfe426e8e40596d4df511.jpg",
"card_positive_url":"http://yhgidcard.static.yhbimg.com/2015/12/03/10/4fb0ded3913dfe426e8e40596d4df511.jpg?e=1480670262&token=cY9B5ZgON_7McTS5zV5nTeRyQ98MOcVD7W4eGVbE:0zhAe5uRhPg3TtqV2ZDM_3F8TDI=",
"card_negative":"2015/12/03/10/89313b3abd7f42a7132d64616e918a95.jpg",
"card_negative_url":"http://yhgidcard.static.yhbimg.com/2015/12/03/10/89313b3abd7f42a7132d64616e918a95.jpg?e=1480670262&token=cY9B5ZgON_7McTS5zV5nTeRyQ98MOcVD7W4eGVbE:1VpmAOHjVNUVhc59RZC7j3egPOI=",
"is_card_upload":"Y",
"express_company":{
"caption":"一号仓",
"url":"",
"logo":"http://cdn.yoho.cn/global/images/express_3.jpg?imageView/{mode}/w/{width}/h/{height}",
"is_support":"1"
},
"express_number":"",
"express_node":"",
"can_update_delivery_address":"N",
"goods_quantity":"2"
},
"md5":"d9c224f7ac0ee0210e7cef0f383844f4",
"t":{
"i":0.00084519386291504,
"e":0.033078908920288,
"t":0.033924102783203
},
"s":"N"
}
订单详情(/order/api/v1/detail/get)
请求参数
参数名称 |
参数类型 |
是否必填 |
示例值 |
描述 |
uid |
int |
是 |
7893817 |
用户ID |
order_id |
long |
是 |
15120310489 |
订单号 |
响应内容
{
}