|
|
### 我的订单
|
|
|
|
|
|
#### 说明
|
|
|
我的订单
|
|
|
#### 请求参数
|
|
|
| Param Name | Param Value | Desc|
|
|
|
| :-------- | --------------:|----:|
|
|
|
| method | app.SpaceOrders.get| 请求方法 |
|
|
|
| type | 1 | 订单类型 |
|
|
|
| page | 1 | 页数 |
|
|
|
| limit | 10 | 每页大小 |
|
|
|
|
|
|
# 接口编号
|
|
|
|
|
|
接口编号用于接口降级使用
|
|
|
|
|
|
## api.yoho.cn
|
|
|
|
|
|
|接口名称| 编号|
|
|
|
|---|:---|
|
|
|
|app.product.intro|1|
|
|
|
|app.product.data|2|
|
|
|
|app.sort.get|3|
|
|
|
|app.search.category|4|
|
|
|
|app.search.sales|5|
|
|
|
|app.search.newProduct|6|
|
|
|
|app.search.fuzzy|7|
|
|
|
|app.search.li|8|
|
|
|
|app.brand.brandlist|9|
|
|
|
|app.search.brand|10|
|
|
|
|app.favorite.add|11|
|
|
|
|app.favorite.cancel|12|
|
|
|
|app.home.preference|13|
|
|
|
|app.search.top|14|
|
|
|
|app.search.last7day|15|
|
|
|
|h5.consult.li|16|
|
|
|
|h5.consult.add|17|
|
|
|
|h5.preference.Search|18|
|
|
|
|h5.sortPreference.Search|19|
|
|
|
|h5.product.data|20|
|
|
|
|h5.product.intro|21|
|
|
|
|app.config.fashioncodeTemplate|22|
|
|
|
|app.promotion.sendCheckCode|23|
|
|
|
|app.promotion.getCoupon|24|
|
|
|
|app.promotion.validCode|25|
|
|
|
|app.promotion.queryCoupon|26|
|
|
|
|app.address.get|27|
|
|
|
|app.address.getlist|28|
|
|
|
|app.address.add|29|
|
|
|
|app.address.del|30|
|
|
|
|app.address.setDefault|31|
|
|
|
|app.address.provinces|32|
|
|
|
|app.address.update|33|
|
|
|
|inbox.updateInbox|34|
|
|
|
|inbox.queryListById|35|
|
|
|
|app.inbox.getlist|36|
|
|
|
|app.inbox.getlistnew|37|
|
|
|
|app.register.sendRegCodeToMobile|38|
|
|
|
|app.register.validRegCode|39|
|
|
|
|app.coupons.total|40|
|
|
|
|app.coupons.li|41|
|
|
|
|app.home.getInfoNum|42|
|
|
|
|app.passport.register|43|
|
|
|
|app.passport.profile|44|
|
|
|
|app.passport.signin|45|
|
|
|
|app.passport.signinByOpenID|46|
|
|
|
|app.passport.bind|47|
|
|
|
|app.passport.changeCheck|48|
|
|
|
|app.passport.modifyBase|49|
|
|
|
|app.passport.check|50|
|
|
|
|app.passport.getPrivilege|51|
|
|
|
|app.passport.smsbind|52|
|
|
|
|app.passport.vip|53|
|
|
|
|app.passport.changeMobile|54|
|
|
|
|app.brand.getBrandIntro|55|
|
|
|
|app.yohocoin.lists|56|
|
|
|
|app.yohocoin.total|57|
|
|
|
|show.toShareOrderList|58|
|
|
|
|show.productShareOrderList|59|
|
|
|
|show.allToShareOrderList|60|
|
|
|
|show.ownerShareList|61|
|
|
|
|show.otherToShareOrderList|62|
|
|
|
|show.showChannel|63|
|
|
|
|show.saveShareOrder|64|
|
|
|
|app.SpaceOrders.getShareOrder|65|
|
|
|
|app.SpaceOrders.info|66|
|
|
|
|app.SpaceOrders.get|67|
|
|
|
|app.SpaceOrders.detail|68|
|
|
|
|app.SpaceOrders.confirm|69|
|
|
|
|app.favorite.brand|70|
|
|
|
|app.favorite.product|71|
|
|
|
|app.consult.add|72|
|
|
|
|app.consult.li|73|
|
|
|
|app.consult.common|74|
|
|
|
|app.product.preference|75|
|
|
|
|app.consult.useful|76|
|
|
|
|app.consult.like|77|
|
|
|
|app.resources.config.clientInitConfig|78|
|
|
|
|app.Shopping.add|79|
|
|
|
|app.Shopping.cart|80|
|
|
|
|app.Shopping.increase|81|
|
|
|
|app.Shopping.decrease|82|
|
|
|
|app.Shopping.swap|83|
|
|
|
|app.Shopping.remove|84|
|
|
|
|app.Shopping.payment|85|
|
|
|
|app.Shopping.count|86|
|
|
|
|app.Shopping.selected|87|
|
|
|
|app.Shopping.compute|88|
|
|
|
|app.Shopping.useCoupon|89|
|
|
|
|app.Shopping.submit|90|
|
|
|
|app.yoho.yohocoin|91|
|
|
|
|app.browse.product|92|
|
|
|
|app.browse.delete|93|
|
|
|
|app.yoho.redpacket|94|
|
|
|
|app.yoho.redpacketInfo|95|
|
|
|
|app.promotion.queryBirthCoupon|96|
|
|
|
|app.resources.getNotices|97|
|
|
|
|app.promotion.queryUserShowYohoCoin|98|
|
|
|
|app.Shopping.usePromotionCode|99|
|
|
|
|show.addPraise|100|
|
|
|
|show.cancelPraise|101|
|
|
|
|app.promotion_code.get|102|
|
|
|
|app.express.get|103|
|
|
|
|app.express.li|104|
|
|
|
|app.express.getExpressInfo|105|
|
|
|
|app.express.getExpressCompany|106|
|
|
|
|app.express.getNewExpress|107|
|
|
|
|app.express.getRefundExpress|108|
|
|
|
|app.refund.goodsList|109|
|
|
|
|app.refund.getList|110|
|
|
|
|app.refund.detail|111|
|
|
|
|app.refund.setexpress|112|
|
|
|
|app.refund.submit|113|
|
|
|
|app.SpaceOrders.close|114|
|
|
|
|app.SpaceOrders.delOrderByCode|115|
|
|
|
|app.register.sendBackpwdCodeToMobile|116|
|
|
|
|app.register.validBackpwdCode|117|
|
|
|
|app.register.changepwdByMobileCode|118|
|
|
|
|app.register.backpwdByEmail|119|
|
|
|
|app.inbox.getTotal|120|
|
|
|
|app.product.gift|121|
|
|
|
|app.consult.lastTwo|122|
|
|
|
|show.recentShareOrderByProductId|123|
|
|
|
|app.SpaceOrders.payConfirm|124|
|
|
|
|app.SpaceOrders.updateOrdersPaymentByCode|125|
|
|
|
|app.Shopping.erpSubmitStat|126|
|
|
|
|app.search.getTerms|127|
|
|
|
|app.search.compareRecord|128|
|
|
|
|app.search.getTerms|129|
|
|
|
|app.brand.banner|130|
|
|
|
|app.SpaceOrders.close|131|
|
|
|
|app.change.submit|132|
|
|
|
|app.change.detail|133|
|
|
|
|app.change.setexpress|134|
|
|
|
|app.change.getDelivery|135|
|
|
|
|app.change.goodsList|136|
|
|
|
|app.cover.getCoverStart|137|
|
|
|
|app.msgsys.getIosUser|138|
|
|
|
|app.Msgsys.getAndroidUser|139|
|
|
|
|app.msgsys.pushIosUser|140|
|
|
|
|app.Msgsys.pushAndroidUser|141|
|
|
|
|app.activity.getlist|142|
|
|
|
|app.activity.bindaccount|143|
|
|
|
|app.activity.getshare|144|
|
|
|
|app.activity.addshare|145|
|
|
|
|app.search.lifeStyle|146|
|
|
|
|app.search.kids|147|
|
|
|
|app.brand.banner|148|
|
|
|
|app.help.li|149|
|
|
|
|app.help.detail|150|
|
|
|
|app.drawline.getQueueList|151|
|
|
|
|app.drawline.addQueue|152|
|
|
|
|app.drawline.getUserActivityInfo|153|
|
|
|
|app.drawline.getActivityInfo|154|
|
|
|
|app.drawline.getLuckyUserList|155|
|
|
|
|app.drawline.changeTaskValue|156|
|
|
|
|app.limitcode.add|157|
|
|
|
|app.limitcode.query|158|
|
|
|
|app.limitcode.showredpoint|159|
|
|
|
|app.limitcode.deleteinvalid|160|
|
|
|
|app.limitProduct.alreadySaleLimitProduct|161|
|
|
|
|app.limitProduct.hotLimitProduct|162|
|
|
|
|app.limitProduct.soonToSaleLimitProduct|163|
|
|
|
|app.limitProduct.limitProductDetail|164|
|
|
|
|app.limitProduct.limitProductHtml|165|
|
|
|
|app.reminder.addUserReminder|166|
|
|
|
|app.reminder.getUserReminder|167|
|
|
|
|show.notCommentRecordCount|168|
|
|
|
|app.help.li|169|
|
|
|
|app.help.detail|170|
|
|
|
|
|
|
## service.yoho.cn
|
|
|
|接口名称| 编号|
|
|
|
|---|:---|
|
|
|
|/operations/api/v5/webshare/getShare|1000|
|
|
|
|/operations/api/v4/icon/getIcon|1001|
|
|
|
|/operations/api/v5/resource/home |1002|
|
|
|
|/operations/api/v5/resource/get |1003|
|
|
|
|/union/UnionRest/activeUnion |1004|
|
|
|
|/payment/wechat_data |1005|
|
|
|
|/payment/wechat_notify|1006|
|
|
|
|/payment/alipaywap_notify |1007|
|
|
|
|/payment/wechatwap_notify |1008|
|
|
|
|/payment/alipay_notify |1009|
|
|
|
|/payment/alipay_newnotify |1010|
|
|
|
|/payment/unionpay_notify|1011|
|
|
|
|/payment/unionpay_newnotify|1012|
|
|
|
|/payment/unionpay_data|1013|
|
|
|
|/operations/api/v5/help/getCategory|1014|
|
|
|
|/operations/api/v5/help/getHelp|1015|
|
|
|
|/operations/api/v5/help/getHelpContent|1016|
|
|
|
|/operations/api/v6/category/getCategory|1017|
|
|
|
|/operations/api/v5/entrance/getEntrance|1018|
|
|
|
|/operations/api/v5/version/getVersion|1019| |
|
|
\ No newline at end of file |
|
|
#### 响应内容
|
|
|
```json
|
|
|
{
|
|
|
"code":200,
|
|
|
"message":"ok",
|
|
|
"data":[]
|
|
|
}
|
|
|
```
|
|
|
|
|
|
### 根据订单号取消订单
|
|
|
|
|
|
#### 说明
|
|
|
根据订单号取消订单
|
|
|
#### 请求参数
|
|
|
| Param Name | Param Value | Desc|
|
|
|
| :-------- | --------------:|----:|
|
|
|
| method | app.SpaceOrders.close| 请求方法 |
|
|
|
| order_code | 1061003682 | 订单号 |
|
|
|
|
|
|
#### 响应内容
|
|
|
```json
|
|
|
{
|
|
|
"code":200,
|
|
|
"message":"订单取消成功"
|
|
|
}
|
|
|
```
|
|
|
|
|
|
### 根据订单号确认订单
|
|
|
|
|
|
#### 说明
|
|
|
根据订单号确认订单
|
|
|
#### 请求参数
|
|
|
| Param Name | Param Value | Desc|
|
|
|
| :-------- | --------------:|----:|
|
|
|
| method | app.SpaceOrders.confirm| 请求方法 |
|
|
|
| order_code | 1061003682 | 订单号 |
|
|
|
|
|
|
#### 响应内容
|
|
|
```json
|
|
|
{
|
|
|
"code":200,
|
|
|
"message":"订单确认成功"
|
|
|
}
|
|
|
```
|
|
|
|
|
|
|
|
|
### 获取电子票列表-app.SpaceOrders.getQrByOrderCode
|
|
|
|
|
|
|
|
|
|
|
|
#### 说明
|
|
|
根据订单号获取电子票列表
|
|
|
#### 请求参数
|
|
|
| Param Name | Param Value | Desc|
|
|
|
| :-------- | --------------:|----:|
|
|
|
| method | app.SpaceOrders.getQrByOrderCode| 请求方法 |
|
|
|
| order_code | 1061003682 | 订单号 |
|
|
|
|
|
|
#### 响应内容
|
|
|
```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"ticks": [{
|
|
|
"ticket_code":"8611779901",
|
|
|
"passkit":"Y"
|
|
|
}],
|
|
|
"title": "FURY ANIMALS Normal迷彩系列BUNNY短袖TEE"
|
|
|
},
|
|
|
"md5": "24aff7ba505dccb63a14b5d78ae22821",
|
|
|
"message": "ok"
|
|
|
}
|
|
|
```
|
|
|
##### 响应内容描述
|
|
|
| Param Name | Param Type | Desc |
|
|
|
| ---------- | ---------- | ---- |
|
|
|
| title | string | 商品名称 |
|
|
|
| ticks | json | 电子票 |
|
|
|
| ticket_code| string | |
|
|
|
| passkit | string | |
|
|
|
|
|
|
### 获取YOHOGift
|
|
|
|
|
|
#### 说明
|
|
|
根据skn获取yohoGift
|
|
|
#### 请求参数
|
|
|
| Param Name | Param Value | Desc|
|
|
|
| :-------- | --------------:|----:|
|
|
|
| method | web.Shopping.yohoGift| 请求方法 |
|
|
|
| skn_list | [50001829,50002280]| skn列表 |
|
|
|
|
|
|
#### 响应内容
|
|
|
```json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data":
|
|
|
[
|
|
|
{
|
|
|
"default_pic": "http://img11.static.yhbimg.com/goodsimg/2012/03/02/17/019a0794f1eb1ad77ce5d8a2c2b2cf2e50.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"id": 3,
|
|
|
"price":
|
|
|
{
|
|
|
"sales_price": 250,
|
|
|
"yoho_coin_num": 0
|
|
|
},
|
|
|
"product_name": "OVERKILL 天使山羊TEE",
|
|
|
"storage": 0,
|
|
|
"storage_list":
|
|
|
[
|
|
|
{
|
|
|
"erp_sku_id": 102009,
|
|
|
"goods_dimension_id": 201,
|
|
|
"goods_id": 3,
|
|
|
"product_id": 3,
|
|
|
"size":
|
|
|
{
|
|
|
"size_name": "L"
|
|
|
},
|
|
|
"storage_num": 0
|
|
|
},
|
|
|
{
|
|
|
"erp_sku_id": 102010,
|
|
|
"goods_dimension_id": 203,
|
|
|
"goods_id": 3,
|
|
|
"product_id": 3,
|
|
|
"size":
|
|
|
{
|
|
|
"size_name": "M"
|
|
|
},
|
|
|
"storage_num": 0
|
|
|
},
|
|
|
{
|
|
|
"erp_sku_id": 102012,
|
|
|
"goods_dimension_id": 211,
|
|
|
"goods_id": 3,
|
|
|
"product_id": 3,
|
|
|
"size":
|
|
|
{
|
|
|
"size_name": "XL"
|
|
|
},
|
|
|
"storage_num": 0
|
|
|
}
|
|
|
],
|
|
|
"url": "http://www.yohobuy.com/product/pro_3_3/OVERKILL TianShiShanYangTEE.html"
|
|
|
},
|
|
|
{
|
|
|
"default_pic": "http://img10.static.yhbimg.com/goodsimg/2011/06/23/04/0158a984a768a351328138ea3671e270de.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"id": 5,
|
|
|
"price":
|
|
|
{
|
|
|
"sales_price": 138,
|
|
|
"yoho_coin_num": 0
|
|
|
},
|
|
|
"product_name": "MANIA TAKI X 圆领印花短袖TEE",
|
|
|
"storage": 0,
|
|
|
"storage_list":
|
|
|
[
|
|
|
{
|
|
|
"erp_sku_id": 102015,
|
|
|
"goods_dimension_id": 213,
|
|
|
"goods_id": 5,
|
|
|
"product_id": 5,
|
|
|
"size":
|
|
|
{
|
|
|
"size_name": "XS"
|
|
|
},
|
|
|
"storage_num": 0
|
|
|
}
|
|
|
],
|
|
|
"url": "http://www.yohobuy.com/product/pro_5_5/MANIA TAKI X YuanLingYinHuaDuanXiuTEE.html"
|
|
|
}
|
|
|
],
|
|
|
"md5": "d6e4c90434e98a90555d864cf4798679",
|
|
|
"message": "操作成功"
|
|
|
}
|
|
|
```
|
|
|
|
|
|
### 购物车列表
|
|
|
|
|
|
#### 说明
|
|
|
|
|
|
#### 请求参数
|
|
|
| Param Name | Param Value | Desc|
|
|
|
| :-------- | --------------:|----:|
|
|
|
| method | app.Shopping.cart| 请求方法 |
|
|
|
| shopping_key | 9c101f734768105aafc792d460d12206 | |
|
|
|
| uid | 10166061 | |
|
|
|
|
|
|
#### 响应内容
|
|
|
```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"advance_cart_data": {
|
|
|
"gift_list": [],
|
|
|
"goods_list": [],
|
|
|
"price_gift": [],
|
|
|
"promotion_info": [],
|
|
|
"shopping_cart_data": {
|
|
|
"discount_amount": 0,
|
|
|
"fast_shopping_cost": 0,
|
|
|
"gain_yoho_coin": 0,
|
|
|
"goods_count": 0,
|
|
|
"last_order_amount": 0,
|
|
|
"order_amount": 0,
|
|
|
"promotion_formula": "总计¥0.00=商品金额¥0.00",
|
|
|
"promotion_formula_list": [
|
|
|
{
|
|
|
"promotion": "商品金额",
|
|
|
"promotion_amount": "¥0.00"
|
|
|
}
|
|
|
],
|
|
|
"selected_goods_count": 0,
|
|
|
"shipping_cost": 0,
|
|
|
"str_discount_amount": "¥0.00",
|
|
|
"str_order_amount": "¥0.00"
|
|
|
},
|
|
|
"sold_out_goods_list": []
|
|
|
},
|
|
|
"ordinary_cart_data": {
|
|
|
"gift_list": [],
|
|
|
"goods_list": [
|
|
|
{
|
|
|
"attribute": "1",
|
|
|
"brand_id": "350",
|
|
|
"buy_limit": 0,
|
|
|
"buy_number": "1",
|
|
|
"color_id": "7",
|
|
|
"color_name": "蓝色",
|
|
|
"expect_arrival_time": "",
|
|
|
"fit_promotions": [
|
|
|
"8579",
|
|
|
"8479",
|
|
|
"8477",
|
|
|
"8475"
|
|
|
],
|
|
|
"get_yoho_coin": "0",
|
|
|
"goods_id": "404795",
|
|
|
"goods_images": "http://....jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"goods_type": "ordinary",
|
|
|
"is_advance": "N",
|
|
|
"is_jit": "N",
|
|
|
"is_limited": "N",
|
|
|
"is_outlets": "N",
|
|
|
"is_special": "N",
|
|
|
"last_price": "319.0",
|
|
|
"last_vip_price": 369,
|
|
|
"market_price": 369,
|
|
|
"max_sort_id": "7",
|
|
|
"middle_sort_id": "49",
|
|
|
"product_id": 314449,
|
|
|
"product_name": "MACROPUS 复古帆布系列 双肩包(男女通用)",
|
|
|
"product_skc": "306652",
|
|
|
"product_skn": "51174830",
|
|
|
"product_sku": "967008",
|
|
|
"promotion_flag": "103",
|
|
|
"promotion_id": "0",
|
|
|
"real_price": 319,
|
|
|
"real_vip_price": 0,
|
|
|
"sale_price": 0,
|
|
|
"sales_price": 369,
|
|
|
"selected": "Y",
|
|
|
"shop_id": 0,
|
|
|
"shopping_cart_goods_id": "94305847",
|
|
|
"shopping_cart_id": "130769237",
|
|
|
"size_id": "199",
|
|
|
"size_name": "F",
|
|
|
"small_sort_id": "152",
|
|
|
"storage_number": "99",
|
|
|
"str_subtotal": "¥369.00",
|
|
|
"subtotal": 369,
|
|
|
"supplier_id": 0,
|
|
|
"uid": "10166061",
|
|
|
"vip1_price": "350.55",
|
|
|
"vip2_price": "332.10",
|
|
|
"vip3_price": "324.72",
|
|
|
"vip_discount": 1,
|
|
|
"vip_discount_money": 0,
|
|
|
"vip_discount_type": "1",
|
|
|
"vip_price": 0,
|
|
|
"yoho_coin_num": "0"
|
|
|
}
|
|
|
],
|
|
|
"price_gift": [
|
|
|
{
|
|
|
"gift_price": 39,
|
|
|
"goods_list": [
|
|
|
{
|
|
|
"goods_images": "http://...jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"last_price": 39,
|
|
|
"market_price": 90,
|
|
|
"product_id": 269401,
|
|
|
"product_name": "VOCHIC 欧式多用抗菌艺术砧板",
|
|
|
"product_skn": 51150012,
|
|
|
"sales_price": 49,
|
|
|
"storage_number": 150
|
|
|
}
|
|
|
],
|
|
|
"max_select_number": "1",
|
|
|
"promotion_id": 8475,
|
|
|
"promotion_title": "【全场39元加价购】",
|
|
|
"promotion_type": "Needpaygift"
|
|
|
}
|
|
|
],
|
|
|
"promotion_info": [
|
|
|
{
|
|
|
"cutdown_amount": 50,
|
|
|
"promotion_id": 8579,
|
|
|
"promotion_title": "【包配随行】满¥299减¥50",
|
|
|
"promotion_type": "Cashreduce"
|
|
|
}
|
|
|
],
|
|
|
"shopping_cart_data": {
|
|
|
"discount_amount": 50,
|
|
|
"fast_shopping_cost": 15,
|
|
|
"gain_yoho_coin": 0,
|
|
|
"goods_count": 1,
|
|
|
"last_order_amount": 319,
|
|
|
"order_amount": 369,
|
|
|
"promotion_formula": "总计¥319.00=商品金额¥369.00-活动金额¥50.00",
|
|
|
"promotion_formula_list": [
|
|
|
{
|
|
|
"promotion": "商品金额",
|
|
|
"promotion_amount": "¥369.00"
|
|
|
}
|
|
|
],
|
|
|
"selected_goods_count": 1,
|
|
|
"shipping_cost": 10,
|
|
|
"str_discount_amount": "¥50.00",
|
|
|
"str_order_amount": "¥369.00"
|
|
|
},
|
|
|
"sold_out_goods_list": []
|
|
|
}
|
|
|
},
|
|
|
"md5": "d222cf08c9d43d0c5f3ab31d278cabd8",
|
|
|
"message": "cart goods list."
|
|
|
}
|
|
|
```
|
|
|
|
|
|
|
|
|
### 获取待处理订单总数
|
|
|
|
|
|
#### 说明
|
|
|
根据获取待处理订单总数
|
|
|
#### 请求参数
|
|
|
| Param Name | Param Value | Desc |
|
|
|
| ---------- | ----------- | ---- |
|
|
|
| method | web.SpaceOrders.getPendingOrderCount| 请求方法 |
|
|
|
| uid | 5772257 | |
|
|
|
|
|
|
#### 响应内容
|
|
|
|
|
|
```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"message": "操作成功"
|
|
|
"data": {
|
|
|
"count": 100
|
|
|
}
|
|
|
}
|
|
|
``` |
|
|
\ No newline at end of file |
...
|
...
|
|