...
|
...
|
@@ -2322,35 +2322,156 @@ code为200即为成功且只会返回200,每次都会有响应结果。 |
|
|
#### 参看: http://git.dev.yoho.cn/yoho-documents/api-interfaces/blob/master/%E5%95%86%E5%93%81%E5%88%97%E8%A1%A8/product.md
|
|
|
|
|
|
|
|
|
## 5、奥莱潮品速递的商品列表(app.search.trend) ,按照库存+销量由高到低排序(order=storageNum:desc,sales_num:desc),过滤无货商品(stocknumber=1),固定30个
|
|
|
## 5、奥莱潮品速递的商品列表(app.search.trend)
|
|
|
### 按照库存+销量由高到低排序(order=storageNum:desc,sales_num:desc),过滤无货商品(stocknumber=1),固定30个
|
|
|
|
|
|
#### 请求参数
|
|
|
| 名称 | 类型 | 是否必须 | 示例值 | 默认值 | 描述 |
|
|
|
| :-- | :-- | :-- | :-- | :-- | :-- |
|
|
|
| method | String |是 | app.search.trend| |请求方法|
|
|
|
| limit | int | 否 | 30 ||每页展示条数,默认10条|
|
|
|
| sort | String | 否 | "116,117,115,119,124,122,413,258,173,227,125,118,121,123,114,293" ||查询小分类ID,查多个小类以逗号分隔|
|
|
|
| page | int | 否 | 1 ||当前页|
|
|
|
| yh_channel | String | 否 | "1" ||频道|
|
|
|
| order | String | 否 | "s_t_desc" ||排序信息 |
|
|
|
| p_d | String | 否 | "0.7" ||打折区间,以逗号分隔|
|
|
|
| color | String | 否 | "145" ||颜色ID|
|
|
|
| brand | String | 否 | "125" ||品牌ID|
|
|
|
| shop | String | 否 | "155" ||店铺ID|
|
|
|
| price | String | 否 | "300,600" ||价格区间,以逗号分隔|
|
|
|
| size | String | 否 | "16,17" ||尺寸ID,以逗号分隔|
|
|
|
| msort | String | 否 | "95" ||产品大分类ID|
|
|
|
| misort | String | 否 | "918" ||产品中分类ID|
|
|
|
| standard | String[] | 否 | standard=13&standard=25 ||规格|
|
|
|
| categoryId | String | 否 | "5" ||运营二级分类ID|
|
|
|
| subCategoryId | String | 否 | "45" || 运营三级分类ID|
|
|
|
| order | String | 否 | "s_s_desc,s_n_desc" ||排序信息 |
|
|
|
| gender | String | 否 | "1,3" ||性别,以逗号分隔|
|
|
|
| stocknumber | int | 否 | 1 ||“stocknumber=1”,则过滤出库存量>=1的商品|
|
|
|
| limit | int | 否 | 30 ||每页展示条数,默认10条|
|
|
|
| outlets | int | 否 | 1 ||outlets=1 奥莱商品 outlets=2非奥莱商品|
|
|
|
|
|
|
|
|
|
#### 注意:与以前方式兼容,如果筛选奥莱,只需增加outlets=1的请求参数
|
|
|
|
|
|
### 响应
|
|
|
code为200即为成功且只会返回200,每次都会有响应结果。
|
|
|
响应JSON格式如下所示:
|
|
|
```json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"page": 1,
|
|
|
"page_total": 1,
|
|
|
"product_list": [
|
|
|
{
|
|
|
"brand_domain": "clottee",
|
|
|
"brand_id": 518,
|
|
|
"brand_name": "CLOTtee",
|
|
|
"cn_alphabet": "CLA503OJ34ChongFengYi",
|
|
|
"default_images": "http://img11.static.yhbimg.com/goodsimg/2015/09/30/08/01d2be5e9d6a18d8958484fede5af853bd.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"edit_time": 1452654408,
|
|
|
"gender": "1",
|
|
|
"goods_list": [
|
|
|
{
|
|
|
"color_code": "333333",
|
|
|
"color_id": "2",
|
|
|
"color_name": "黑色",
|
|
|
"color_value": "",
|
|
|
"cover_1": "",
|
|
|
"cover_2": "",
|
|
|
"goods_id": "314411",
|
|
|
"images_url": "http://img11.static.yhbimg.com/goodsimg/2015/09/30/08/01d2be5e9d6a18d8958484fede5af853bd.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"is_default": "N",
|
|
|
"product_skc": "258548",
|
|
|
"status": "1"
|
|
|
}
|
|
|
],
|
|
|
"is_advance": "N",
|
|
|
"is_discount": "Y",
|
|
|
"is_limited": "N",
|
|
|
"is_new": "N",
|
|
|
"is_outlets": 1,
|
|
|
"is_promotion": 101,
|
|
|
"is_soon_sold_out": "N",
|
|
|
"is_special": "N",
|
|
|
"market_price": 699,
|
|
|
"max_sort_id": 1,
|
|
|
"middle_sort_id": 226,
|
|
|
"product_id": 239715,
|
|
|
"product_name": "CLOTtee camouflage Printing Coat Tech Jacket",
|
|
|
"product_skn": 51134695,
|
|
|
"sales_num": 2,
|
|
|
"sales_phrase": "",
|
|
|
"sales_price": 139,
|
|
|
"shelve_time": 1452654408,
|
|
|
"small_sort_id": 227,
|
|
|
"status": 1,
|
|
|
"stock_number": 765,
|
|
|
"storage_num": 765,
|
|
|
"tags": [
|
|
|
"is_discount"
|
|
|
],
|
|
|
"vip1_price": 132.04999999999998,
|
|
|
"vip2_price": 125.10000000000001,
|
|
|
"vip3_price": 122.32000000000001,
|
|
|
"vip_discount_type": 3,
|
|
|
"vip_price": 0
|
|
|
},
|
|
|
{
|
|
|
"brand_domain": "lhouse",
|
|
|
"brand_id": 72,
|
|
|
"brand_name": "L-HOUSE",
|
|
|
"cn_alphabet": "LHOUSEA308XiangJiLPANTXu",
|
|
|
"default_images": "http://img12.static.yhbimg.com/goodsimg/2013/05/09/15/023d3a7e390c20c471978c847600399ba8.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"edit_time": 1395997048,
|
|
|
"gender": "1",
|
|
|
"goods_list": [
|
|
|
{
|
|
|
"color_code": "FFFFFF",
|
|
|
"color_id": "1",
|
|
|
"color_name": "白",
|
|
|
"color_value": "",
|
|
|
"cover_1": "",
|
|
|
"cover_2": "",
|
|
|
"goods_id": "59474",
|
|
|
"images_url": "http://img12.static.yhbimg.com/goodsimg/2013/05/09/15/023d3a7e390c20c471978c847600399ba8.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"is_default": "Y",
|
|
|
"product_skc": "96567",
|
|
|
"status": "1"
|
|
|
},
|
|
|
{
|
|
|
"color_code": "0000fe",
|
|
|
"color_id": "7",
|
|
|
"color_name": "蓝",
|
|
|
"color_value": "",
|
|
|
"cover_1": "",
|
|
|
"cover_2": "",
|
|
|
"goods_id": "59475",
|
|
|
"images_url": "http://img11.static.yhbimg.com/goodsimg/2013/05/09/16/0102c226f7faa1274e05cc038dc3c29f9f.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
|
|
|
"is_default": "N",
|
|
|
"product_skc": "96568",
|
|
|
"status": "1"
|
|
|
}
|
|
|
],
|
|
|
"is_advance": "N",
|
|
|
"is_discount": "N",
|
|
|
"is_limited": "N",
|
|
|
"is_new": "N",
|
|
|
"is_outlets": 1,
|
|
|
"is_promotion": 0,
|
|
|
"is_soon_sold_out": "Y",
|
|
|
"is_special": "N",
|
|
|
"market_price": 148,
|
|
|
"max_sort_id": 1,
|
|
|
"middle_sort_id": 11,
|
|
|
"product_id": 38518,
|
|
|
"product_name": "L-HOUSE 相机LPAN T恤",
|
|
|
"product_skn": 51009846,
|
|
|
"sales_num": 65,
|
|
|
"sales_price": 148,
|
|
|
"shelve_time": 1395997048,
|
|
|
"small_sort_id": 114,
|
|
|
"status": 1,
|
|
|
"stock_number": 2,
|
|
|
"storage_num": 2,
|
|
|
"tags": [
|
|
|
"is_soon_sold_out"
|
|
|
],
|
|
|
"vip1_price": 140.6,
|
|
|
"vip2_price": 133.20000000000002,
|
|
|
"vip3_price": 130.24,
|
|
|
"vip_discount_type": 3,
|
|
|
"vip_price": 0
|
|
|
}
|
|
|
],
|
|
|
"total": 2
|
|
|
},
|
|
|
"md5": "9031c46086142121fb952269af79ee8c",
|
|
|
"message": "outlets trend courier product list"
|
|
|
}
|
|
|
``` |
|
|
\ No newline at end of file |
...
|
...
|
|