电影票小程序/插件相关
京东商品/活动转链API
基本信息:

此接口支持商品链接,活动链接,店铺链接转链,获取普通推广链接和优惠券二合一推广链接

接口说明
请求方式: GET/POST
接口参数
参数名称 参数类型 是否必须 示例 备注
apikey string 接口秘钥,请登录个人中心获取
goods_link String https://item.jd.com/10030946638195.html?rid=10109 奖励金必须从京东奖励商品列表接口中获取的goods_link进行转链
sid String 123456 渠道方用户唯一标识,渠道可自定义,只能数字和字母
返回参数
名称 类型 示例值 说明
link String https://union-click.jd.com/jdc?d=XXXXXX 推广链接
link_content String 推广文案
we_app_info we_app_info 小程序信息
L app_id String 小程序ID
L page_path String 小程序路径
is_coupon int 1 是否有券 1-有 0-无
couponInfo couponInfo 优惠券券信息
L takeEndTime long 1532966460000 券领取结束时间(时间戳,毫秒)
L takeBeginTime long 1531065600000 券领取开始时间(时间戳,毫秒)
L remainNum long 9990 券剩余张数
L yn String 券有效状态
L num long 10000 券总张数
L quota double 15 券消费限额
L link String 券链接
L discount double 10 券面额
L beginTime long 1531065600000 券有效使用开始时间(时间戳,毫秒)
L endTime long 1533052799000 券有效使用结束时间(时间戳,毫秒)
L platform String 全平台 券使用平台
commissionInfo CommissionInfo 佣金信息
L commission double 22.68 佣金
L commissionShare double 50 佣金比例
L couponCommission double 12.68 券后佣金
L plusCommissionShare double 50 plus佣金比例
imageInfo ImageInfo 图片信息
L imageList UrlInfo[] 图片合集
L url String 图片链接地址,第一个图片链接为主图链接
priceInfo PriceInfo 价格信息
L price double 39.9 无线价格
L lowestPrice double 14.9 最低价格
L lowestPriceType int 2 最低价格类型,1:无线价格;2:拼购价格; 3:秒杀价格
L lowestCouponPrice double 10.9 最低价后的优惠券价(当商品无最优券时,不返回该字段
L historyPriceDay int 100 历史最低价天数
pinGouInfo PinGouInfo 拼购信息
L pingouPrice double 39.9 拼购价格
L pingouTmCount long 2 拼购成团所需人数
L pingouUrl String https://wq.jd.com/pingou_api/GetAutoTuan?sku_id=35097232463 from=cps 拼购落地页url,请勿直接使用,请用转链后的shortURL 链接
L pingouStartTime long 1546444800000 拼购开始时间(时间戳,毫秒)
L pingouEndTime long 1548604800000 拼购开始时间(时间戳,毫秒)
shopInfo ShopInfo 店铺信息
shopName String XXXX旗舰店 店铺名称(或供应商名称)
L shopId int 45619 店铺Id
L shopLevel Double 3.5 店铺等级
skuId long 26898778009 商品ID
skuName String 便携式女士香水持久淡香小样 初见系列香水 遇见时光 商品名称
owner String g g=自营,p=pop 可来判断最终分成比例 g =100%,p=90%,非自营商品官方会扣10%服务费
返回示例
{"code":1,"msg":"【success】","data":{"link":"https://u.jd.com/8MNdu3s","link_content":"","we_app_info":{"app_id":"wx91d27dbf599dff74","page_path":"pages/union/proxy/proxy?spreadUrl=https://u.jd.com/8MNdu3s"},"is_coupon":1,"couponInfo":[{"beginTime":1622908800000,"discount":50,"endTime":1623686399000,"link":"https://coupon.m.jd.com/coupons/show.action?linkKey=AAROH_xIpeffAs_-naABEFoebHhzHnPkksQSaPXyh4aC3m5aKkNBjr8yAy36LmUfANjPm07LOu1om_4PbNxbz_C2jsH8eQ","num":100000,"platform":"全平台","quota":100,"remainNum":99704,"takeBeginTime":1622908800000,"takeEndTime":1623427199000,"yn":"1"}],"commissionInfo":{"commission":21.98,"commissionShare":20,"couponCommission":11.98,"endTime":1623427199000,"isLock":1,"plusCommissionShare":20,"startTime":1622995200000},"priceInfo":{"historyPriceDay":180,"lowestCouponPrice":59.9,"lowestPrice":109.9,"lowestPriceType":1,"price":109.9},"pinGouInfo":[],"shopInfo":{"afsFactorScoreRankGrade":"高","afterServiceScore":"9.04","commentFactorScoreRankGrade":"高","logisticsFactorScoreRankGrade":"低","logisticsLvyueScore":"8.60","scoreRankRate":"15.64","shopId":11062756,"shopLabel":"0","shopLevel":3,"shopName":"福临门营养辅食旗舰店","userEvaluateScore":"9.99"},"skuName":"福临门婴幼儿童果蔬营养面条210g*6袋不添加食用盐菠菜胡萝卜西红柿多彩蔬菜小面条6口味组合装 多彩面条6袋","skuId":10030946638195,"owner":"p","imageInfo":{"imageList":[{"url":"https://img14.360buyimg.com/pop/jfs/t1/109899/38/15578/326663/60a4b30cE9b25a885/9450d326956a1c09.jpg"},{"url":"https://img14.360buyimg.com/pop/jfs/t1/174525/35/9796/241472/609f40c6E8af53095/dc3e2d239843707e.jpg"},{"url":"https://img14.360buyimg.com/pop/jfs/t1/183472/4/4161/406513/609f40c5Edb9b15c0/664adf53d6074eef.jpg"},{"url":"https://img14.360buyimg.com/pop/jfs/t1/194087/21/3142/551302/609f40c5Ea3953aa3/bcdc3485433c9626.jpg"},{"url":"https://img14.360buyimg.com/pop/jfs/t1/181775/4/4187/277463/609f40c4E64022a9f/4a30c992a8f20238.jpg"},{"url":"https://img14.360buyimg.com/pop/jfs/t1/179276/4/4208/326042/609f40c6E4df886a9/f7fdb032e110f26f.png"},{"url":"https://img14.360buyimg.com/pop/jfs/t1/194090/38/3175/481986/609f40c5E0d99cc6d/5ccd260e8025a430.jpg"}],"whiteImage":"https://img14.360buyimg.com/pop/jfs/t1/182790/1/4204/76475/609f412eE820e5bbc/afc4d2f6d74a1f53.png"}}}