获取商品信息,包含标题、主图、店铺信息、优惠券信息、详情图等,禁止批量调用此接口
提示:无访问权限,如有疑问请联系联盟客服,参考:https://doc.21ds.cn/detail?doc=4685763267728060/4980901921373735,中“京东常见问题”的Q4尝试解决,如果仍然不行,可联系平台客服咨询
参数 | 类型 | 请求参数参考值 | 是否必须 | 说明 |
apkey | String | xxxxxxx | 是 | 用户中心 - 系统设置 - 平台设置 中查看APKEY密钥 (点我获取)(*必要) |
skuid | String | 100003961325 | 是 | 商品id |
sceneId | String | 1 | 是 | 新增sceneId字段(场景ID),支持入参1,2。1、skuIds字段:仅sceneId=2时支持入参 |
返回参数 | 类型 | 参数说明 | 扩展说明 |
ItemInfo | Json | 商品基础信息 | |
descPic | Json | 详情图 | |
itemCouponInfo | Json | 商品优惠券等信息 |
{"code":200,"data":{"ItemInfo":[{"unitPrice":11499,"materialUrl":"http://item.jd.com/100003961325.html","endDate":1585584000000,"isFreeFreightRisk":0,"isFreeShipping":2,"commisionRatioWl":0.8,"commisionRatioPc":0.8,"imgUrl":"http://img14.360buyimg.com/n1/jfs/t1/77650/2/15765/58979/5dd26e36E1b34eada/d8f007dee376339a.jpg","vid":1000000127,"cidName":"电脑、办公","wlUnitPrice":11499,"cid2Name":"电脑整机","isSeckill":0,"cid2":671,"cid3Name":"笔记本","inOrderCount":20159,"cid3":672,"shopId":1000000127,"isJdSale":1,"goodsName":"Apple 2019款 MacBook Pro 13.3【带触控栏】八代i5 8G 256G RP645显卡 银色 笔记本电脑 MUHR2CH/A","skuId":100003961325,"startDate":1561910400000,"cid":670}],"descPic":["//img14.360buyimg.com/cms/jfs/t1/96011/37/9851/194079/5e155110E321d43d4/77369e8b4f4c1b33.jpg","//img13.360buyimg.com/cms/jfs/t1/9270/33/12605/63298/5c380af6E6717abf5/27c54bb0375207c4.jpg","//img10.360buyimg.com/cms/jfs/t1/77929/26/4538/253963/5d2c03d4Ee13a7467/2d555dd57237b6e2.jpg","//img11.360buyimg.com/cms/jfs/t1/78605/2/4615/297186/5d2c03d4E6f3d13e7/eacab66af656e5f5.jpg","//img14.360buyimg.com/cms/jfs/t1/67507/17/4628/312554/5d2c03d4E025cca03/5950b15dbab0dc4d.jpg","//img14.360buyimg.com/cms/jfs/t1/34642/19/15015/259111/5d2c03d3E381b5be3/618b33808cd4efe2.jpg","//img14.360buyimg.com/cms/jfs/t1/58366/11/5012/440626/5d2c03d4E16261af9/0d920991a4d8d94d.jpg","//img11.360buyimg.com/cms/jfs/t1/49002/16/5173/294540/5d2c03d4Ef8b9e089/8d0df2b67cb08192.jpg","//img11.360buyimg.com/cms/jfs/t1/35615/14/14881/333773/5d2c03d4E9867709d/6bea3f64b17446c7.jpg","//img11.360buyimg.com/cms/jfs/t1/49680/40/5025/150372/5d2c03d3E1532e756/a5d5ac9e67275278.jpg"],"itemCouponInfo":{"brandCode":"14026","brandName":"Apple","categoryInfo":{"cid1":670,"cid1Name":"电脑、办公","cid2":671,"cid2Name":"电脑整机","cid3":672,"cid3Name":"笔记本"},"comments":77679,"commissionInfo":{"commission":91.99,"commissionShare":0.8},"couponInfo":{"couponList":[]},"goodCommentsShare":93,"imageInfo":{"imageList":[{"url":"http://img14.360buyimg.com/ads/jfs/t1/77650/2/15765/58979/5dd26e36E1b34eada/d8f007dee376339a.jpg"},{"url":"http://img14.360buyimg.com/ads/jfs/t1/101864/15/2582/13314/5dd26e36Edefd1f8e/69150e99c083f4bf.jpg"}]},"inOrderComm30Days":1654390.45,"inOrderCount30Days":19862,"isHot":0,"isJdSale":1,"materialUrl":"item.jd.com/100003961325.html","owner":"g","pinGouInfo":[],"pingGouInfo":[],"priceInfo":{"lowestPrice":11499,"lowestPriceType":1,"price":11499},"shopInfo":{"shopId":1000000127,"shopName":"Apple产品京东自营旗舰店"},"skuId":100003961325,"skuName":"Apple 2019款 MacBook Pro 13.3【带触控栏】八代i5 8G 256G RP645显卡 银色 笔记本电脑 MUHR2CH/A","spuid":100005855232,"videoInfo":[]}},"msg":"success"}
code/http_status | 说明 |
200 | 数据获取成功 |
-1 | 数据获取失败 |
401 | IP没有添加白名单 |
429 | 访问次数超限 |
403 | 关键参数丢失 |
405 | 请求方式不对 |