高佣联盟

高佣联盟


各平台的搜索接口---李辉

<p><strong>简要描述:</strong> </p> <ul> <li>各平台的搜索接口</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://dk.gaoyong666.com/gylm/search/v1/goods</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST </li> </ul> <p><strong>参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">classtype</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>1,拼多多 ;2,京东;3,淘宝;6,苏宁 ;7,唯品会</td> </tr> <tr> <td style="text-align: left;">keyword</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>搜索关键词</td> </tr> <tr> <td style="text-align: left;">userId</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>用户uid</td> </tr> <tr> <td style="text-align: left;">userType</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>用户类型 1分公司 8总监 9超级会员</td> </tr> <tr> <td style="text-align: left;">sortType</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>默认all // all综合排序 sales_desc销量降序 price_desc价格降序 price_asc价格升序 rate_desc佣金比例降序 rate_asc佣金比例升序</td> </tr> <tr> <td style="text-align: left;">withCoupon</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>默认0 //1有优惠卷 0全部</td> </tr> <tr> <td style="text-align: left;">page</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>当前页 默认1 下次请求携带minId</td> </tr> <tr> <td style="text-align: left;">pageSize</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>默认10每页显示数目</td> </tr> <tr> <td style="text-align: left;">relationId</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>淘宝渠道关系ID 默认0</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <p><strong>拼多多</strong> </p> <pre><code>{ "code": 200, "message": "SUCCESS", "minId": 2, "time": 1543313674, "data": [ { "avg_desc": 433, "category_name": "水果", "coupon_remain_quantity": 37350, "avg_serv": 450, "avg_lgst": 450, "serv_pct": 0.0393, "promotion_rate": 320, "sold_quantity": 3524, "cat_ids": [ 8172, 8182, 8250, 0 ], "coupon_min_order_amount": 500, "lgst_pct": 0.0379, "category_id": 13, "mall_id": 861246020, "goods_eval_score": 4.34, "cat_id": null, "mall_name": "渝巴土特产", "coupon_total_quantity": 50000, "desc_pct": 0.0444, "merchant_type": 1, "goods_name": "【特价1000件卖完涨价】 奉节新鲜水果手剥橙子 当季冰糖橙果冻橙", "goods_eval_count": 216, "goods_id": 4029743737, "goods_gallery_urls": null, "goods_desc": null, "opt_name": "水果", "goods_thumbnail_url": "http://t00img.yangkeduo.com/goods/images/2018-11-24/55de425f10b32a0b30162aaabadd2b16.jpeg", "opt_id": 13, "opt_ids": [ 1041, 5121, 5122, 165, 140, 13, 1215 ], "goods_image_url": "http://t00img.yangkeduo.com/goods/images/2018-11-12/471d4020c913666c12aa662ad54c9926.jpeg", "min_normal_price": 1790, "has_coupon": true, "create_at": 1541654740, "min_group_price": 1590, "mall_cps": 1, "coupon_start_time": 1543075200, "coupon_discount": 500, "coupon_end_time": 1543334399 } ] }</code></pre> <p><strong>京东</strong> </p> <pre><code>{ "code": 200, "message": "SUCCESS", "time": 1543314300, "minId": 2, "data": [ { "brandCode": "90192", "brandName": "佳沛(zespri)", "categoryInfo": { "cid1": 12218, "cid1Name": "生鲜", "cid2": 12221, "cid2Name": "水果", "cid3": 13556, "cid3Name": "奇异果/猕猴桃" }, "comments": 1006657, "commissionInfo": { "commission": 11.39, "commissionShare": 6 }, "couponInfo": { "couponList": [] }, "goodCommentsShare": 99, "imageInfo": { "imageList": [ { "url": "http://img14.360buyimg.com/ads/jfs/t23632/289/1524159356/316737/93fa4259/5b629546Na37a9a4a.jpg" } ] }, "inOrderComm30Days": 390004.24, "inOrderCount30Days": 83409, "isHot": 0, "isJdSale": 1, "materialUrl": "item.jd.com/4635062.html", "owner": "g", "pingGouInfo": [], "planInfo": { "planList": [ { "endTime": 4102416000000, "planId": 0, "planType": 1, "startTime": 1530374400000 } ] }, "priceInfo": { "price": 189.9 }, "shopInfo": { "shopId": 1000085823, "shopName": "Zespri佳沛京东自营旗舰店" }, "skuId": 4635062, "skuName": "Zespri佳沛 新西兰阳光金奇异果 22-25个原箱装 特大22-25号果 单果重约134-175g 新鲜水果", "spuid": 4635062 } ] }</code></pre> <p><strong>淘宝</strong> </p> <pre><code>{ "code": 200, "message": "SUCCESS", "minId": -2, "time": 1543314368, "data": [ { "num_iid": "582388300828", "coupon_id": "c1861d0f969e41699272c16c3d69597f", "volume": "68065", "pict_url": "http://img.alicdn.com/imgextra/i4/4264043756/O1CN012LSG6c1dcI6MadJXc_!!4264043756.jpg", "user_type": 1, "coupon_info": "满30.0元减20元", "zk_final_price": "39.9", "commission_rate": 2000, "title": "【拍2件合发1件】精选大果红心柚子现摘新鲜当季水果蜜柚甜柚子", "short_title": "10斤装 福建琯溪平和红心蜜柚", "coupon_end_time": "2018-11-29", "coupon_start_time": "2018-11-27", "coupon_total_count": "100000", "coupon_remain_count": "80000", "seller_id": "25732", "shop_title": "享果福旗舰店" } ] }</code></pre> <p><strong>苏宁</strong></p> <pre><code>{ "code": 200, "message": "SUCCESS", "minId": 6, "data": [ { "goods_url": "https://product.suning.com/0000000000/11368939275.html",//商品url "goods_name": "华为/HUAWEI Mate 30 8GB+128GB 星河银 麒麟990智慧芯片 4000万徕卡摄像 OLED全面屏 移动联通电信4G全网通手机",//商品名称 "goods_code": "11368939275",//商品编码 "supplier_code": "0000000000",//供应商编码,自营为0000000000 "supplier_name": "苏宁自营",//供应商名称 "picture_url": [ "https://imgservice.suning.cn/uimg1/b2c/image/P3dOi65LoWwmi-oimFr-Yw.jpg", "https://imgservice.suning.cn/uimg1/b2c/image/_vN8f71v5J8I0iT9El-X1Q.jpg", "https://imgservice.suning.cn/uimg1/b2c/image/gsBRA2_OnXinwg0Q7snYVw.jpg", "https://imgservice.suning.cn/uimg1/b2c/image/v3L61d5mHFTfOiUlJ4kbHg.jpg" ],//图片URL地址 "selling_point": "麒麟990智慧芯片,4000万徕卡摄像",//商品卖点 "month_sales": 301,//月销量 "sn_price": "4299.00",//参考价 "goods_price": "4299.00",//商品价格 "goods_type": 1,//商品类型 1:自营 2:C店 3:海外购自营 4:海外购 5:特卖 6:极物 "price_type": "",//价格类型 "price_type_code": 0,//价格类型编码 0:正常价格,1:大聚惠 , 2:抢购, 3:渠道专享, 4:限时促销 ,5:爆款抢购,6:掌上抢,7:特卖,99:乐拼购 "baoyou": 0,//是否包邮 0:不包邮 1:包邮 "rate": "0.76",//佣金比例 百分比 "sale_status": 0,//是否可售 0:可售,1:无货,2:本地暂不销售 "commission": "32.67",//商品佣金 "coupon_url": "https://quan.suning.com/lqzx_recommend.do?activityId=202002190012415454&amp;activitySecretKey=VjHoO3hb8uOPpimUdcNa1x9O",//优惠券地址 "activityid": "202002190012415454",//优惠券链接的activityid的值 "bouns_limit": "2300",//优惠券使用基数(无值为空) "coupon_value": "100.00",//券面额 "coupon_count": "50000",//优惠券总数量 "coupon_starttime": 1582128000,//优惠券领取开始时间 "coupon_endtime": 1582300799,//优惠券领取结束时间 "use_starttime": 1582128000,//券使用开始时间 "use_endtime": 1582300799,//券使用结束时间 "coupon_isvalid": 0 //0代表优惠券有效1代表优惠券无效 } ], "time": 1582167392 }</code></pre> <p><strong>唯品会</strong></p> <pre><code>{ "data": [ { "goods_id": "6918490018222289742", //商品id "goods_name": "vivo U3x 5000mAh大电池千元拍照智能手机", //商品名称 "goods_desc": "", //商品描述,字段暂不输出 "dest_url": "https://m.vip.com/product-1711060558-6918490018222289742.html", //商品落地页url "goods_thumb_url": "https://a.vpimg3.com/upload/merchandise/pdcvis/2019/10/25/21/9cc7908e-02cb-42df-b693-ea9840831dbd_750x750_50.jpg", //商品缩略图 "goods_main_picture": "https://a.vpimg4.com/upload/merchandise/pdcvis/2019/10/25/21/9cc7908e-02cb-42df-b693-ea9840831dbd.jpg", //商品主图 "goods_carousel_pictures":[],//商品轮播图:根据商品id查询时返回,商品列表不返回 "goods_detail_pictures":[],//商品详情图片:根据商品id查询商品信息时返回,商品列表不返回 "source_type": 0, //商品类型:0-自营,1-MP "market_price": "799.00", //市场价(元) "vip_price": "748.00", //唯品价(元) "commission_rate": "0", //佣金比例(%) "commission": "0.00", //佣金金额(元) "discount": "0.94", //折扣:唯品价/市场价 保留两位小数字符串 "brand_id": 1711060558, //商品所属档期(专场)id "brand_store_sn": "10024588", //商品品牌sn "brand_name": "vivo", //商品品牌名称 "brand_logo_full": "http://a.vpimg3.com/upload/brandcool/0/0e2fe4c375eb44249061074dacd8a51c/10024588/primary.png", //商品品牌logo全路径地址 "scheme_end_time": 2145888000, //商品推广计划有效期预估截止时间:仅为预估时间,仅做参考 "sell_time_from": 1572000016, //商品售卖开始时间,时间戳 "sell_time_to": 1735660800, //商品售卖结束时间,时间戳 "weight": "", //推广权重,用于确定推广该商品的优先级,权重值越大,优先级越高 "store_id": "ST00000", //店铺id "store_name": "唯品自营", //店铺名称 "sale_stock_status": "", //商品库存状态:1-已抢光,2-有库存,3-有机会, 当列表查询库存或者查询商品详情时返回 "status": 1, //商品状态:0-下架,1-上架 "is_prepay": 0, //是否预付商品:0-否,1-是 "deduction_price": "", //预付商品的抵扣价格(首款+优惠金额):元 "act_type": "", //商品参与活动信息的活动类型:18-唯品快抢 "act_name": "", //商品参与活动信息的活动名称 "begin_time": 0, //商品参与活动信息的开始时间:时间戳 "end_time": 0, //商品参与活动信息的结束时间:时间戳 "fore_show_begin_time": 0 //商品参与活动信息的预热开始时间:时间戳 } ], "code": 200, "message": "SUCCESS", "time": 1584070458, "minId": 2 }</code></pre> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML