...
|
...
|
@@ -2254,3 +2254,1863 @@ code为200即为成功且只会返回200,每次都会有响应结果。 |
|
|
```
|
|
|
|
|
|
|
|
|
## 7、品牌热搜词##
|
|
|
|
|
|
(method=app.search.hotBrands)
|
|
|
请求方式:GET
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
http://54.222.221.243/?app_version=5.0.0.1609300001&client_secret=977e6928ab5118b5d644e1bc1f244d43&client_type=iphone&fromPage=iFP_SearchProList&method=app.search.hotBrands&os_version=10.0.2&screen_size=375x667&uid=15545752&v=7
|
|
|
|
|
|
### 响应
|
|
|
code为200即为成功且只会返回200,每次都会有响应结果。
|
|
|
响应JSON格式如下所示:
|
|
|
```json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": [
|
|
|
{
|
|
|
"brandName": "NIKE",
|
|
|
"brandDomain": "",
|
|
|
"brandId": 248,
|
|
|
"orderBy": 3
|
|
|
},
|
|
|
{
|
|
|
"brandName": "STAYREAL",
|
|
|
"brandDomain": "stayreal",
|
|
|
"brandId": 197,
|
|
|
"orderBy": 2
|
|
|
},
|
|
|
{
|
|
|
"brandName": "5CM",
|
|
|
"brandDomain": "5cm",
|
|
|
"brandId": 4,
|
|
|
"orderBy": 1
|
|
|
}
|
|
|
],
|
|
|
"md5": "0cdcf653ec6deb26b481a64621e48a3b",
|
|
|
"message": "HotSearchBrand List"
|
|
|
}
|
|
|
```
|
|
|
|
|
|
|
|
|
## 8、品牌热搜词记录##
|
|
|
|
|
|
(method=app.search.hotBrandRecords)
|
|
|
请求方式:GET
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|uid|String|是|15545752|null|用户ID|
|
|
|
|records|String[]|否|["时间戳品牌_brandDomainbrandId"]|null|状态|
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
http://devapi.yoho.cn:58078/?debug=XYZ&app_version=3.8.2&client_type=android&os_version=yohobuy%3Ah5&screen_size=720x1280&v=7&method=app.search.hotBrandRecords&debug=XYZ&uid=9999&records
|
|
|
|
|
|
### 响应
|
|
|
code为200即为成功且只会返回200,每次都会有响应结果。
|
|
|
响应JSON格式如下所示:
|
|
|
```json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": [
|
|
|
{
|
|
|
"searchTerms": "test-chen",
|
|
|
"searchTime": 1452043863,
|
|
|
"brandId": 1616,
|
|
|
"brandDomain": ""
|
|
|
},
|
|
|
{
|
|
|
"searchTerms": "test-cc",
|
|
|
"searchTime": 1452043873
|
|
|
}
|
|
|
],
|
|
|
"md5": "e24c0c724646c486236bf24b7cb2a9a5",
|
|
|
"message": "success"
|
|
|
}
|
|
|
```
|
|
|
|
|
|
|
|
|
## 9、清除品牌热搜词记录##
|
|
|
|
|
|
(method=app.search.clearHotBrandRecords)
|
|
|
请求方式:GET
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|uid|String|是|15545752|null|用户ID|
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
http://devapi.yoho.cn:58078/?debug=XYZ&app_version=3.8.2&client_type=android&os_version=yohobuy%3Ah5&screen_size=720x1280&v=7&method=app.search.clearHotBrandRecords&debug=XYZ&uid=9999
|
|
|
|
|
|
### 响应
|
|
|
code为200即为成功且只会返回200,每次都会有响应结果。
|
|
|
响应JSON格式如下所示:
|
|
|
```json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"md5": "89445294eb4487a1233cff63b1df01e7",
|
|
|
"message": "brand info"
|
|
|
}
|
|
|
```
|
|
|
|
|
|
|
|
|
## 10、查询断码区分类和尺码##
|
|
|
|
|
|
(method=app.sale.getBreakingSort)
|
|
|
请求方式:GET
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|yh_channel|String|是|1|null|频道(1或2、3)|
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
http://54.223.45.120/?app_version=5.0.0.1609300001&client_secret=b02500dc44cbe42c066fbb6da079ce45&client_type=iphone&fromPage=iFP_ShortSizeProList&method=app.sale.getBreakingSort&os_version=10.0.2&screen_size=375x667&v=7&yh_channel=1
|
|
|
|
|
|
### 响应
|
|
|
code为200即为成功且只会返回200,每次都会有响应结果。
|
|
|
响应JSON格式如下所示:
|
|
|
```json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": [
|
|
|
{
|
|
|
"sub": [
|
|
|
{
|
|
|
"size_name": "XL",
|
|
|
"order_by": 1163,
|
|
|
"size_id": 211
|
|
|
},
|
|
|
{
|
|
|
"size_name": "40",
|
|
|
"order_by": 1879,
|
|
|
"size_id": 113
|
|
|
},
|
|
|
{
|
|
|
"size_name": "52",
|
|
|
"order_by": 1825,
|
|
|
"size_id": 271
|
|
|
}
|
|
|
],
|
|
|
"sort_name": "上装",
|
|
|
"max_sort_id": "1",
|
|
|
"sort_id": "114,115,119,124,258,117,116,125,227,122,123,121,118,413,173,"
|
|
|
},
|
|
|
{
|
|
|
"sub": [
|
|
|
{
|
|
|
"size_name": "L",
|
|
|
"order_by": 1169,
|
|
|
"size_id": 201
|
|
|
},
|
|
|
{
|
|
|
"size_name": "34/30",
|
|
|
"order_by": 350,
|
|
|
"size_id": 350
|
|
|
},
|
|
|
{
|
|
|
"size_name": "30R",
|
|
|
"order_by": 0,
|
|
|
"size_id": 529
|
|
|
}
|
|
|
],
|
|
|
"sort_name": "下装",
|
|
|
"max_sort_id": "3",
|
|
|
"sort_id": "129,131,130,346,348,133,"
|
|
|
},
|
|
|
{
|
|
|
"sub": [
|
|
|
{
|
|
|
"size_name": "41/42",
|
|
|
"order_by": 373,
|
|
|
"size_id": 373
|
|
|
},
|
|
|
{
|
|
|
"size_name": "39/40",
|
|
|
"order_by": 308,
|
|
|
"size_id": 308
|
|
|
},
|
|
|
{
|
|
|
"size_name": "43-44",
|
|
|
"order_by": 128,
|
|
|
"size_id": 128
|
|
|
},
|
|
|
{
|
|
|
"size_name": "35-36",
|
|
|
"order_by": 89,
|
|
|
"size_id": 89
|
|
|
},
|
|
|
{
|
|
|
"size_name": "37-38",
|
|
|
"order_by": 99,
|
|
|
"size_id": 99
|
|
|
},
|
|
|
{
|
|
|
"size_name": "41-42",
|
|
|
"order_by": 120,
|
|
|
"size_id": 120
|
|
|
},
|
|
|
{
|
|
|
"size_name": "L",
|
|
|
"order_by": 1169,
|
|
|
"size_id": 201
|
|
|
},
|
|
|
{
|
|
|
"size_name": "38-39",
|
|
|
"order_by": 324,
|
|
|
"size_id": 324
|
|
|
},
|
|
|
{
|
|
|
"size_name": "37 1/3码",
|
|
|
"order_by": 365,
|
|
|
"size_id": 365
|
|
|
}
|
|
|
],
|
|
|
"sort_name": "鞋子",
|
|
|
"max_sort_id": "6",
|
|
|
"sort_id": "147,149,151,148,"
|
|
|
},
|
|
|
{
|
|
|
"sub": [
|
|
|
{
|
|
|
"size_name": "24英寸",
|
|
|
"order_by": 1396,
|
|
|
"size_id": 52
|
|
|
},
|
|
|
{
|
|
|
"size_name": "20英寸",
|
|
|
"order_by": 356,
|
|
|
"size_id": 356
|
|
|
}
|
|
|
],
|
|
|
"sort_name": "其他",
|
|
|
"max_sort_id": "0",
|
|
|
"sort_id": "152,186,153,162,235,322,142,311,75,238,76,156,240,74,260,264,323,324,78,161,72,157,160,163,303,340,342,210,233,79,330,239,327,305,306,341,316,261,321,300,320,164,262,349,263,329,77,218,351,357,295,326,328,"
|
|
|
}
|
|
|
],
|
|
|
"md5": "13b43adb8576b71cbb40dc76070dc5b3",
|
|
|
"message": "getBreakingSort List."
|
|
|
}
|
|
|
```
|
|
|
|
|
|
|
|
|
## 11、奥莱潮品速递的商品列表 ,按照库存+销量由高到低排序(order=storageNum:desc,sales_num:desc),过滤无货商品(stocknumber=1),固定30个##
|
|
|
|
|
|
(method=app.search.trend)
|
|
|
请求方式:GET
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|yh_channel|String|是|3|null|频道 假如传值1 则需要查询1,3 假如查询2 则需要查询2,3|
|
|
|
|order|String|是|s_t_desc|s_s_desc,s_n_desc|排序|
|
|
|
|gender|String|是|1,3|null|性别,以逗号分隔 1代表男 2代表女 3代表通用|
|
|
|
|stocknumber|int|是|1|1|库存 如 “stocknumber=2”,则过滤出库存量>=2的商品|
|
|
|
|limit|int|是|60|null|每页展示条数|
|
|
|
|outlets|int|是|null|1|outlets=1 奥莱商品 outlets=2非奥莱商品|
|
|
|
|app_version|String|是|null|4.9.2.1609120001|版本号|
|
|
|
|client_type|String|是|iphone|null|客户端类型|
|
|
|
|need_filter|String|是|null|null|是否需要查询过滤条件|
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
|
|
|
### 响应
|
|
|
code为200即为成功且只会返回200,每次都会有响应结果。
|
|
|
响应JSON格式如下所示:
|
|
|
|
|
|
|
|
|
## 12、支付分期的专享列表##
|
|
|
|
|
|
(method=app.search.instalment)
|
|
|
请求方式:GET
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|query|String|是|null|null|关键字|
|
|
|
|yh_channel|String|是|3|null|频道 假如传值1 则需要查询1,3 假如查询2 则需要查询2,3|
|
|
|
|limit|int|是|60|null|每页展示条数|
|
|
|
|page|int|是|1|null|当前页数 从1开始|
|
|
|
|gender|String|是|1,3|null|性别,以逗号分隔 1代表男 2代表女 3代表通用|
|
|
|
|order|String|是|s_t_desc|s_s_desc,s_n_desc|排序类型|
|
|
|
|client_type|String|是|iphone|null|客户端类型|
|
|
|
|msort|String|是|null|null|产品大分类Id|
|
|
|
|misort|String|是|null|null|产品中分类Id|
|
|
|
|brand|String|是|null|null|品牌ID(多个以逗号分隔)|
|
|
|
|price|String|是|null|null|价格区间,起始价格以逗号分隔,如查询300-600元“price=300,600”|
|
|
|
|size|String|是|null|null|尺寸ID(多个以逗号分隔)|
|
|
|
|sort|String|是|null|null|查询小分类ID,查多个小类以逗号分隔|
|
|
|
|color|String|是|null|null|颜色ID(多个以逗号分隔)|
|
|
|
|p_d|String|是|0.7|null|促销折扣浮点值如0.7|
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
|
|
|
### 响应
|
|
|
code为200即为成功且只会返回200,每次都会有响应结果。
|
|
|
响应JSON格式如下所示:
|
|
|
|
|
|
|
|
|
## 13、首页猜你喜欢##
|
|
|
|
|
|
(method=app.search.last7day)
|
|
|
请求方式:GET
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|yh_channel|String|是|3|null|频道 假如传值1,则需要查询1,3;假如查询2,则需要查询2,3|
|
|
|
|limit|int|是|60|null|每页展示条数|
|
|
|
|page|int|是|1|null|当前页数 从1开始|
|
|
|
|gender|String|是|1,3|null|性别,以逗号分隔 1代表男 2代表女 3代表通用|
|
|
|
|content_code|String|是|null|null|内容码|
|
|
|
|client_type|String|是|iphone|null|客户端类型|
|
|
|
|need_filter|String|是|null|null|是否需要查询过滤条件|
|
|
|
|app_type|int|是|null|0|客户端类型 0:有货 1:BLK|
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
|
|
|
### 响应
|
|
|
code为200即为成功且只会返回200,每次都会有响应结果。
|
|
|
响应JSON格式如下所示:
|
|
|
|
|
|
|
|
|
## 14、创意生活频道商品搜索##
|
|
|
|
|
|
(method=app.search.lifeStyle)
|
|
|
请求方式:GET
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|client_type|String|是|iphone|null|客户端类型|
|
|
|
|need_filter|String|是|null|null|是否需要查询过滤条件|
|
|
|
|app_type|int|是|null|0|客户端类型 0:有货 1:BLK|
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
http://54.223.45.120/?app_version=5.0.0.1609300001&client_secret=fe64a9c70e1cdd98255ca51631365e9d&client_type=iphone&fromPage=iFP_Home&method=app.search.lifeStyle&os_version=10.0.2&screen_size=375x667&uid=15545752&v=7
|
|
|
|
|
|
### 响应
|
|
|
code为200即为成功且只会返回200,每次都会有响应结果。
|
|
|
响应JSON格式如下所示:
|
|
|
```json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"product_list": {
|
|
|
"new": [
|
|
|
{
|
|
|
"small_sort_id": 260,
|
|
|
"vip1_price": 30.4,
|
|
|
"gender": "1",
|
|
|
"vip3_price": 28.16,
|
|
|
"is_global": "N",
|
|
|
"is_outlets": 2,
|
|
|
"is_discount": "Y",
|
|
|
"brand_domain": "chettirouge",
|
|
|
"is_special": "N",
|
|
|
"goods_list": [
|
|
|
{
|
|
|
"color_id": "15",
|
|
|
"product_skc": "134728",
|
|
|
"cover_1": "",
|
|
|
"goods_id": "97599",
|
|
|
"images_url": "http://img11.static.yhbimg.com/goodsimg/2014/05/22/01/01b4a4e8e0ad343e405627fa3023434174.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70",
|
|
|
"color_name": "彩色",
|
|
|
"cover_2": "",
|
|
|
"color_value": "",
|
|
|
"is_default": "N",
|
|
|
"color_code": "#fffff",
|
|
|
"status": "1"
|
|
|
}
|
|
|
],
|
|
|
"vip_discount_type": 3,
|
|
|
"product_id": 64127,
|
|
|
"is_advance": "N",
|
|
|
"sales_num": 240,
|
|
|
"cn_alphabet": "CRXuanDiXinShengJingZhiZhuanYeNanShiMianRuHuanBaiLvXingZhuang758520",
|
|
|
"product_skn": 51035462,
|
|
|
"shelve_time": 1472176655,
|
|
|
"vip2_price": 28.8,
|
|
|
"age_level": "1",
|
|
|
"is_student_price": "N",
|
|
|
"edit_time": 1472176655,
|
|
|
"is_new": "N",
|
|
|
"is_limited": "N",
|
|
|
"brand_name": "Chetti Rouge轩谛",
|
|
|
"max_sort_id": 10,
|
|
|
"product_name": "Chetti Rouge轩谛 新笙净致专业男士面乳(焕白)-旅行装 (25ml)",
|
|
|
"brand_id": 30,
|
|
|
"tags": [],
|
|
|
"default_images": "http://img11.static.yhbimg.com/goodsimg/2014/05/22/01/01b4a4e8e0ad343e405627fa3023434174.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70",
|
|
|
"stock_number": 14,
|
|
|
"storage_num": 14,
|
|
|
"is_soon_sold_out": "N",
|
|
|
"middle_sort_id": 259,
|
|
|
"sales_price": 32,
|
|
|
"market_price": 40,
|
|
|
"is_promotion": 103,
|
|
|
"vip_price": 0,
|
|
|
"country_id": 0,
|
|
|
"status": 1
|
|
|
}
|
|
|
],
|
|
|
"top": [
|
|
|
{
|
|
|
"small_sort_id": 171,
|
|
|
"vip1_price": 284.05,
|
|
|
"gender": "3",
|
|
|
"vip3_price": 263.12,
|
|
|
"is_global": "N",
|
|
|
"is_outlets": 2,
|
|
|
"is_discount": "N",
|
|
|
"brand_domain": "monster",
|
|
|
"goods_list": [
|
|
|
{
|
|
|
"color_id": "2",
|
|
|
"product_skc": "554754",
|
|
|
"cover_1": "",
|
|
|
"goods_id": "718388",
|
|
|
"images_url": "http://img10.static.yhbimg.com/goodsimg/2016/09/13/16/016552821702a1a273b9bdfed032af6fd3.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70",
|
|
|
"color_name": "黑色",
|
|
|
"cover_2": "",
|
|
|
"color_value": "",
|
|
|
"is_default": "N",
|
|
|
"color_code": "333333",
|
|
|
"status": "1"
|
|
|
}
|
|
|
],
|
|
|
"vip_discount_type": 3,
|
|
|
"product_id": 581386,
|
|
|
"is_advance": "N",
|
|
|
"sales_num": 0,
|
|
|
"cn_alphabet": "MONSTERmosheng 128665-00 MH CLY IE BK CU WW;\n CLARITY HD",
|
|
|
"product_skn": 51386248,
|
|
|
"shelve_time": 1473845804,
|
|
|
"vip2_price": 269.1,
|
|
|
"age_level": "1",
|
|
|
"is_student_price": "N",
|
|
|
"edit_time": 1473845804,
|
|
|
"is_new": "N",
|
|
|
"is_limited": "N",
|
|
|
"brand_name": "MONSTER魔声",
|
|
|
"max_sort_id": 10,
|
|
|
"product_name": "MONSTER魔声 Clarity HD 灵晰 入耳式耳机 炫酷黑",
|
|
|
"brand_id": 646,
|
|
|
"tags": [],
|
|
|
"default_images": "http://img10.static.yhbimg.com/goodsimg/2016/09/13/16/016552821702a1a273b9bdfed032af6fd3.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70",
|
|
|
"stock_number": 22,
|
|
|
"storage_num": 22,
|
|
|
"is_soon_sold_out": "N",
|
|
|
"middle_sort_id": 103,
|
|
|
"sales_price": 299,
|
|
|
"market_price": 299,
|
|
|
"is_promotion": 108,
|
|
|
"vip_price": 0,
|
|
|
"country_id": 0,
|
|
|
"status": 1
|
|
|
}
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"md5": "2c5d3c68ffb5121bfa68f954184a4241",
|
|
|
"message": "Life Style List."
|
|
|
}
|
|
|
```
|
|
|
|
|
|
|
|
|
## 15、潮童频道商品搜索##
|
|
|
|
|
|
(method=app.search.kids)
|
|
|
请求方式:GET
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|limit|int|是|2|20|每页显示条数|
|
|
|
|page|int|是|1|1|第几页|
|
|
|
|app_version|String|是|null|4.9.2.1609120001|版本号|
|
|
|
|client_type|String|是|iphone|null|客户端类型|
|
|
|
|need_filter|String|是|null|null|是否需要查询过滤条件|
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
http://api.yoho.cn/?app_version=5.0.0.1609300001&client_secret=c968356dfa80fb38d4da7d83dcd9f929&client_type=iphone&fromPage=iFP_Home&limit=50&method=app.search.kids&os_version=10.0.2&page=1&screen_size=375x667&uid=15545752&v=7
|
|
|
|
|
|
### 响应
|
|
|
code为200即为成功且只会返回200,每次都会有响应结果。
|
|
|
响应JSON格式如下所示:
|
|
|
```json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"total": 542,
|
|
|
"page_total": 11,
|
|
|
"product_list": [
|
|
|
{
|
|
|
"small_sort_id": 401,
|
|
|
"vip1_price": 246.05,
|
|
|
"gender": "1",
|
|
|
"vip3_price": 227.92,
|
|
|
"is_global": "N",
|
|
|
"is_outlets": 2,
|
|
|
"is_discount": "Y",
|
|
|
"brand_domain": "babyone",
|
|
|
"goods_list": [
|
|
|
{
|
|
|
"color_id": "3",
|
|
|
"product_skc": "546424",
|
|
|
"cover_1": "",
|
|
|
"goods_id": "710236",
|
|
|
"images_url": "http://img10.static.yhbimg.com/goodsimg/2016/09/27/15/0193b64b67395bca40a65fa2007d4cebbb.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70",
|
|
|
"color_name": "灰色",
|
|
|
"cover_2": "",
|
|
|
"color_value": "",
|
|
|
"is_default": "N",
|
|
|
"color_code": "b9b7af",
|
|
|
"status": "1"
|
|
|
}
|
|
|
],
|
|
|
"vip_discount_type": 3,
|
|
|
"product_id": 574574,
|
|
|
"is_advance": "N",
|
|
|
"sales_num": 0,
|
|
|
"cn_alphabet": "babyONE dujiaoshouxilie dujiaoshounuanhuisechunyangrongkaishan BS14001-809",
|
|
|
"product_skn": 51379174,
|
|
|
"shelve_time": 1475892000,
|
|
|
"vip2_price": 233.1,
|
|
|
"age_level": "3,4",
|
|
|
"is_student_price": "N",
|
|
|
"edit_time": 1474421515,
|
|
|
"is_new": "Y",
|
|
|
"is_limited": "N",
|
|
|
"brand_name": "babyONE",
|
|
|
"max_sort_id": 365,
|
|
|
"product_name": "babyONE 男潮童100-130码独角兽暖灰色纯羊绒开衫",
|
|
|
"brand_id": 1402,
|
|
|
"tags": [
|
|
|
"is_new"
|
|
|
],
|
|
|
"default_images": "http://img10.static.yhbimg.com/goodsimg/2016/09/27/15/0193b64b67395bca40a65fa2007d4cebbb.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70",
|
|
|
"stock_number": 4,
|
|
|
"storage_num": 4,
|
|
|
"is_soon_sold_out": "N",
|
|
|
"middle_sort_id": 400,
|
|
|
"sales_price": 259,
|
|
|
"market_price": 469,
|
|
|
"is_promotion": 114,
|
|
|
"vip_price": 0,
|
|
|
"country_id": 0,
|
|
|
"status": 1
|
|
|
},
|
|
|
{
|
|
|
"small_sort_id": 397,
|
|
|
"vip1_price": 246.05,
|
|
|
"gender": "1",
|
|
|
"vip3_price": 227.92,
|
|
|
"is_global": "N",
|
|
|
"is_outlets": 2,
|
|
|
"is_discount": "N",
|
|
|
"brand_domain": "hat",
|
|
|
"goods_list": [
|
|
|
{
|
|
|
"color_id": "2",
|
|
|
"product_skc": "568908",
|
|
|
"cover_1": "",
|
|
|
"goods_id": "732924",
|
|
|
"images_url": "http://img13.static.yhbimg.com/goodsimg/2016/09/29/14/022b2f42df56bf59a7fe6fcfd279e7c768.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70",
|
|
|
"color_name": "黑色",
|
|
|
"cover_2": "",
|
|
|
"color_value": "",
|
|
|
"is_default": "N",
|
|
|
"color_code": "333333",
|
|
|
"status": "1"
|
|
|
}
|
|
|
],
|
|
|
"vip_discount_type": 1,
|
|
|
"product_id": 593380,
|
|
|
"is_advance": "N",
|
|
|
"sales_num": 0,
|
|
|
"cn_alphabet": "haT zhangxiuweiyi HATAQ-W008B",
|
|
|
"product_skn": 51398994,
|
|
|
"shelve_time": 1476064365,
|
|
|
"vip2_price": 233.1,
|
|
|
"age_level": "2,3,4",
|
|
|
"is_student_price": "N",
|
|
|
"edit_time": 1476064365,
|
|
|
"is_new": "Y",
|
|
|
"is_limited": "N",
|
|
|
"brand_name": "哈T",
|
|
|
"max_sort_id": 365,
|
|
|
"product_name": "哈T 男潮童110-150码长袖卫衣",
|
|
|
"brand_id": 2396,
|
|
|
"tags": [
|
|
|
"is_new"
|
|
|
],
|
|
|
"default_images": "http://img13.static.yhbimg.com/goodsimg/2016/09/29/14/022b2f42df56bf59a7fe6fcfd279e7c768.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70",
|
|
|
"stock_number": 15,
|
|
|
"storage_num": 15,
|
|
|
"is_soon_sold_out": "N",
|
|
|
"middle_sort_id": 396,
|
|
|
"sales_price": 259,
|
|
|
"market_price": 259,
|
|
|
"is_promotion": 107,
|
|
|
"vip_price": 0,
|
|
|
"country_id": 0,
|
|
|
"status": 1
|
|
|
}
|
|
|
],
|
|
|
"page": 1
|
|
|
},
|
|
|
"md5": "318b54a8a6438574fd093782926ce31a",
|
|
|
"message": "Last Search List."
|
|
|
}
|
|
|
```
|
|
|
|
|
|
|
|
|
## 16、为你优选接口##
|
|
|
|
|
|
(method=app.home.newPreference)
|
|
|
请求方式:POST
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|yh_channel|String|否|1|null|频道(1或2)|
|
|
|
|uid|String|是|10961107|null|用户ID|
|
|
|
|udid|String|否|7ce5433b0eb9b527599fd5ef319773bc2f5d94d8|null|设备号|
|
|
|
|limit|int|是|2|20|每页显示条数|
|
|
|
|rec_pos|String|否|100001|null|推荐位|
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
http://devapi.yoho.cn:58078/?debug=XYZ&app_version=3.8.2&client_type=android&os_version=yohobuy%3Ah5&screen_size=720x1280&v=7&method=app.home.newPreference&yh_channel=1&udid=7ce5433b0eb9b527599fd5ef319773bc2f5d94d8&uid=10961107
|
|
|
|
|
|
### 响应
|
|
|
code为200即为成功且只会返回200,每次都会有响应结果。
|
|
|
响应JSON格式如下所示:
|
|
|
```json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"product_list": [
|
|
|
{
|
|
|
"brand_domain": "5cm",
|
|
|
"brand_id": 4,
|
|
|
"brand_name": "5CM",
|
|
|
"cn_alphabet": "5CMPeiShi5CXTIT0600S66",
|
|
|
"default_images": "http://img13.static.yhbimg.com/goodsimg/2016/02/21/07/026d569b2db7d9ce9339a79bcb3fe420f8.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"edit_time": 1456119592,
|
|
|
"gender": "1",
|
|
|
"goods_list": [
|
|
|
{
|
|
|
"color_code": "333333",
|
|
|
"color_id": "2",
|
|
|
"color_name": "黑色",
|
|
|
"color_value": "",
|
|
|
"cover_1": "",
|
|
|
"cover_2": "",
|
|
|
"goods_id": "476147",
|
|
|
"images_url": "http://img13.static.yhbimg.com/goodsimg/2016/02/21/07/026d569b2db7d9ce9339a79bcb3fe420f8.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"is_default": "N",
|
|
|
"product_skc": "346699",
|
|
|
"status": "1"
|
|
|
}
|
|
|
],
|
|
|
"is_advance": "N",
|
|
|
"is_discount": "N",
|
|
|
"is_limited": "N",
|
|
|
"is_new": "Y",
|
|
|
"is_outlets": 2,
|
|
|
"is_promotion": 104,
|
|
|
"is_soon_sold_out": "N",
|
|
|
"is_special": "N",
|
|
|
"market_price": 359,
|
|
|
"max_sort_id": 8,
|
|
|
"middle_sort_id": 66,
|
|
|
"product_id": 373507,
|
|
|
"product_name": "5CM 字母印花领带",
|
|
|
"product_skn": 51206745,
|
|
|
"sales_num": 0,
|
|
|
"sales_phrase": "春潮新势力",
|
|
|
"sales_price": 359,
|
|
|
"shelve_time": 1457140500,
|
|
|
"small_sort_id": 77,
|
|
|
"status": 1,
|
|
|
"stock_number": 25,
|
|
|
"storage_num": 25,
|
|
|
"tags": [
|
|
|
"is_new"
|
|
|
],
|
|
|
"vip1_price": 341.05,
|
|
|
"vip2_price": 323.1,
|
|
|
"vip3_price": 315.92,
|
|
|
"vip_discount_type": 1,
|
|
|
"vip_price": 0
|
|
|
},
|
|
|
{
|
|
|
"brand_domain": "5cm",
|
|
|
"brand_id": 4,
|
|
|
"brand_name": "5CM",
|
|
|
"cn_alphabet": "5CMPeiShi5CXTIT0603S66",
|
|
|
"default_images": "http://img12.static.yhbimg.com/goodsimg/2016/02/21/07/02d463c9f8945ad14f824e8ba35efb9555.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"edit_time": 1456119581,
|
|
|
"gender": "1",
|
|
|
"goods_list": [
|
|
|
{
|
|
|
"color_code": "333333",
|
|
|
"color_id": "2",
|
|
|
"color_name": "黑色",
|
|
|
"color_value": "",
|
|
|
"cover_1": "",
|
|
|
"cover_2": "",
|
|
|
"goods_id": "476153",
|
|
|
"images_url": "http://img12.static.yhbimg.com/goodsimg/2016/02/21/07/02d463c9f8945ad14f824e8ba35efb9555.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"is_default": "N",
|
|
|
"product_skc": "346702",
|
|
|
"status": "1"
|
|
|
}
|
|
|
],
|
|
|
"is_advance": "N",
|
|
|
"is_discount": "N",
|
|
|
"is_limited": "N",
|
|
|
"is_new": "Y",
|
|
|
"is_outlets": 2,
|
|
|
"is_promotion": 104,
|
|
|
"is_soon_sold_out": "N",
|
|
|
"is_special": "N",
|
|
|
"market_price": 359,
|
|
|
"max_sort_id": 8,
|
|
|
"middle_sort_id": 66,
|
|
|
"product_id": 373513,
|
|
|
"product_name": "5CM 字母印花领结",
|
|
|
"product_skn": 51206748,
|
|
|
"sales_num": 0,
|
|
|
"sales_phrase": "春潮新势力",
|
|
|
"sales_price": 359,
|
|
|
"shelve_time": 1457140500,
|
|
|
"small_sort_id": 77,
|
|
|
"status": 1,
|
|
|
"stock_number": 19,
|
|
|
"storage_num": 19,
|
|
|
"tags": [
|
|
|
"is_new"
|
|
|
],
|
|
|
"vip1_price": 341.05,
|
|
|
"vip2_price": 323.1,
|
|
|
"vip3_price": 315.92,
|
|
|
"vip_discount_type": 1,
|
|
|
"vip_price": 0
|
|
|
}
|
|
|
],
|
|
|
"rec_id": "00f185af-936a-4053-97f8-1c802cb91e8b"
|
|
|
},
|
|
|
"md5": "ace93d0f598db0bebec30234381c0cbf",
|
|
|
"message": "Product List."
|
|
|
}
|
|
|
```
|
|
|
|
|
|
|
|
|
## 17、猜你喜欢接口##
|
|
|
|
|
|
(method=app.search.newLast7day)
|
|
|
请求方式:POST
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|yh_channel|String|是|1|null|频道(1或2)|
|
|
|
|limit|int|是|2|20|每页显示条数|
|
|
|
|page|int|是|1|1|第几页|
|
|
|
|gender|String|是|2|null|性别(1或2)|
|
|
|
|content_code|String|是|123abc|null|内容码|
|
|
|
|uid|String|是|10961107|null|用户ID|
|
|
|
|udid|String|是|7ce5433b0eb9b527599fd5ef319773bc2f5d94d8|null|设备号|
|
|
|
|rec_pos|String|否|100001|null|推荐位|
|
|
|
|client_type|String|是|iphone|null|客户端类型|
|
|
|
|need_filter|String|是|null|null|是否需要查询过滤条件|
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
http://devapi.yoho.cn:58078/?debug=XYZ&app_version=3.8.2&client_type=android&os_version=yohobuy%3Ah5&screen_size=720x1280&v=7&method=app.search.newLast7day&yh_channel=3&udid=7ce5433b0eb9b527599fd5ef319773bc2f5d94d8&uid=10961107&limit=2&rec_pos=100001
|
|
|
|
|
|
### 响应
|
|
|
code为200即为成功且只会返回200,每次都会有响应结果。
|
|
|
响应JSON格式如下所示:
|
|
|
```json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"page": 1,
|
|
|
"page_total": 1,
|
|
|
"product_list": [
|
|
|
{
|
|
|
"brand_domain": "lal",
|
|
|
"brand_id": 208,
|
|
|
"brand_name": "Life·After Life",
|
|
|
"cn_alphabet": "LIFEAFTERLIFEXiuXianJiuFenKuLALA6019P82",
|
|
|
"default_images": "http://img11.static.yhbimg.com/goodsimg/2016/01/18/05/014ad6e86ae379f532b4099ff3f815cd76.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"edit_time": 1457317305,
|
|
|
"gender": "1",
|
|
|
"goods_list": [
|
|
|
{
|
|
|
"color_code": "47ba17",
|
|
|
"color_id": "6",
|
|
|
"color_name": "绿色",
|
|
|
"color_value": "",
|
|
|
"cover_1": "http://img10.static.yhbimg.com/goodsimg/2016/01/18/05/01da8b818522c050c240550cc4761bdc7e.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"cover_2": "",
|
|
|
"goods_id": "402517",
|
|
|
"images_url": "http://img12.static.yhbimg.com/goodsimg/2016/01/06/12/0294c7537aa16803067d59d080d77d026a.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"is_default": "N",
|
|
|
"product_skc": "305513",
|
|
|
"status": "1"
|
|
|
},
|
|
|
{
|
|
|
"color_code": "333333",
|
|
|
"color_id": "2",
|
|
|
"color_name": "黑色",
|
|
|
"color_value": "",
|
|
|
"cover_1": "http://img11.static.yhbimg.com/goodsimg/2016/01/18/05/014ad6e86ae379f532b4099ff3f815cd76.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"cover_2": "",
|
|
|
"goods_id": "402519",
|
|
|
"images_url": "http://img11.static.yhbimg.com/goodsimg/2016/01/06/12/01b2aebd8666a078319943dc67af25643f.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"is_default": "Y",
|
|
|
"product_skc": "305514",
|
|
|
"status": "1"
|
|
|
},
|
|
|
{
|
|
|
"color_code": "0000fe",
|
|
|
"color_id": "7",
|
|
|
"color_name": "蓝色",
|
|
|
"color_value": "",
|
|
|
"cover_1": "",
|
|
|
"cover_2": "",
|
|
|
"goods_id": "402521",
|
|
|
"images_url": "http://img13.static.yhbimg.com/goodsimg/2016/01/06/12/021a3546c399ca5e191338dea14ed9111d.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"is_default": "N",
|
|
|
"product_skc": "305515",
|
|
|
"status": "1"
|
|
|
},
|
|
|
{
|
|
|
"color_code": "8b5402",
|
|
|
"color_id": "4",
|
|
|
"color_name": "棕色",
|
|
|
"color_value": "",
|
|
|
"cover_1": "",
|
|
|
"cover_2": "",
|
|
|
"goods_id": "402523",
|
|
|
"images_url": "http://img13.static.yhbimg.com/goodsimg/2016/01/06/12/022ad04aaae79cf551d6357b7756b24564.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"is_default": "N",
|
|
|
"product_skc": "305516",
|
|
|
"status": "1"
|
|
|
}
|
|
|
],
|
|
|
"is_advance": "N",
|
|
|
"is_discount": "Y",
|
|
|
"is_limited": "N",
|
|
|
"is_new": "Y",
|
|
|
"is_outlets": 2,
|
|
|
"is_promotion": 103,
|
|
|
"is_soon_sold_out": "N",
|
|
|
"is_special": "N",
|
|
|
"market_price": 299,
|
|
|
"max_sort_id": 3,
|
|
|
"middle_sort_id": 26,
|
|
|
"product_id": 312769,
|
|
|
"product_name": "Life·After Life 侧拉链撞色绣标休闲九分裤",
|
|
|
"product_skn": 51173990,
|
|
|
"sales_num": 0,
|
|
|
"sales_phrase": "",
|
|
|
"sales_price": 239,
|
|
|
"shelve_time": 1457317305,
|
|
|
"small_sort_id": 129,
|
|
|
"status": 1,
|
|
|
"stock_number": 794,
|
|
|
"storage_num": 794,
|
|
|
"tags": [
|
|
|
"is_new"
|
|
|
],
|
|
|
"vip1_price": 227.04999999999998,
|
|
|
"vip2_price": 215.1,
|
|
|
"vip3_price": 210.32,
|
|
|
"vip_discount_type": 4,
|
|
|
"vip_price": 191
|
|
|
},
|
|
|
{
|
|
|
"brand_domain": "lal",
|
|
|
"brand_id": 208,
|
|
|
"brand_name": "Life·After Life",
|
|
|
"cn_alphabet": "LIFEAFTERLIFEKaiShanWeiYiLALA601HA43",
|
|
|
"default_images": "http://img12.static.yhbimg.com/goodsimg/2016/01/11/04/023c8a7f7cca543bb06eeb1c491e8133dc.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"edit_time": 1456897775,
|
|
|
"gender": "1",
|
|
|
"goods_list": [
|
|
|
{
|
|
|
"color_code": "333333",
|
|
|
"color_id": "2",
|
|
|
"color_name": "黑色",
|
|
|
"color_value": "",
|
|
|
"cover_1": "http://img12.static.yhbimg.com/goodsimg/2016/01/11/04/023c8a7f7cca543bb06eeb1c491e8133dc.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"cover_2": "",
|
|
|
"goods_id": "402593",
|
|
|
"images_url": "http://img11.static.yhbimg.com/goodsimg/2016/01/11/04/01481682960df4ca7eef351e879efff375.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"is_default": "N",
|
|
|
"product_skc": "305551",
|
|
|
"status": "1"
|
|
|
},
|
|
|
{
|
|
|
"color_code": "0000fe",
|
|
|
"color_id": "7",
|
|
|
"color_name": "蓝色",
|
|
|
"color_value": "",
|
|
|
"cover_1": "http://img13.static.yhbimg.com/goodsimg/2016/01/11/04/02ddbd05ad24fa7805705e310f38d9d498.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"cover_2": "",
|
|
|
"goods_id": "402595",
|
|
|
"images_url": "http://img11.static.yhbimg.com/goodsimg/2016/01/11/04/0144ce271da759c861c49fba3c59c542ed.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"is_default": "N",
|
|
|
"product_skc": "305552",
|
|
|
"status": "1"
|
|
|
},
|
|
|
{
|
|
|
"color_code": "b9b7af",
|
|
|
"color_id": "3",
|
|
|
"color_name": "灰色",
|
|
|
"color_value": "",
|
|
|
"cover_1": "",
|
|
|
"cover_2": "",
|
|
|
"goods_id": "402597",
|
|
|
"images_url": "http://img13.static.yhbimg.com/goodsimg/2016/01/05/10/02877fc6b8d591343daded50497aaa5b42.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"is_default": "N",
|
|
|
"product_skc": "305553",
|
|
|
"status": "1"
|
|
|
},
|
|
|
{
|
|
|
"color_code": "47ba17",
|
|
|
"color_id": "6",
|
|
|
"color_name": "绿色",
|
|
|
"color_value": "",
|
|
|
"cover_1": "",
|
|
|
"cover_2": "",
|
|
|
"goods_id": "402599",
|
|
|
"images_url": "http://img13.static.yhbimg.com/goodsimg/2016/01/07/12/02f4b6ed457548a251fec23b67bd45d91a.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"is_default": "N",
|
|
|
"product_skc": "305554",
|
|
|
"status": "1"
|
|
|
},
|
|
|
{
|
|
|
"color_code": "FFFFFF",
|
|
|
"color_id": "1",
|
|
|
"color_name": "白色",
|
|
|
"color_value": "",
|
|
|
"cover_1": "http://img11.static.yhbimg.com/goodsimg/2016/01/11/05/0132a3a5039523d8b128a7e9fae579e87a.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"cover_2": "",
|
|
|
"goods_id": "402601",
|
|
|
"images_url": "http://img10.static.yhbimg.com/goodsimg/2016/01/11/04/01be579fbec81ad948397e69323fd0b8db.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"is_default": "N",
|
|
|
"product_skc": "305555",
|
|
|
"status": "1"
|
|
|
}
|
|
|
],
|
|
|
"is_advance": "N",
|
|
|
"is_discount": "Y",
|
|
|
"is_limited": "N",
|
|
|
"is_new": "N",
|
|
|
"is_outlets": 2,
|
|
|
"is_promotion": 102,
|
|
|
"is_soon_sold_out": "N",
|
|
|
"is_special": "N",
|
|
|
"market_price": 239,
|
|
|
"max_sort_id": 1,
|
|
|
"middle_sort_id": 16,
|
|
|
"product_id": 312795,
|
|
|
"product_name": "Life·After Life 无拉链前襟开叉开衫卫衣",
|
|
|
"product_skn": 51174003,
|
|
|
"sales_num": 0,
|
|
|
"sales_phrase": "",
|
|
|
"sales_price": 189,
|
|
|
"shelve_time": 1456897775,
|
|
|
"small_sort_id": 119,
|
|
|
"status": 1,
|
|
|
"stock_number": 731,
|
|
|
"storage_num": 731,
|
|
|
"tags": [],
|
|
|
"vip1_price": 179.54999999999998,
|
|
|
"vip2_price": 170.1,
|
|
|
"vip3_price": 166.32,
|
|
|
"vip_discount_type": 3,
|
|
|
"vip_price": 0
|
|
|
}
|
|
|
],
|
|
|
"rec_id": "81018161-8459-4131-ac05-40f327b5e318",
|
|
|
"total": 2
|
|
|
},
|
|
|
"md5": "aefa8f6557793d3b115d03d221a24529",
|
|
|
"message": "Last Search List."
|
|
|
}
|
|
|
```
|
|
|
|
|
|
## 18、买了又买接口##
|
|
|
|
|
|
(method=app.recommend.purchased)
|
|
|
请求方式:POST
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|product_skn|String|否|51000268|null|商品skn|
|
|
|
|udid|String|否|7ce5433b0eb9b527599fd5ef319773bc2f5d94d8|null|设备号|
|
|
|
|limit|int|是|2|20|每页显示条数|
|
|
|
|rec_pos|String|否|100001|null|推荐位|
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
http://devapi.yoho.cn:58078/?debug=XYZ&app_version=3.8.2&client_type=android&os_version=yohobuy%3Ah5&screen_size=720x1280&v=7&method=app.recommend.purchased&udid=7ce5433b0eb9b527599fd5ef319773bc2f5d94d8&uid=10961107
|
|
|
|
|
|
### 响应
|
|
|
code为200即为成功且只会返回200,每次都会有响应结果。
|
|
|
响应JSON格式如下所示:
|
|
|
```json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"product_list": [
|
|
|
{
|
|
|
"brand_domain": "5cm",
|
|
|
"brand_id": 4,
|
|
|
"brand_name": "5CM",
|
|
|
"cn_alphabet": "5CMPeiShi5CXTIT0600S66",
|
|
|
"default_images": "http://img13.static.yhbimg.com/goodsimg/2016/02/21/07/026d569b2db7d9ce9339a79bcb3fe420f8.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"edit_time": 1456119592,
|
|
|
"gender": "1",
|
|
|
"goods_list": [
|
|
|
{
|
|
|
"color_code": "333333",
|
|
|
"color_id": "2",
|
|
|
"color_name": "黑色",
|
|
|
"color_value": "",
|
|
|
"cover_1": "",
|
|
|
"cover_2": "",
|
|
|
"goods_id": "476147",
|
|
|
"images_url": "http://img13.static.yhbimg.com/goodsimg/2016/02/21/07/026d569b2db7d9ce9339a79bcb3fe420f8.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"is_default": "N",
|
|
|
"product_skc": "346699",
|
|
|
"status": "1"
|
|
|
}
|
|
|
],
|
|
|
"is_advance": "N",
|
|
|
"is_discount": "N",
|
|
|
"is_limited": "N",
|
|
|
"is_new": "Y",
|
|
|
"is_outlets": 2,
|
|
|
"is_promotion": 104,
|
|
|
"is_soon_sold_out": "N",
|
|
|
"is_special": "N",
|
|
|
"market_price": 359,
|
|
|
"max_sort_id": 8,
|
|
|
"middle_sort_id": 66,
|
|
|
"product_id": 373507,
|
|
|
"product_name": "5CM 字母印花领带",
|
|
|
"product_skn": 51206745,
|
|
|
"sales_num": 0,
|
|
|
"sales_phrase": "春潮新势力",
|
|
|
"sales_price": 359,
|
|
|
"shelve_time": 1457140500,
|
|
|
"small_sort_id": 77,
|
|
|
"status": 1,
|
|
|
"stock_number": 25,
|
|
|
"storage_num": 25,
|
|
|
"tags": [
|
|
|
"is_new"
|
|
|
],
|
|
|
"vip1_price": 341.05,
|
|
|
"vip2_price": 323.1,
|
|
|
"vip3_price": 315.92,
|
|
|
"vip_discount_type": 1,
|
|
|
"vip_price": 0
|
|
|
},
|
|
|
{
|
|
|
"brand_domain": "5cm",
|
|
|
"brand_id": 4,
|
|
|
"brand_name": "5CM",
|
|
|
"cn_alphabet": "5CMPeiShi5CXTIT0603S66",
|
|
|
"default_images": "http://img12.static.yhbimg.com/goodsimg/2016/02/21/07/02d463c9f8945ad14f824e8ba35efb9555.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"edit_time": 1456119581,
|
|
|
"gender": "1",
|
|
|
"goods_list": [
|
|
|
{
|
|
|
"color_code": "333333",
|
|
|
"color_id": "2",
|
|
|
"color_name": "黑色",
|
|
|
"color_value": "",
|
|
|
"cover_1": "",
|
|
|
"cover_2": "",
|
|
|
"goods_id": "476153",
|
|
|
"images_url": "http://img12.static.yhbimg.com/goodsimg/2016/02/21/07/02d463c9f8945ad14f824e8ba35efb9555.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"is_default": "N",
|
|
|
"product_skc": "346702",
|
|
|
"status": "1"
|
|
|
}
|
|
|
],
|
|
|
"is_advance": "N",
|
|
|
"is_discount": "N",
|
|
|
"is_limited": "N",
|
|
|
"is_new": "Y",
|
|
|
"is_outlets": 2,
|
|
|
"is_promotion": 104,
|
|
|
"is_soon_sold_out": "N",
|
|
|
"is_special": "N",
|
|
|
"market_price": 359,
|
|
|
"max_sort_id": 8,
|
|
|
"middle_sort_id": 66,
|
|
|
"product_id": 373513,
|
|
|
"product_name": "5CM 字母印花领结",
|
|
|
"product_skn": 51206748,
|
|
|
"sales_num": 0,
|
|
|
"sales_phrase": "春潮新势力",
|
|
|
"sales_price": 359,
|
|
|
"shelve_time": 1457140500,
|
|
|
"small_sort_id": 77,
|
|
|
"status": 1,
|
|
|
"stock_number": 19,
|
|
|
"storage_num": 19,
|
|
|
"tags": [
|
|
|
"is_new"
|
|
|
],
|
|
|
"vip1_price": 341.05,
|
|
|
"vip2_price": 323.1,
|
|
|
"vip3_price": 315.92,
|
|
|
"vip_discount_type": 1,
|
|
|
"vip_price": 0
|
|
|
}
|
|
|
],
|
|
|
"rec_id": "00f185af-936a-4053-97f8-1c802cb91e8b"
|
|
|
},
|
|
|
"md5": "ace93d0f598db0bebec30234381c0cbf",
|
|
|
"message": "Product List."
|
|
|
}
|
|
|
```
|
|
|
|
|
|
|
|
|
## 19、首页弹窗接口##
|
|
|
|
|
|
(method=app.recommend.popup)
|
|
|
请求方式:POST
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|uid|String|是|10961107|null|用户ID|
|
|
|
|udid|String|否|7ce5433b0eb9b527599fd5ef319773bc2f5d94d8|null|设备号|
|
|
|
|rec_pos|String|否|100001|null|推荐位|
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
http://devapi.yoho.cn:58078/?debug=XYZ&app_version=3.8.2&client_type=android&os_version=yohobuy%3Ah5&screen_size=720x1280&v=7&method=app.recommend.popup&udid=7ce5433b0eb9b527599fd5ef319773bc2f5d94d8&uid=10961107
|
|
|
|
|
|
### 响应
|
|
|
code为200即为成功且只会返回200,每次都会有响应结果。
|
|
|
响应JSON格式如下所示:
|
|
|
```json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"product_list": [
|
|
|
{
|
|
|
"brand_domain": "5cm",
|
|
|
"brand_id": 4,
|
|
|
"brand_name": "5CM",
|
|
|
"cn_alphabet": "5CMPeiShi5CXTIT0603S66",
|
|
|
"default_images": "http://img12.static.yhbimg.com/goodsimg/2016/02/21/07/02d463c9f8945ad14f824e8ba35efb9555.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"edit_time": 1456119581,
|
|
|
"gender": "1",
|
|
|
"goods_list": [
|
|
|
{
|
|
|
"color_code": "333333",
|
|
|
"color_id": "2",
|
|
|
"color_name": "黑色",
|
|
|
"color_value": "",
|
|
|
"cover_1": "",
|
|
|
"cover_2": "",
|
|
|
"goods_id": "476153",
|
|
|
"images_url": "http://img12.static.yhbimg.com/goodsimg/2016/02/21/07/02d463c9f8945ad14f824e8ba35efb9555.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"is_default": "N",
|
|
|
"product_skc": "346702",
|
|
|
"status": "1"
|
|
|
}
|
|
|
],
|
|
|
"is_advance": "N",
|
|
|
"is_discount": "N",
|
|
|
"is_limited": "N",
|
|
|
"is_new": "Y",
|
|
|
"is_outlets": 2,
|
|
|
"is_promotion": 104,
|
|
|
"is_soon_sold_out": "N",
|
|
|
"is_special": "N",
|
|
|
"market_price": 359,
|
|
|
"max_sort_id": 8,
|
|
|
"middle_sort_id": 66,
|
|
|
"product_id": 373513,
|
|
|
"product_name": "5CM 字母印花领结",
|
|
|
"product_skn": 51206748,
|
|
|
"sales_num": 0,
|
|
|
"sales_phrase": "春潮新势力",
|
|
|
"sales_price": 359,
|
|
|
"shelve_time": 1457140500,
|
|
|
"small_sort_id": 77,
|
|
|
"status": 1,
|
|
|
"stock_number": 19,
|
|
|
"storage_num": 19,
|
|
|
"tags": [
|
|
|
"is_new"
|
|
|
],
|
|
|
"vip1_price": 341.05,
|
|
|
"vip2_price": 323.1,
|
|
|
"vip3_price": 315.92,
|
|
|
"vip_discount_type": 1,
|
|
|
"vip_price": 0
|
|
|
}
|
|
|
],
|
|
|
"rec_id": "00f185af-936a-4053-97f8-1c802cb91e8b"
|
|
|
},
|
|
|
"md5": "ace93d0f598db0bebec30234381c0cbf",
|
|
|
"message": "Product List."
|
|
|
}
|
|
|
```
|
|
|
|
|
|
|
|
|
## 20、根据店铺销售类目进行筛选商品列表##
|
|
|
|
|
|
(method=app.search.pool)
|
|
|
请求方式:POST
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|yh_channel|String|是|1|null|频道(1或2)|
|
|
|
|limit|int|是|2|20|每页显示条数|
|
|
|
|page|int|是|1|1|第几页|
|
|
|
|gender|String|是|2|null|性别(1或2)|
|
|
|
|productPool|String|是|null|null|商品池|
|
|
|
|app_version|String|是|null|4.9.2.1609120001|版本号|
|
|
|
|sort|String|是|null|null|分类的Id|
|
|
|
|order|String|是|s_t_desc|s_s_desc,s_n_desc|排序类型|
|
|
|
|p_d|String|是|0.7|null|促销折扣浮点值如0.7|
|
|
|
|color|String|是|null|null|颜色ID(多个以逗号分隔)|
|
|
|
|shop_id|String|是|null|null|店铺ID(多个以逗号分隔)|
|
|
|
|brand|String|是|null|null|品牌ID(多个以逗号分隔)|
|
|
|
|price|String|是|null|null|价格区间,起始价格以逗号分隔,如查询300-600元“price=300,600”|
|
|
|
|size|String|是|null|null|尺寸ID(多个以逗号分隔)|
|
|
|
|msort|String|是|null|null|产品大分类Id|
|
|
|
|misort|String|是|null|null|产品中分类Id|
|
|
|
|standard|String|是|null|null|规格|
|
|
|
|categoryId|String|是|11|null|运营二级分类ID|
|
|
|
|subCategoryId|String|是|119|null|运营三级分类ID|
|
|
|
|age_level|String|是|null|null|年龄层|
|
|
|
|outlets|int|是|null|null|outlets=1 奥莱商品 outlets=2非奥莱商品|
|
|
|
|client_type|String|是|iphone|null|客户端类型|
|
|
|
|need_filter|String|是|null|null|是否需要查询过滤条件|
|
|
|
|app_type|int|是|null|0|客户端类型 0:有货 1:BLK|
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
|
|
|
### 响应
|
|
|
code为200即为成功且只会返回200,每次都会有响应结果。
|
|
|
响应JSON格式如下所示:
|
|
|
|
|
|
|
|
|
## 21、品牌一览表功能(4.5版本)##
|
|
|
|
|
|
(method=app.brand.newBrandList)
|
|
|
请求方式:POST
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|yh_channel|String|是|3|null|频道(1或2)|
|
|
|
|app_type|int|是|0|0|客户端类型 0:有货 1:BLK|
|
|
|
|gender|String|是|2|null|性别(1或2)|
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
http://54.223.45.120/?app_version=5.0.0.1609300001&client_secret=fefb83ae1df92ba70de6e7675fef14cd&client_type=iphone&fromPage=iFP_Brand&method=app.brand.newBrandList&os_version=10.0.2&screen_size=375x667&v=7&yh_channel=3
|
|
|
|
|
|
### 响应
|
|
|
code为200即为成功且只会返回200,每次都会有响应结果。
|
|
|
响应JSON格式如下所示:
|
|
|
```json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"all_list": {
|
|
|
"A": [
|
|
|
{
|
|
|
"brand_alif": "A",
|
|
|
"brand_ico": "http://img10.static.yhbimg.com/brandLogo/2015/08/31/15/01281f633cb04293ecbff5b5c9b7f1a16e.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70",
|
|
|
"brand_name": "AMES BROS",
|
|
|
"brand_keyword": "AMES BROS,高街童装,街头童装,童装",
|
|
|
"type": "0",
|
|
|
"brand_name_en": "AMES BROS",
|
|
|
"brand_name_cn": "",
|
|
|
"hot_keyword": "童装 潮流 高街 街头",
|
|
|
"shelves_brand_time": 1465797231,
|
|
|
"is_show_new": "N",
|
|
|
"brand_domain": "amesbros",
|
|
|
"is_hot": "N",
|
|
|
"id": 907
|
|
|
},
|
|
|
{
|
|
|
"brand_alif": "A",
|
|
|
"brand_ico": "http://img11.static.yhbimg.com/brandLogo/2015/11/13/10/019f4b53186ddd49eca1d9cde87b29e995.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70",
|
|
|
"brand_name": "Am&ot",
|
|
|
"brand_keyword": "童装,可爱",
|
|
|
"type": "0",
|
|
|
"brand_name_en": "Am&ot",
|
|
|
"brand_name_cn": "",
|
|
|
"hot_keyword": "优雅的意大利风格,强调非凡的舒适感,流露出天真帅气的儿童魅力,",
|
|
|
"shelves_brand_time": 1475906019,
|
|
|
"is_show_new": "Y",
|
|
|
"brand_domain": "amot",
|
|
|
"is_hot": "Y",
|
|
|
"id": 888
|
|
|
}
|
|
|
],
|
|
|
"B": [
|
|
|
{
|
|
|
"brand_alif": "B",
|
|
|
"brand_ico": "http://img13.static.yhbimg.com/brandLogo/2016/01/18/10/02ee59338cae8810ff909c5abfbca0da96.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70",
|
|
|
"brand_name": "BABAMA",
|
|
|
"brand_keyword": "美式,轻潮,男包",
|
|
|
"type": "0",
|
|
|
"brand_name_en": "",
|
|
|
"brand_name_cn": "",
|
|
|
"hot_keyword": "美式轻潮男包",
|
|
|
"shelves_brand_time": 1453082341,
|
|
|
"is_show_new": "N",
|
|
|
"brand_domain": "babama",
|
|
|
"is_hot": "Y",
|
|
|
"id": 1355
|
|
|
},
|
|
|
{
|
|
|
"brand_alif": "B",
|
|
|
"brand_ico": "http://img13.static.yhbimg.com/brandLogo/2016/01/11/15/02ba807ea01dc5fe56e69e173ed62313e5.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70",
|
|
|
"brand_name": "babyONE",
|
|
|
"brand_keyword": "童装,亲子,雨衣,泳衣",
|
|
|
"type": "0",
|
|
|
"brand_name_en": "babyONE",
|
|
|
"brand_name_cn": "",
|
|
|
"hot_keyword": "",
|
|
|
"shelves_brand_time": 1473817409,
|
|
|
"is_show_new": "N",
|
|
|
"brand_domain": "babyone",
|
|
|
"is_hot": "Y",
|
|
|
"id": 1402
|
|
|
},
|
|
|
{
|
|
|
"brand_alif": "B",
|
|
|
"brand_ico": "http://img10.static.yhbimg.com/brandLogo/2015/09/29/17/0173fd258619dc31c9a659b5be0507eeb1.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70",
|
|
|
"brand_name": "B+ by Beautyberry",
|
|
|
"brand_keyword": "T恤,背心,休闲裤,短裤",
|
|
|
"type": "0",
|
|
|
"brand_name_en": "B+ by Beautyberry",
|
|
|
"brand_name_cn": "",
|
|
|
"hot_keyword": "B+ by Beautyberry",
|
|
|
"shelves_brand_time": 1448608361,
|
|
|
"is_show_new": "N",
|
|
|
"brand_domain": "beautyberry",
|
|
|
"is_hot": "N",
|
|
|
"id": 980
|
|
|
},
|
|
|
{
|
|
|
"hot_keyword": "B.Duck生活,家具",
|
|
|
"is_show_new": "N",
|
|
|
"brand_domain": "b-duck",
|
|
|
"brand_alif": "B",
|
|
|
"is_hot": "N",
|
|
|
"brand_ico": "http://img13.static.yhbimg.com/brandLogo/2012/02/28/15/02b2b5ded161ab31e2e097a327ed475052.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70",
|
|
|
"brand_name": "B.Duck",
|
|
|
"id": 246,
|
|
|
"brand_keyword": "B.Duck,香港鸭子,萌鸭,鸭子,小黄鸭,iphone case,收纳包,保温杯,手机绳",
|
|
|
"type": "0",
|
|
|
"brand_name_en": "B.Duck",
|
|
|
"brand_name_cn": ""
|
|
|
},
|
|
|
{
|
|
|
"brand_alif": "B",
|
|
|
"brand_ico": "http://img11.static.yhbimg.com/brandLogo/2015/04/30/16/01534ccbe9e2853776da07e966499b5c54.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70",
|
|
|
"brand_name": "Bearburry",
|
|
|
"brand_keyword": "",
|
|
|
"type": "2",
|
|
|
"brand_name_en": "Bearburry",
|
|
|
"shop_template_type": "2",
|
|
|
"brand_name_cn": "",
|
|
|
"hot_keyword": "",
|
|
|
"is_show_new": "N",
|
|
|
"brand_domain": "bearburry",
|
|
|
"shop_id": 1572,
|
|
|
"is_hot": "Y",
|
|
|
"id": 701
|
|
|
},
|
|
|
{
|
|
|
"brand_alif": "B",
|
|
|
"brand_ico": "http://img11.static.yhbimg.com/brandLogo/2016/05/30/15/0160b278a32ce8b01412c63634c5355949.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70",
|
|
|
"brand_name": "Boogie Bear",
|
|
|
"brand_keyword": "",
|
|
|
"type": "0",
|
|
|
"brand_name_en": "Boogie Bear",
|
|
|
"brand_name_cn": "卜吉熊",
|
|
|
"hot_keyword": "",
|
|
|
"shelves_brand_time": 1472813056,
|
|
|
"is_show_new": "N",
|
|
|
"brand_domain": "boogiebear",
|
|
|
"is_hot": "N",
|
|
|
"id": 1970
|
|
|
}
|
|
|
],
|
|
|
"C": [
|
|
|
{
|
|
|
"brand_alif": "C",
|
|
|
"brand_ico": "http://img13.static.yhbimg.com/brandLogo/2016/05/26/15/02d5f8c3a158820964f42391a87c38e63e.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70",
|
|
|
"brand_name": "CEYE kids",
|
|
|
"brand_keyword": "CEYE kids,女童,熙颐",
|
|
|
"type": "0",
|
|
|
"brand_name_en": "CEYE kids",
|
|
|
"brand_name_cn": "熙颐",
|
|
|
"hot_keyword": "",
|
|
|
"shelves_brand_time": 1466740072,
|
|
|
"is_show_new": "N",
|
|
|
"brand_domain": "ceyekids",
|
|
|
"is_hot": "N",
|
|
|
"id": 1882
|
|
|
},
|
|
|
{
|
|
|
"brand_alif": "C",
|
|
|
"brand_ico": "http://img13.static.yhbimg.com/brandLogo/2015/12/07/17/02473a3b71e186d79e99f22dce415345ef.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70",
|
|
|
"brand_name": ":CHOCOOLATE",
|
|
|
"brand_keyword": "",
|
|
|
"type": "0",
|
|
|
"brand_name_en": ":CHOCOOLATE",
|
|
|
"brand_name_cn": "巧克力",
|
|
|
"hot_keyword": "",
|
|
|
"shelves_brand_time": 1470390575,
|
|
|
"is_show_new": "N",
|
|
|
"brand_domain": "chocoolate",
|
|
|
"is_hot": "Y",
|
|
|
"id": 342
|
|
|
},
|
|
|
{
|
|
|
"brand_alif": "C",
|
|
|
"brand_ico": "http://img12.static.yhbimg.com/brandLogo/2015/11/17/16/025f16354b64b9b884a238fe775f73b232.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70",
|
|
|
"brand_name": "CHUMS",
|
|
|
"brand_keyword": "快乐,乐趣,品质",
|
|
|
"type": "0",
|
|
|
"brand_name_en": "CHUMS",
|
|
|
"brand_name_cn": "",
|
|
|
"hot_keyword": "",
|
|
|
"shelves_brand_time": 1472812346,
|
|
|
"is_show_new": "N",
|
|
|
"brand_domain": "chums",
|
|
|
"is_hot": "N",
|
|
|
"id": 832
|
|
|
},
|
|
|
{
|
|
|
"hot_keyword": "",
|
|
|
"is_show_new": "N",
|
|
|
"brand_domain": "chuyukids",
|
|
|
"brand_alif": "C",
|
|
|
"is_hot": "Y",
|
|
|
"brand_ico": "http://img10.static.yhbimg.com/brandLogo/2015/09/16/09/01c256e5e5305440410c47a35497b0e48c.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70",
|
|
|
"brand_name": "初语kids",
|
|
|
"id": 945,
|
|
|
"brand_keyword": "",
|
|
|
"type": "0",
|
|
|
"brand_name_en": "",
|
|
|
"brand_name_cn": "初语童装"
|
|
|
},
|
|
|
{
|
|
|
"brand_alif": "C",
|
|
|
"brand_ico": "http://img12.static.yhbimg.com/brandLogo/2016/04/05/18/026d91733484dc8003691d8762b3069ebd.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70",
|
|
|
"brand_name": "初左",
|
|
|
"brand_keyword": "初左,女童,chuzuo",
|
|
|
"type": "0",
|
|
|
"brand_name_en": "chuzuo",
|
|
|
"brand_name_cn": "",
|
|
|
"hot_keyword": "",
|
|
|
"shelves_brand_time": 1462244654,
|
|
|
"is_show_new": "N",
|
|
|
"brand_domain": "chuzuo",
|
|
|
"is_hot": "N",
|
|
|
"id": 1640
|
|
|
},
|
|
|
{
|
|
|
"brand_alif": "C",
|
|
|
"brand_ico": "http://img10.static.yhbimg.com/brandLogo/2016/05/26/18/01ae73d238b221f92965e39dc6699da554.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70",
|
|
|
"brand_name": "Coastal Vision镜宴",
|
|
|
"brand_keyword": "Coastal Vision镜宴,太阳镜,光学眼镜",
|
|
|
"type": "0",
|
|
|
"brand_name_en": "Coastal Vision",
|
|
|
"brand_name_cn": "镜宴",
|
|
|
"hot_keyword": "Coastal Vision镜宴",
|
|
|
"shelves_brand_time": 1469788417,
|
|
|
"is_show_new": "N",
|
|
|
"brand_domain": "coastalvision",
|
|
|
"is_hot": "N",
|
|
|
"id": 1870
|
|
|
},
|
|
|
{
|
|
|
"hot_keyword": "",
|
|
|
"is_show_new": "N",
|
|
|
"brand_domain": "creamsoda",
|
|
|
"brand_alif": "C",
|
|
|
"is_hot": "N",
|
|
|
"brand_ico": "http://img10.static.yhbimg.com/brandLogo/2016/02/22/16/01b05bb838b5ac7cb49cfb913f7b88523b.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70",
|
|
|
"brand_name": "Creamsoda",
|
|
|
"id": 235,
|
|
|
"brand_keyword": "Creamsoda",
|
|
|
"type": "0",
|
|
|
"brand_name_en": "Creamsoda",
|
|
|
"brand_name_cn": "奶油苏打"
|
|
|
}
|
|
|
],
|
|
|
|
|
|
"X": [
|
|
|
{
|
|
|
"hot_keyword": "简约 童装 法式 浪漫 可爱",
|
|
|
"is_show_new": "N",
|
|
|
"brand_domain": "xsnn",
|
|
|
"brand_alif": "X",
|
|
|
"is_hot": "N",
|
|
|
"brand_ico": "http://img13.static.yhbimg.com/brandLogo/2015/07/09/17/0257ab1815252fba3a632f92a0d88e2db3.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70",
|
|
|
"brand_name": "香水娜娜",
|
|
|
"id": 784,
|
|
|
"brand_keyword": "简约,可爱,潮流",
|
|
|
"type": "0",
|
|
|
"brand_name_en": "Perfume Nana",
|
|
|
"brand_name_cn": "香水娜娜"
|
|
|
},
|
|
|
{
|
|
|
"brand_alif": "X",
|
|
|
"brand_ico": "http://img12.static.yhbimg.com/brandLogo/2016/01/21/08/02fd23ea5334ddbf196f65417fab29d2e7.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70",
|
|
|
"brand_name": "小淑女与约翰",
|
|
|
"brand_keyword": "",
|
|
|
"type": "0",
|
|
|
"brand_name_en": "little fairy&john",
|
|
|
"brand_name_cn": "小淑女与约翰",
|
|
|
"hot_keyword": "",
|
|
|
"shelves_brand_time": 1470984503,
|
|
|
"is_show_new": "N",
|
|
|
"brand_domain": "xiaoshunvyuyuehan",
|
|
|
"is_hot": "N",
|
|
|
"id": 1439
|
|
|
},
|
|
|
{
|
|
|
"brand_alif": "X",
|
|
|
"brand_ico": "http://img11.static.yhbimg.com/brandLogo/2015/11/30/11/0103330bef027d94f57037168dc1004de6.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70",
|
|
|
"brand_name": "熊家优品",
|
|
|
"brand_keyword": "杜海涛,熊先生,快乐大本营,明星,家居",
|
|
|
"type": "0",
|
|
|
"brand_name_en": "",
|
|
|
"brand_name_cn": "",
|
|
|
"hot_keyword": "杜海涛 快乐大本营 明星 家居 熊先生",
|
|
|
"shelves_brand_time": 1449645393,
|
|
|
"is_show_new": "N",
|
|
|
"brand_domain": "chinamrbear",
|
|
|
"is_hot": "N",
|
|
|
"id": 1106
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
"new_list": [
|
|
|
{
|
|
|
"hot_keyword": "优雅的意大利风格,强调非凡的舒适感,流露出天真帅气的儿童魅力,",
|
|
|
"shelves_brand_time": 1475906019,
|
|
|
"brand_domain": "amot",
|
|
|
"brand_alif": "A",
|
|
|
"is_hot": "Y",
|
|
|
"brand_ico": "http://img11.static.yhbimg.com/brandLogo/2015/11/13/10/019f4b53186ddd49eca1d9cde87b29e995.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70",
|
|
|
"brand_name": "Am&ot",
|
|
|
"id": 888,
|
|
|
"brand_keyword": "童装,可爱",
|
|
|
"type": "0",
|
|
|
"brand_name_en": "Am&ot",
|
|
|
"brand_name_cn": ""
|
|
|
},
|
|
|
|
|
|
{
|
|
|
"hot_keyword": "",
|
|
|
"shelves_brand_time": 1475904816,
|
|
|
"brand_domain": "mummeetme",
|
|
|
"brand_alif": "M",
|
|
|
"is_hot": "Y",
|
|
|
"brand_ico": "http://img11.static.yhbimg.com/brandLogo/2016/08/23/15/01d9e5a304e84f27299d469a4ac741bca4.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70",
|
|
|
"brand_name": "MUMMEETME",
|
|
|
"id": 2558,
|
|
|
"brand_keyword": "",
|
|
|
"type": "0",
|
|
|
"brand_name_en": "MUMMEETME",
|
|
|
"brand_name_cn": "MUMMEETME"
|
|
|
}
|
|
|
],
|
|
|
"hot_list": [
|
|
|
{
|
|
|
"brand_alif": "A",
|
|
|
"brand_ico": "http://img11.static.yhbimg.com/brandLogo/2015/11/13/10/019f4b53186ddd49eca1d9cde87b29e995.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70",
|
|
|
"brand_name": "Am&ot",
|
|
|
"brand_keyword": "童装,可爱",
|
|
|
"type": "0",
|
|
|
"brand_name_en": "Am&ot",
|
|
|
"brand_name_cn": "",
|
|
|
"hot_keyword": "优雅的意大利风格,强调非凡的舒适感,流露出天真帅气的儿童魅力,",
|
|
|
"shelves_brand_time": 1475906019,
|
|
|
"is_show_new": "Y",
|
|
|
"brand_domain": "amot",
|
|
|
"is_hot": "Y",
|
|
|
"id": 888
|
|
|
},
|
|
|
|
|
|
{
|
|
|
"brand_alif": "T",
|
|
|
"brand_ico": "http://img13.static.yhbimg.com/brandLogo/2015/12/07/10/02c11ab89b90ad104a080efc17310836a0.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70",
|
|
|
"brand_name": "TYAKASHA",
|
|
|
"brand_keyword": "tyakasha,服装,",
|
|
|
"type": "2",
|
|
|
"brand_name_en": "TYAKASHA",
|
|
|
"shop_template_type": "2",
|
|
|
"brand_name_cn": "塔卡沙",
|
|
|
"hot_keyword": "tyakasha",
|
|
|
"shelves_brand_time": 1474890862,
|
|
|
"is_show_new": "N",
|
|
|
"brand_domain": "tyakasha",
|
|
|
"shop_id": 1496,
|
|
|
"is_hot": "Y",
|
|
|
"id": 141
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
"message": "success"
|
|
|
}
|
|
|
```
|
|
|
|
|
|
|
|
|
## 22、根据店铺搜索店铺下具体的商品,单品店根据品牌搜索商品列表,多品店根据shop搜索商品列表##
|
|
|
|
|
|
(method=app.search.shop)
|
|
|
请求方式:POST
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|yh_channel|String|是|1|null|频道(1或2)|
|
|
|
|shop_id|String|是|null|null|店铺ID(多个以逗号分隔)|
|
|
|
|order|String|是|s_t_desc|s_s_desc,s_n_desc|排序类型|
|
|
|
|limit|int|是|2|20|每页显示条数|
|
|
|
|page|int|是|1|1|第几页|
|
|
|
|gender|String|是|2|null|性别(1或2)|
|
|
|
|color|String|是|null|null|颜色ID(多个以逗号分隔)|
|
|
|
|price|String|是|null|null|价格区间,起始价格以逗号分隔,如查询300-600元“price=300,600”|
|
|
|
|size|String|是|null|null|尺寸ID(多个以逗号分隔)|
|
|
|
|p_d|String|是|0.7|null|促销折扣浮点值如0.7|
|
|
|
|sort|String|是|null|null|分类的Id|
|
|
|
|tags_filter|Integer|否|0-2|0|0|过滤标签|
|
|
|
|age_level|String|是|null|null|年龄层|
|
|
|
|app_version|String|是|null|4.9.2.1609120001|版本号|
|
|
|
|client_type|String|是|iphone|null|客户端类型|
|
|
|
|need_filter|String|是|null|null|是否需要查询过滤条件|
|
|
|
|app_type|int|是|null|0|客户端类型 0:有货 1:BLK|
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
|
|
|
### 响应
|
|
|
code为200即为成功且只会返回200,每次都会有响应结果。
|
|
|
响应JSON格式如下所示:
|
|
|
|
|
|
|
|
|
|
|
|
## 23、查询所有的分类列表##
|
|
|
|
|
|
(method=app.sort.get)
|
|
|
请求方式:POST
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|app_type|int|是|null|0|客户端类型 0:有货 1:BLK|
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
|
|
|
### 响应
|
|
|
code为200即为成功且只会返回200,每次都会有响应结果。
|
|
|
响应JSON格式如下所示:
|
|
|
|
|
|
|
|
|
|
|
|
## 24、搜索建议##
|
|
|
|
|
|
(method=app.search.fuzzy)
|
|
|
请求方式:POST
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|keyword|int|否|阿迪|null|关键词 如果为空或非0则返回“关键词不能为空”的提示|
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
http://54.222.221.243/?app_version=5.0.0.1609300001&client_secret=42d2a475df3219aa7712e9b969e2faa3&client_type=iphone&fromPage=iFP_SearchProList&keyword=%E9%98%BF%E8%BF%AA&method=app.search.fuzzy&os_version=10.0.2&screen_size=375x667&uid=15545752&v=7
|
|
|
|
|
|
### 响应
|
|
|
code为200即为成功且只会返回200,每次都会有响应结果。
|
|
|
响应JSON格式如下所示:
|
|
|
```json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": [
|
|
|
{
|
|
|
"count": 216,
|
|
|
"keyword": "阿迪达斯"
|
|
|
},
|
|
|
{
|
|
|
"count": 216,
|
|
|
"keyword": "阿迪"
|
|
|
},
|
|
|
{
|
|
|
"count": 199,
|
|
|
"keyword": "阿迪达斯三叶草"
|
|
|
},
|
|
|
{
|
|
|
"count": 128,
|
|
|
"keyword": "阿迪达斯男"
|
|
|
},
|
|
|
{
|
|
|
"count": 117,
|
|
|
"keyword": "阿迪达斯女"
|
|
|
},
|
|
|
{
|
|
|
"count": 16,
|
|
|
"keyword": "阿迪达斯手表"
|
|
|
},
|
|
|
{
|
|
|
"count": 199,
|
|
|
"keyword": "阿迪三叶草"
|
|
|
},
|
|
|
{
|
|
|
"count": 117,
|
|
|
"keyword": "阿迪达斯女子"
|
|
|
},
|
|
|
{
|
|
|
"count": 117,
|
|
|
"keyword": "阿迪女"
|
|
|
},
|
|
|
{
|
|
|
"count": 128,
|
|
|
"keyword": "阿迪达斯男子"
|
|
|
}
|
|
|
],
|
|
|
"md5": "2020cb0dba6480501bf9cbff799026a5",
|
|
|
"message": "fuzzy search list"
|
|
|
}
|
|
|
```
|
|
|
|
|
|
|
|
|
## 25、获取店铺下的二级品类列表##
|
|
|
|
|
|
(method=app.shop.getSortInfo)
|
|
|
请求方式:GET
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|shop_id|int|否|null|null|店铺ID|
|
|
|
|yh_channel|int|是|null|1|频道(1或2)|
|
|
|
|gender|String|是|null|null|性别(1或2)|
|
|
|
|app_type|int|是|null|0|客户端类型 0:有货 1:BLK|
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
|
|
|
### 响应
|
|
|
code为200即为成功且只会返回200,每次都会有响应结果。
|
|
|
响应JSON格式如下所示:
|
|
|
|
|
|
|
|
|
## 26、学生专享商品列表(60个)##
|
|
|
|
|
|
(method=app.student.vip)
|
|
|
请求方式:GET
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|limit|int|是|20|60|每页显示条数|
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
|
|
|
### 响应
|
|
|
code为200即为成功且只会返回200,每次都会有响应结果。
|
|
|
响应JSON格式如下所示:
|
|
|
|
|
|
|
|
|
|
|
|
## 27、获取所有折扣类型为1的商品,并计算好学生价返回##
|
|
|
|
|
|
(method=app.student.discount)
|
|
|
请求方式:GET
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|query|String|是|null|null|关键字|
|
|
|
|limit|int|是|2|20|每页显示条数|
|
|
|
|page|int|是|1|1|第几页|
|
|
|
|order|String|是|s_t_desc|s_s_desc,s_n_desc|排序类型|
|
|
|
|msort|String|是|null|null|产品大分类Id|
|
|
|
|misort|String|是|null|null|产品中分类Id|
|
|
|
|gender|String|是|2|null|性别 1-男 2-女 3-通用|
|
|
|
|brand|String|是|null|null|品牌ID(多个以逗号分隔)|
|
|
|
|price|String|是|null|null|价格区间,起始价格以逗号分隔,如查询300-600元“price=300,600”|
|
|
|
|size|String|是|null|null|尺寸ID(多个以逗号分隔)|
|
|
|
|sort|String|是|null|null|查询小分类ID,查多个小类以逗号分隔|
|
|
|
|color|String|是|null|null|颜色ID(多个以逗号分隔)|
|
|
|
|p_d|String|是|0.7|null|促销折扣浮点值如0.7|
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
|
|
|
### 响应
|
|
|
code为200即为成功且只会返回200,每次都会有响应结果。
|
|
|
响应JSON格式如下所示:
|
|
|
|
|
|
|
|
|
## 28、热卖排行榜top100##
|
|
|
|
|
|
(method=app.search.top)
|
|
|
请求方式:GET
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|yh_channel|String|是|1|null|频道(1或2)|
|
|
|
|limit|int|是|20|50|每页显示条数|
|
|
|
|page|int|是|1|1|第几页|
|
|
|
|tab_id|String|是|null|null||
|
|
|
|sort|String|是|null|null|查询小分类ID,查多个小类以逗号分隔|
|
|
|
|client_type|String|是|iphone|null|客户端类型|
|
|
|
|gender|String|是|2|null|性别 1-男 2-女 3-通用|
|
|
|
|app_version|String|是|null|4.9.2.1609120001|版本号|
|
|
|
|need_filter|String|是|null|null|是否需要查询过滤条件|
|
|
|
|app_type|int|是|null|0|客户端类型 0:有货 1:BLK|
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
|
|
|
|
|
### 响应
|
|
|
code为200即为成功且只会返回200,每次都会有响应结果。
|
|
|
响应JSON格式如下所示: |
|
|
\ No newline at end of file |
...
|
...
|
|