Authored by liyalin

product 商品详情页 gateway search 接口文档整理

... ... @@ -767,1094 +767,3 @@ code为200即为成功且只会返回200,每次都会有响应结果。
## 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,每次都会有响应结果。
## 26、学生专享商品列表(60个)##
(method=app.student.vip)
请求方式:GET
#### 请求参数
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|:-------| -----:|-----:|-----:|-----:|----:|
|limit|int|是|20|60|每页显示条数|
注意,通用的头部没有列出。
请求示例
### 响应
code为200即为成功且只会返回200,每次都会有响应结果。
## 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,每次都会有响应结果。
## 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,每次都会有响应结果。
... ...