欢迎光临散文网 会员登陆 & 注册

淘宝商品详情页API接口代码

2023-04-16 17:53 作者:vx-xiaofulu222  | 我要投稿

淘宝商品详情页API接口代码应用范围

淘宝商品详情页API接口代码主要用于获取淘宝或天猫全网的商品详情页里面的商品信息,如:商品主图、价格、标题、sku等等。


淘宝商品详情API目录

  • API接口调用说明

  • 一、商品承诺API

  • 二、商品详情基础版

  • 三、商品详情完全版

API接口调用说明

  接口名称:查询商品承诺

  接口状态:已完成

  接口地址:http://gjx.sd1118.com/api/product/engage

  请求方式:POST

  Content-Type:Text

  更新时间:2023-06-13 23:48:32

  调用参数:

token

productId

一、商品承诺API

  返回示例:

  {   "msg": "该商品有承若!",   "code": 99,   "data": {   "engage": [   {   "title": "7天无理由退货",   "desc": "商品满足相应条件时(未使用、未洗涤、吊牌包装完整等),可申请“无理由退货”"   },   {   "title": "全场包邮",   "desc": "所有商品包邮(大陆偏远地区、港澳台及海外地区除外)"   }   ],   "pay_money": 333   },   "state": true   }

  响应参数:

  data.engage

  array

  承若列表

  data.pay_money

  number

  实际支付金额

  code

  number

  当 state=true 并且 code=66 说明该商品没有承若。

二、商品详情基础版

  详细说明:

  注意! 不支持商品链接 只支持 商品ID 纯数字

  返回示例:

  {   "data": {   "defPrice": "19.8",   "shopLogo": null,   "productId": "626758342750",   "categoryId": null,   "shopId": "63442770",   "shopName": "窝牛旗舰店",   "productTitle": "墙纸自粘卧室温馨墙贴画防水防潮客厅背景墙房间壁纸家用装饰贴纸",   "productImg": "http://gw3.alicdn.com/tfscom/tuitui/i1/606955037/O1CN01jogC5K1n4zbnePyXI_!!606955037-0-lubanu-s.jpg",   "sellerId": "606955037",   "rootCategoryId": null,   "brandId": null,   "shopWw": "窝牛旗舰店",   "shopType": "B"   },   "code": 0,   "state": true,   "msg": "success"   }

  响应参数:

  data.productTitle

  string

  商品标题

  data.productId

  string

  商品ID

  data.sellerId

  string

  卖家ID

  data.productImg

  string

  商品主图

  data.shopName

  string

  店铺名称

  data.shopId

  string

  店铺ID

  data.shopWw

  string

  掌柜旺旺

  data.categoryId

  string

  分类ID

  data.defPrice

  string

  商品价格

  data.shopLogo

  string

  店铺LOGO

  data.shopType

  string

  店铺类型

三、商品详情完全版

  详细说明:

  这个接口可能会被风控,如果返回结果错误,重新请求一次即可!

  返回示例:

  注:当最外层的state = false的时候则算接口失败,msg返回具体失败原因并不计算次数。

  {   "msg": "success",   "code": 0,   "data": {   "seller": {   "shopCard": "本店共56件宝贝在热卖",   "shopName": "JBL耳机旗舰店",   "evaluates": [   {   "score": "4.8 ",   "tmallLevelTextColor": "#999999",   "level": "1",   "levelText": "高",   "levelBackgroundColor": "#EEEEEE",   "levelTextColor": "#999999",   "title": "宝贝描述",   "type": "desc",   "tmallLevelBackgroundColor": "#EEEEEE"   },   {   "score": "4.8 ",   "tmallLevelTextColor": "#999999",   "level": "1",   "levelText": "高",   "levelBackgroundColor": "#EEEEEE",   "levelTextColor": "#999999",   "title": "卖家服务",   "type": "serv",   "tmallLevelBackgroundColor": "#EEEEEE"   },   {   "score": "4.8 ",   "tmallLevelTextColor": "#999999",   "level": "1",   "levelText": "高",   "levelBackgroundColor": "#EEEEEE",   "levelTextColor": "#999999",   "title": "物流服务",   "type": "post",   "tmallLevelBackgroundColor": "#EEEEEE"   }   ],   "entranceList": [   {   "borderColor": "#59ffffff",   "backgroundColor": "#59000000",   "action": [   {   "params": {   "url": "//shop.m.taobao.com/shop/shop_index.htm?user_id=2210501791540&item_id=663642903198¤tClickTime=-1"   },   "key": "open_url"   },   {   "params": {   "trackParams": {   "spm": "a.2141.7631564.shoppage"   },   "trackName": "Button-NewShopcard-ShopPage"   },   "key": "user_track"   }   ],   "text": "进店逛逛",   "textColor": "#ffffff"   },   {   "borderColor": "#59ffffff",   "backgroundColor": "#59000000",   "action": [   {   "params": {   "url": "//shop.m.taobao.com/shop/shop_index.htm?user_id=2210501791540&item_id=663642903198&shop_navi=allitems"   },   "key": "open_url"   },   {   "params": {   "trackParams": {   "spm": "a.2141.7631564.allitem"   },   "trackName": "Button-NewShopcard-AllItem"   },   "key": "user_track"   }   ],   "text": "全部宝贝",   "textColor": "#ffffff"   }   ],   "showShopLinkIcon": false,   "simpleShopDOStatus": "1",   "fbt2User": "jbl耳机旗舰店",   "taoShopUrl": "//shop.m.taobao.com/shop/shop_index.htm?user_id=2210501791540&item_id=663642903198",   "creditLevel": "12",   "evaluates2": [   {   "score": "4.8 ",   "titleColor": "#ffffff",   "level": "1",   "scoreTextColor": "#ffffff",   "levelText": "高",   "levelTextColor": "#f0f0f0",   "title": "宝贝描述",   "type": "desc"   },   {   "score": "4.8 ",   "titleColor": "#ffffff",   "level": "1",   "scoreTextColor": "#ffffff",   "levelText": "高",   "levelTextColor": "#f0f0f0",   "title": "卖家服务",   "type": "serv"   },   {   "score": "4.8 ",   "titleColor": "#ffffff",   "level": "1",   "scoreTextColor": "#ffffff",   "levelText": "高",   "levelTextColor": "#f0f0f0",   "title": "物流服务",   "type": "post"   }   ],   "atmosphereMaskColor": "#59000000",   "allItemCount": "56",   "creditLevelIcon": "//gw.alicdn.com/tfs/TB1QoJUIwmTBuNjy1XbXXaMrVXa-84-36.png?getAvatar=avatar",   "atmosphereColor": "#ffffff",   "shopId": "466989580",   "starts": "2021-01-26 23:16:31",   "brandIconRatio": "7.3",   "sellerNick": "jbl耳机旗舰店",   "goodRatePercentage": "100.00%",   "shopIcon": "//img.alicdn.com/imgextra//i3/6000000002059/O1CN01x4lr311R549msl0kJ_!!6000000002059-1-shopmanager.gif",   "shopUrl": "tmall://page.tm/shop?item_id=663642903198&shopId=466989580",   "userId": "2210501791540",   "brandIcon": "//gw.alicdn.com/tfs/TB10YPrjbj1gK0jSZFOXXc7GpXa-368-52.png?getAvatar=avatar",   "shopVersion": "0",   "fans": "13.9万",   "atmophereMask": true,   "atmosphereImg": "https://img.alicdn.com/imgextra/i3/2210501791540/O1CN01kkstuh1NFMdtlZH7Z_!!2210501791540.jpg",   "shopType": "B",   "sellerType": "B",   "shopTextColor": "#ffffff"   },   "propsCut": "品牌 型号 耳机材质 蓝牙版本 颜色分类 套餐类型 生产企业 耳机类别 防水性能 使用方式 保修期 防尘性能 ",   "item": {   "images": [   "//img.alicdn.com/imgextra/i4/2210501791540/O1CN01F8KSxQ1NFMgHeIKVV_!!2210501791540.jpg",   "//img.alicdn.com/imgextra/i4/2210501791540/O1CN01BZzZp51NFMfggAxT4_!!2210501791540.jpg",   "//img.alicdn.com/imgextra/i2/2210501791540/O1CN01VdaNJT1NFMfV8CYTq_!!2210501791540.jpg",   "//img.alicdn.com/imgextra/i2/2210501791540/O1CN01JBL4X01NFMfSLHePL_!!2210501791540.jpg",   "//img.alicdn.com/imgextra/i4/2210501791540/O1CN01UoVQFW1NFMfR1JuDh_!!2210501791540.jpg"   ],   "tmallDescUrl": "//mdetail.tmall.com/templates/pages/desc?id=663642903198",   "moduleDescUrl": "//hws.m.taobao.com/d/modulet/v5/WItemMouldDesc.do?id=663642903198&f=icoss!0663642903198!12246574011",   "favcount": "1114",   "countMultiple": [],   "cartUrl": "https://h5.m.taobao.com/awp/base/cart.htm",   "exParams": {},   "title": "JBL REFLECT FLOW PRO主动降噪运动蓝牙耳机防水防汗苹果华为通用",   "openDecoration": false,   "rootCategoryId": "50011972",   "commentCount": "107",   "itemId": "663642903198",   "skuText": "请选择套餐类型 颜色分类 ",   "moduleDescParams": {   "f": "desc/icoss!0663642903198!12246574011",   "id": "663642903198"   },   "brandValueId": "27197",   "subtitle": "",   "taobaoDescUrl": "//market.m.taobao.com/app/detail-project/desc/index.html?id=663642903198&descVersion=7.0&type=0&f=desc/icoss!0663642903198!12246574011&sellerType=B",   "h5moduleDescUrl": "//mdetail.tmall.com/templates/pages/itemDesc?id=663642903198",   "taobaoPcDescUrl": "//market.m.taobao.com/app/detail-project/desc/index.html?id=663642903198&descVersion=6.0&type=1&f=icoss!0663642903198!1988603296&sellerType=B",   "categoryId": "50005050"   },   "debug": {   "app": "alidetail",   "host": "detail033051249170.center.na620@33.51.249.170"   },   "resource": {   "entrances": {   "askAll": {   "icon": "https://img.alicdn.com/tps/TB1tVU6PpXXXXXFaXXXXXXXXXXX-102-60.png",   "link": "https://web.m.taobao.com/app/mtb/ask-everyone/list?pha=true&disableNav=YES&refId=663642903198",   "text": "\"对比苹果三代哪个好?\""   }   }   },   "vertical": {   "askAll": {   "showNum": "2",   "askIcon": "https://img.alicdn.com/tps/TB1tVU6PpXXXXXFaXXXXXXXXXXX-102-60.png",   "askText": "对比苹果三代哪个好?",   "modelList": [   {   "askText": "对比苹果三代哪个好?",   "answerCountText": "2个回答",   "firstAnswer": "没用过苹果的"   },   {   "askText": "游泳的时候能带么",   "answerCountText": "2个回答",   "firstAnswer": "游泳不知道,但是这款不适合长时间佩戴。"   }   ],   "answerText": "没用过苹果的",   "questNum": "25",   "linkUrl": "https://web.m.taobao.com/app/mtb/ask-everyone/list?pha=true&disableNav=YES&refId=663642903198",   "model4XList": [   {   "askIcon": "//gw.alicdn.com/tfs/TB1lneilZLJ8KJjy0FnXXcFDpXa-36-36.png",   "askText": "对比苹果三代哪个好?",   "askTextColor": "#162B36",   "answerCountText": "2个回答"   },   {   "askIcon": "//gw.alicdn.com/tfs/TB1lneilZLJ8KJjy0FnXXcFDpXa-36-36.png",   "askText": "游泳的时候能带么",   "askTextColor": "#162B36",   "answerCountText": "2个回答"   }   ],   "title": "问大家(25)",   "answerIcon": "https://img.alicdn.com/tps/TB1Z7c2LXXXXXXmaXXXXXXXXXXX-132-42.png"   }   },   "params": {   "trackParams": {   "brandId": "27197",   "BC_type": "B",   "categoryId": "50005050"   }   },   "apiStack": [   {   "name": "esi",   "value": "{\"feature\":{\"makeup\":\"false\",\"isVirtualRechargeItem\":\"false\",\"isDonateItem\":\"false\",\"bSeller\":\"true\",\"useMeiLiHuiPrice\":\"false\",\"o2O\":\"false\",\"showCommonBanner\":\"false\",\"guessYouLike\":\"true\",\"isXiaXuan\":\"false\",\"isJuPinTuan\":\"false\",\"tmall2018\":\"true\",\"abNewDetailRoute\":\"false\",\"nabundleItem\":\"false\",\"hasSku\":\"true\",\"bundleItem\":\"false\",\"wygProtect\":\"true\",\"hasCartRecommend\":\"false\",\"openNewSku\":\"true\",\"hasBrandScene\":\"false\",\"fmcgRecommend\":\"false\",\"superActTime\":\"false\",\"isXinxuan\":\"false\",\"notUseVip95CardBar\":\"false\",\"hasApparelIcon\":\"false\",\"isCloudChanger\":\"false\",\"bybtForTmall\":\"true\",\"hideAsk\":\"false\",\"overSeaBuy\":\"false\",\"wygItem\":\"false\",\"hasIntervalPrice\":\"true\",\"isDamai\":\"false\",\"waitForStart\":\"false\",\"newAddress\":\"true\",\"hideSMww\":\"false\",\"useNewRate\":\"false\",\"renovation\":\"false\",\"enablePriceAttract\":\"false\",\"hasAddCartCoudan\":\"false\",\"showCuntaoTag\":\"false\",\"recommendReason\":\"false\",\"switchToOldApp\":\"false\",\"isNewShareGift\":\"false\",\"hideShopDsr\":\"false\",\"showSkuThumbnail\":\"true\",\"pricedCoupon\":\"false\",\"hasCoupon\":\"false\",\"buhuo\":\"false\",\"cainiaoNoramal\":\"true\",\"xinxuanRec\":\"false\",\"showSku\":\"true\",\"showShopCard\":\"false\",\"showYaoDai\":\"false\",\"useBenifitNew\":\"false\",\"isXXSale\":\"false\",\"enableDpbModule\":\"false\",\"showLiteAppRec\":\"false\",\"customSkuImage\":\"false\",\"closefindsimilar\":\"true\",\"showTmallApp\":\"false\",\"hasNewCombo\":\"false\",\"noShareGroup\":\"true\",\"enableBusiness2020\":\"true\",\"showSkuProRate\":\"false\",\"hasAddTmallCartCoudan\":\"false\",\"multistage\":\"false\",\"hasQualification\":\"false\",\"isTspace\":\"false\",\"tmallAskAll\":\"true\",\"series\":\"false\",\"isTTSale\":\"false\",\"hideDsrNew\":\"false\",\"shareGroup\":\"false\",\"showSMww\":\"false\",\"smSpeBottomBar\":\"false\",\"isShopVipMember\":\"false\",\"includeSkuData\":\"true\"},\"trade\":{\"tradeParams\":{},\"cartEnable\":\"true\",\"buyEnable\":\"true\",\"cartParam\":{\"areaId\":\"320500\",\"addressId\":\"16772484843\"},\"cartConfirmEnable\":\"true\",\"outerCartParam\":{},\"useWap\":\"false\",\"cartJumpUrl\":\"https://h5.m.taobao.com/awp/base/cart.htm\",\"buyParam\":{\"areaId\":\"320500\",\"addressId\":\"16772484843\"},\"isWap\":\"false\"},\"item\":{\"extraMap\":{},\"sellCount\":\"88\",\"deliveryLocationInfo\":\"配送至:苏州市\",\"itemPoint\":\"824\",\"infoText\":{},\"picGallaryOverScroll\":{\"mainPic\":{\"text\":\"滑\\n动\\n查\\n看\\n更\\n多\\n宝\\n贝\",\"action\":[{\"type\":\"open_url\",\"fields\":{\"url\":\"https://market.m.taobao.com/app/detail-project/pages/pages/banner-recommend?wx_navbar_hidden=true&_wx_statusbar_hidden=true&wh_weex=true&sellerId=2210501791540&shopId=466989580&itemId=663642903198&spm=a2141.7631564&detailUniqueId=1d24fbdc67c204e0a0ba00f05a8e36b5&detailAlgoParam=&list_param=&abtest=152555_163247&spm-pre=null&isMergedRec=true\"}},{\"type\":\"user_track\",\"fields\":{\"trackParams\":{\"spm\":\"a2141.7631564\"},\"trackName\":\"Page_Detail_Button-ItemDetailRecommend\"}}]}},\"descType\":\"2\",\"containerDimension\":\"1:1\",\"vagueSellCount\":\"88\",\"skuText\":\"配送至:苏州市,请选择套餐类型/颜色分类\",\"skuInfo\":\"套餐类型/颜色分类\",\"title\":\"JBL REFLECT FLOW PRO主动降噪运动蓝牙耳机防水防汗苹果华为通用\",\"itemId\":\"663642903198\",\"spuId\":\"2233760932\"},\"h5DegradeReasonData\":{},\"newH5Data\":{},\"buyer\":{\"tmallMemberLevel\":\"0\"},\"price\":{\"priceTag\":[{\"text\":\"狂欢价\",\"bigmarkdownTag\":\"false\"}],\"transmitPrice\":{\"priceText\":\"1649\",\"sugProm\":\"false\"},\"shopPromTitle\":\"促销\",\"superMarketShopProm\":[],\"shopProm\":[{\"iconText\":\"跨店\",\"period\":\"2022.06.15 20:00-2022.06.20 23:59\",\"content\":[\"每300减50,可跨店,上不封顶\"],\"type\":\"2\"}],\"price\":{\"priceText\":\"1649\",\"sugProm\":\"false\"}},\"consumerProtection\":{\"passValue\":\"none\",\"serviceProtection\":{\"basicService\":{\"id\":\"204\",\"name\":\"基础保障\",\"services\":[{\"serviceId\":\"3838\",\"name\":\"假一赔四\",\"desc\":[\"正品保障,假一赔四\"],\"icon\":\"//img.alicdn.com/tfs/TB1_YjSjeL2gK0jSZPhXXahvXXa-54-54.png\",\"priority\":\"12900\"},{\"serviceId\":\"3851\",\"name\":\"退货运费险\",\"desc\":[\"卖家投保退货运费险,负担一定金额退货运费(保单生效以下单显示为准)\"],\"icon\":\"//img.alicdn.com/tfs/TB1_YjSjeL2gK0jSZPhXXahvXXa-54-54.png\",\"priority\":\"6581\"},{\"serviceId\":\"2979\",\"name\":\"极速退款\",\"desc\":[\"满足相应条件时,诚信用户在退货寄出后,享受极速退款到账\"],\"icon\":\"//img.alicdn.com/tfs/TB1_YjSjeL2gK0jSZPhXXahvXXa-54-54.png\",\"priority\":\"6505\"},{\"serviceId\":\"2973\",\"name\":\"七天无理由退换\",\"desc\":[\"满足相应条件时,消费者可申请 “七天无理由退换货”\"],\"icon\":\"//img.alicdn.com/tfs/TB1_YjSjeL2gK0jSZPhXXahvXXa-54-54.png\",\"priority\":\"5130\"}]}},\"strength\":\"normal\",\"items\":[{\"serviceId\":\"3838\",\"title\":\"假一赔四\",\"desc\":\"正品保障,假一赔四\",\"type\":\"0\",\"priority\":\"12900\"},{\"serviceId\":\"3851\",\"title\":\"退货运费险\",\"desc\":\"卖家投保退货运费险,负担一定金额退货运费(保单生效以下单显示为准)\",\"type\":\"0\",\"priority\":\"6581\"},{\"serviceId\":\"2979\",\"title\":\"极速退款\",\"desc\":\"满足相应条件时,诚信用户在退货寄出后,享受极速退款到账\",\"type\":\"0\",\"priority\":\"6505\"},{\"serviceId\":\"2973\",\"title\":\"七天无理由退换\",\"desc\":\"满足相应条件时,消费者可申请 “七天无理由退换货”\",\"type\":\"0\",\"priority\":\"5130\"}],\"params\":\"204:3838,3851,2979,2973\"},\"resource\":{\"indexCouponData\":{},\"entrances\":{},\"entrancesBizsContent\":\"\",\"floatView\":{},\"promsCalcInfo\":{\"cheapestMoney\":\"0\",\"hasCoupon\":\"false\",\"needReqCouDan\":\"false\"}},\"priceAttractData\":{},\"vertical\":{\"taoMoments\":{\"tipText\":\"分享到淘友圈,淘友跟买有红包\",\"tipUrl\":\"https://market.m.taobao.com/app/tao-circle/detail-entry/pages/index?wh_weex=true\",\"iconUrl\":\"https://img.alicdn.com/tfs/TB1pwbmNVP7gK0jSZFjXXc5aXXa-69-57.png\",\"jumpUrl\":\"https://market.m.taobao.com/app/tao-circle/guide/pages/index/index.html?disableNav=YES&source=item_detail\",\"status\":\"OPEN_GUIDE\"},\"freshFood\":{\"nationalFlag\":\"//g.alicdn.com/mui/flag-img/circle@2x/CN.png\"},\"askAll\":{\"showNum\":\"2\",\"askIcon\":\"https://img.alicdn.com/tps/TB1tVU6PpXXXXXFaXXXXXXXXXXX-102-60.png\",\"askText\":\"对比苹果三代哪个好?\",\"answerText\":\"没用过苹果的\",\"answerIcon\":\"https://img.alicdn.com/tps/TB1Z7c2LXXXXXXmaXXXXXXXXXXX-132-42.png\",\"questNum\":\"25\",\"linkUrl\":\"https://web.m.taobao.com/app/mtb/ask-everyone/list?pha=true&disableNav=YES&refId=663642903198\",\"title\":\"问大家(25)\",\"modelList\":[{\"askText\":\"对比苹果三代哪个好?\",\"answerCountText\":\"2个回答\",\"firstAnswer\":\"没用过苹果的\"},{\"askText\":\"游泳的时候能带么\",\"answerCountText\":\"2个回答\",\"firstAnswer\":\"游泳不知道,但是这款不适合长时间佩戴。\"}]},\"tmallLeaseData\":{\"rentOfficialPriceFen\":\"0\",\"rentGuaranteePriceFen\":\"0\",\"zhiMaSigned\":\"false\"},\"degrade\":\"Sugar\"},\"delivery\":{\"postage\":\"快递: 免运费\",\"extras\":{},\"completedTo\":\"苏州市 姑苏区 苏锦街道\",\"overseaContraBandFlag\":\"false\",\"addressId\":\"16772484843\",\"to\":\"苏州市\",\"areaSell\":\"true\",\"from\":\"浙江杭州\",\"areaId\":\"320500\"},\"skuBase\":{\"skus\":[{\"skuId\":\"5027740387804\",\"propPath\":\"5919063:6536025;1627207:28341\"},{\"skuId\":\"5027740387803\",\"propPath\":\"5919063:6536025;1627207:28338\"},{\"skuId\":\"4957457231879\",\"propPath\":\"5919063:6536025;1627207:28323\"},{\"skuId\":\"5027740387802\",\"propPath\":\"5919063:6536025;1627207:28320\"}],\"props\":[{\"pid\":\"5919063\",\"name\":\"套餐类型\",\"values\":[{\"vid\":\"6536025\",\"name\":\"官方标配\",\"sortOrder\":\"0\"}]},{\"pid\":\"1627207\",\"name\":\"颜色分类\",\"values\":[{\"vid\":\"28341\",\"name\":\"黑色\",\"image\":\"//gw.alicdn.com/bao/uploaded/i4/2210501791540/O1CN01GDiuF11NFMhGi0bpN_!!2210501791540.png\",\"sortOrder\":\"1\"},{\"vid\":\"28338\",\"name\":\"蓝色\",\"image\":\"//gw.alicdn.com/bao/uploaded/i4/2210501791540/O1CN01hB3RTN1NFMhErAzrP_!!2210501791540.png\",\"sortOrder\":\"2\"},{\"vid\":\"28323\",\"name\":\"粉色\",\"image\":\"//gw.alicdn.com/bao/uploaded/i2/2210501791540/O1CN01sO6cVs1NFMhGi3IEa_!!2210501791540.png\",\"sortOrder\":\"3\"},{\"vid\":\"28320\",\"name\":\"白色\",\"image\":\"//gw.alicdn.com/bao/uploaded/i3/2210501791540/O1CN01vEnexa1NFMhAEWIq0_!!2210501791540.png\",\"sortOrder\":\"4\"}]}]},\"skuCore\":{\"skuItem\":{\"showAddress\":\"true\",\"hideQuantity\":\"false\",\"location\":\"苏州市\"},\"sku2info\":{\"0\":{\"price\":{\"priceMoney\":\"164900\",\"priceText\":\"1649\",\"showTitle\":\"false\",\"sugProm\":\"false\"},\"quantity\":\"222\"},\"4957457231879\":{\"price\":{\"priceMoney\":\"164900\",\"priceText\":\"1649\",\"showTitle\":\"false\",\"sugProm\":\"false\"},\"quantity\":\"68\"},\"5027740387802\":{\"price\":{\"priceMoney\":\"164900\",\"priceText\":\"1649\",\"showTitle\":\"false\",\"sugProm\":\"false\"},\"quantity\":\"54\"},\"5027740387804\":{\"price\":{\"priceMoney\":\"164900\",\"priceText\":\"1649\",\"showTitle\":\"false\",\"sugProm\":\"false\"},\"quantity\":\"38\"},\"5027740387803\":{\"price\":{\"priceMoney\":\"164900\",\"priceText\":\"1649\",\"showTitle\":\"false\",\"sugProm\":\"false\"},\"quantity\":\"62\"}},\"abSwitch\":{\"enableShowPic\":\"false\",\"enableShowProtection\":\"false\"},\"atmosphere\":{}},\"services\":{\"mustSelect\":\"false\",\"sku2serviceMap\":{\"5027740387804\":[{\"serviceId\":\"641549643765\",\"standardPresentationV2\":\"true\",\"serviceSkuPrices\":[{\"uniqueId\":\"4776391134440\",\"skuId\":\"5027740387804\",\"price\":\"6390\",\"free\":\"false\",\"desc\":\"(618限时9折)\"},{\"uniqueId\":\"4776391134441\",\"skuId\":\"5027740387804\",\"price\":\"7560\",\"free\":\"false\",\"desc\":\"(618限时9折)\"},{\"uniqueId\":\"4776391134442\",\"skuId\":\"5027740387804\",\"price\":\"11040\",\"free\":\"false\",\"desc\":\"(618限时8折)\"}]}],\"0\":[{\"serviceId\":\"641549643765\",\"standardPresentationV2\":\"true\",\"serviceSkuPrices\":[{\"uniqueId\":\"4776391134440\",\"skuId\":\"5027740387804\",\"price\":\"6390\",\"free\":\"false\",\"desc\":\"(618限时9折)\"},{\"uniqueId\":\"4776391134441\",\"skuId\":\"5027740387804\",\"price\":\"7560\",\"free\":\"false\",\"desc\":\"(618限时9折)\"},{\"uniqueId\":\"4776391134442\",\"skuId\":\"5027740387804\",\"price\":\"11040\",\"free\":\"false\",\"desc\":\"(618限时8折)\"}]}],\"5027740387802\":[{\"serviceId\":\"641549643765\",\"standardPresentationV2\":\"true\",\"serviceSkuPrices\":[{\"uniqueId\":\"4776391134440\",\"skuId\":\"5027740387802\",\"price\":\"6390\",\"free\":\"false\",\"desc\":\"(618限时9折)\"},{\"uniqueId\":\"4776391134441\",\"skuId\":\"5027740387802\",\"price\":\"7560\",\"free\":\"false\",\"desc\":\"(618限时9折)\"},{\"uniqueId\":\"4776391134442\",\"skuId\":\"5027740387802\",\"price\":\"11040\",\"free\":\"false\",\"desc\":\"(618限时8折)\"}]}],\"5027740387803\":[{\"serviceId\":\"641549643765\",\"standardPresentationV2\":\"true\",\"serviceSkuPrices\":[{\"uniqueId\":\"4776391134440\",\"skuId\":\"5027740387803\",\"price\":\"6390\",\"free\":\"false\",\"desc\":\"(618限时9折)\"},{\"uniqueId\":\"4776391134441\",\"skuId\":\"5027740387803\",\"price\":\"7560\",\"free\":\"false\",\"desc\":\"(618限时9折)\"},{\"uniqueId\":\"4776391134442\",\"skuId\":\"5027740387803\",\"price\":\"11040\",\"free\":\"false\",\"desc\":\"(618限时8折)\"}]}],\"4957457231879\":[{\"serviceId\":\"641549643765\",\"standardPresentationV2\":\"true\",\"serviceSkuPrices\":[{\"uniqueId\":\"4776391134440\",\"skuId\":\"4957457231879\",\"price\":\"6390\",\"free\":\"false\",\"desc\":\"(618限时9折)\"},{\"uniqueId\":\"4776391134441\",\"skuId\":\"4957457231879\",\"price\":\"7560\",\"free\":\"false\",\"desc\":\"(618限时9折)\"},{\"uniqueId\":\"4776391134442\",\"skuId\":\"4957457231879\",\"price\":\"11040\",\"free\":\"false\",\"desc\":\"(618限时8折)\"}]}]},\"sku2StandardServiceV2\":{\"5027740387804\":{\"641549643765:4776391134442\":{\"uniqueId\":\"4776391134442\",\"serviceId\":\"641549643765\",\"price\":\"11040\",\"free\":\"false\",\"desc\":\"(618限时8折)\",\"cells\":\"false\"},\"641549643765:4776391134441\":{\"uniqueId\":\"4776391134441\",\"serviceId\":\"641549643765\",\"price\":\"7560\",\"free\":\"false\",\"desc\":\"(618限时9折)\",\"cells\":\"false\"},\"641549643765:4776391134440\":{\"uniqueId\":\"4776391134440\",\"serviceId\":\"641549643765\",\"price\":\"6390\",\"free\":\"false\",\"desc\":\"(618限时9折)\",\"cells\":\"false\"}},\"0\":{\"641549643765:4776391134442\":{\"uniqueId\":\"4776391134442\",\"serviceId\":\"641549643765\",\"price\":\"11040\",\"free\":\"false\",\"desc\":\"(618限时8折)\",\"cells\":\"false\"},\"641549643765:4776391134441\":{\"uniqueId\":\"4776391134441\",\"serviceId\":\"641549643765\",\"price\":\"7560\",\"free\":\"false\",\"desc\":\"(618限时9折)\",\"cells\":\"false\"},\"641549643765:4776391134440\":{\"uniqueId\":\"4776391134440\",\"serviceId\":\"641549643765\",\"price\":\"6390\",\"free\":\"false\",\"desc\":\"(618限时9折)\",\"cells\":\"false\"}},\"5027740387802\":{\"641549643765:4776391134442\":{\"uniqueId\":\"4776391134442\",\"serviceId\":\"641549643765\",\"price\":\"11040\",\"free\":\"false\",\"desc\":\"(618限时8折)\",\"cells\":\"false\"},\"641549643765:4776391134441\":{\"uniqueId\":\"4776391134441\",\"serviceId\":\"641549643765\",\"price\":\"7560\",\"free\":\"false\",\"desc\":\"(618限时9折)\",\"cells\":\"false\"},\"641549643765:4776391134440\":{\"uniqueId\":\"4776391134440\",\"serviceId\":\"641549643765\",\"price\":\"6390\",\"free\":\"false\",\"desc\":\"(618限时9折)\",\"cells\":\"false\"}},\"5027740387803\":{\"641549643765:4776391134442\":{\"uniqueId\":\"4776391134442\",\"serviceId\":\"641549643765\",\"price\":\"11040\",\"free\":\"false\",\"desc\":\"(618限时8折)\",\"cells\":\"false\"},\"641549643765:4776391134441\":{\"uniqueId\":\"4776391134441\",\"serviceId\":\"641549643765\",\"price\":\"7560\",\"free\":\"false\",\"desc\":\"(618限时9折)\",\"cells\":\"false\"},\"641549643765:4776391134440\":{\"uniqueId\":\"4776391134440\",\"serviceId\":\"641549643765\",\"price\":\"6390\",\"free\":\"false\",\"desc\":\"(618限时9折)\",\"cells\":\"false\"}},\"4957457231879\":{\"641549643765:4776391134442\":{\"uniqueId\":\"4776391134442\",\"serviceId\":\"641549643765\",\"price\":\"11040\",\"free\":\"false\",\"desc\":\"(618限时8折)\",\"cells\":\"false\"},\"641549643765:4776391134441\":{\"uniqueId\":\"4776391134441\",\"serviceId\":\"641549643765\",\"price\":\"7560\",\"free\":\"false\",\"desc\":\"(618限时9折)\",\"cells\":\"false\"},\"641549643765:4776391134440\":{\"uniqueId\":\"4776391134440\",\"serviceId\":\"641549643765\",\"price\":\"6390\",\"free\":\"false\",\"desc\":\"(618限时9折)\",\"cells\":\"false\"}}},\"standardServiceV2\":[{\"title\":\"保障服务\",\"items\":[{\"serviceId\":\"641549643765\",\"name\":\"延长保修\",\"desc\":\"(性能故障延长维修)\",\"standardPresentationV2\":\"true\",\"action\":\"服务说明\",\"actionLink\":\"https://market.m.taobao.com/app/aser/service-intro-webapp/index.html?serviceItemIdentity=641549643765&location=320500\",\"groupName\":\"保障服务\",\"isvService\":\"false\",\"autoSelect\":\"false\",\"mustSelect\":\"false\",\"uniqueServices\":[{\"uniqueId\":\"4776391134440\",\"name\":\"一年\",\"autoSelect\":\"false\"},{\"uniqueId\":\"4776391134441\",\"name\":\"二年\",\"autoSelect\":\"false\"},{\"uniqueId\":\"4776391134442\",\"name\":\"三年\",\"autoSelect\":\"false\"}]}]}],\"multiSelect\":\"true\",\"serviceType\":\"3c\",\"allServices\":[{\"serviceId\":\"641549643765\",\"name\":\"延长保修\",\"desc\":\"(性能故障延长维修)\",\"standardPresentationV2\":\"true\",\"action\":\"服务说明\",\"actionLink\":\"https://market.m.taobao.com/app/aser/service-intro-webapp/index.html?serviceItemIdentity=641549643765&location=320500\",\"groupName\":\"保障服务\",\"isvService\":\"false\",\"autoSelect\":\"false\",\"mustSelect\":\"false\",\"uniqueServices\":[{\"uniqueId\":\"4776391134440\",\"name\":\"一年\",\"autoSelect\":\"false\"},{\"uniqueId\":\"4776391134441\",\"name\":\"二年\",\"autoSelect\":\"false\"},{\"uniqueId\":\"4776391134442\",\"name\":\"三年\",\"autoSelect\":\"false\"}]}],\"name\":\"特色服务\"},\"promotionFloatingData\":{\"detailPromotionTimeDO\":{\"promotionType\":\"NLORMAL\"},\"skuMoney\":{\"skuId\":\"5027740387804\",\"cent\":\"164900\"},\"buyEnable\":\"true\"},\"skuVertical\":{},\"params\":{\"trackParams\":{\"traceId\":\"212d270116556075348866395ef144\",\"promotionType\":\"p-bigMarkdown-*-online\",\"bizParams_V2\":\"2019_contrast,guessYouLike_test,SKU_PROMOTION_test,label_test\",\"serverAbTest\":\"detail_main_video_test_base\",\"shop_id\":\"466989580\",\"itemId\":\"663642903198\",\"detailabtestdetail\":\"161976_24229.267898_131676.199308_24786.161978_33825.152555_163247.162015_28856.272547_52603\",\"picRouteInfo\":\"picUrl::O1CN01F8KSxQ1NFMgHeIKVV_!!2210501791540.jpg&original::1&picType::p11&channel::detail-item&biz::common&itemId::663642903198\",\"price1\":\"1649.00\",\"skuId\":\"5027740387804\"},\"umbParams\":{\"aliBizName\":\"YWxpLmNoaW5hLnRtYWxs\",\"detail_categoryid\":\"50011972.201271882.201268793.50005050\",\"aliBizCode\":\"ali.china.tmall\"},\"utParam\":\"[{\\\"abtest\\\":\\\"161978_33825\\\",\\\"component\\\":\\\"detail_price_label\\\",\\\"releaseId\\\":161978,\\\"module\\\":\\\"label\\\",\\\"cm\\\":\\\"detail_price_label_label\\\",\\\"experimentId\\\":12823,\\\"bucketId\\\":33825,\\\"trackConfigs\\\":\\\"[]\\\"},{\\\"abtest\\\":\\\"272547_52603\\\",\\\"component\\\":\\\"sku_promotion\\\",\\\"releaseId\\\":272547,\\\"module\\\":\\\"2020\\\",\\\"cm\\\":\\\"sku_promotion_2020\\\",\\\"experimentId\\\":19187,\\\"bucketId\\\":52603,\\\"pageName\\\":[\\\"Page_New_SKU\\\",\\\"Page_New_Sku\\\"],\\\"trackConfigs\\\":\\\"[{\\\\\\\"eventIds\\\\\\\":[2001,2101,2201],\\\\\\\"pageNames\\\\\\\":[\\\\\\\"Page_New_SKU\\\\\\\",\\\\\\\"Page_New_Sku\\\\\\\"]}]\\\"},{\\\"abtest\\\":\\\"162015_28856\\\",\\\"component\\\":\\\"detail_promotion_floatview\\\",\\\"releaseId\\\":162015,\\\"module\\\":\\\"2019\\\",\\\"cm\\\":\\\"detail_promotion_floatview_2019\\\",\\\"experimentId\\\":10795,\\\"bucketId\\\":28856,\\\"trackConfigs\\\":\\\"[]\\\"},{\\\"abtest\\\":\\\"272547_52603\\\",\\\"component\\\":\\\"sku_promotion\\\",\\\"releaseId\\\":272547,\\\"module\\\":\\\"2020\\\",\\\"cm\\\":\\\"sku_promotion_2020\\\",\\\"experimentId\\\":19187,\\\"bucketId\\\":52603,\\\"pageName\\\":[\\\"Page_New_SKU\\\",\\\"Page_New_Sku\\\"],\\\"trackConfigs\\\":\\\"[{\\\\\\\"eventIds\\\\\\\":[2001,2101,2201],\\\\\\\"pageNames\\\\\\\":[\\\\\\\"Page_New_SKU\\\\\\\",\\\\\\\"Page_New_Sku\\\\\\\"]}]\\\"},{\\\"abtest\\\":\\\"161976_24229\\\",\\\"component\\\":\\\"2019\\\",\\\"releaseId\\\":161976,\\\"module\\\":\\\"guessYouLike\\\",\\\"cm\\\":\\\"2019_guessYouLike\\\",\\\"experimentId\\\":9125,\\\"bucketId\\\":24229,\\\"pageName\\\":[\\\"detail\\\"],\\\"trackConfigs\\\":\\\"[{\\\\\\\"eventIds\\\\\\\":[2001,2101,2201],\\\\\\\"pageNames\\\\\\\":[\\\\\\\"detail\\\\\\\"]}]\\\"},{\\\"abtest\\\":\\\"267898_131676\\\",\\\"component\\\":\\\"itemAction\\\",\\\"releaseId\\\":267898,\\\"module\\\":\\\"itemAction\\\",\\\"cm\\\":\\\"itemAction_itemAction\\\",\\\"experimentId\\\":24985,\\\"bucketId\\\":131676,\\\"pageName\\\":[\\\"Page_Detail\\\"],\\\"trackConfigs\\\":\\\"[{\\\\\\\"eventIds\\\\\\\":[2001,2101,2201],\\\\\\\"pageNames\\\\\\\":[\\\\\\\"Page_Detail\\\\\\\"]}]\\\"},{\\\"abtest\\\":\\\"152555_163247\\\",\\\"component\\\":\\\"slice_into_suggestion\\\",\\\"releaseId\\\":152555,\\\"module\\\":\\\"2020_6\\\",\\\"cm\\\":\\\"slice_into_suggestion_2020_6\\\",\\\"experimentId\\\":20373,\\\"bucketId\\\":163247,\\\"pageName\\\":[\\\"Page_Detail\\\"],\\\"trackConfigs\\\":\\\"[{\\\\\\\"eventIds\\\\\\\":[2001,2101,2201],\\\\\\\"pageNames\\\\\\\":[\\\\\\\"Page_Detail\\\\\\\"]}]\\\"}]\"},\"skuTransform\":{\"skuContents\":[{\"img\":\"//gw.alicdn.com/bao/uploaded/i4/2210501791540/O1CN01GDiuF11NFMhGi0bpN_!!2210501791540.png\"},{\"img\":\"//gw.alicdn.com/bao/uploaded/i4/2210501791540/O1CN01hB3RTN1NFMhErAzrP_!!2210501791540.png\"},{\"img\":\"//gw.alicdn.com/bao/uploaded/i2/2210501791540/O1CN01sO6cVs1NFMhGi3IEa_!!2210501791540.png\"},{\"img\":\"//gw.alicdn.com/bao/uploaded/i3/2210501791540/O1CN01vEnexa1NFMhAEWIq0_!!2210501791540.png\"}],\"extraText\":\"共4种颜色分类可选\"},\"diversion\":{},\"otherInfo\":{\"bucketId\":\"0\",\"systemTime\":\"1655607535043\"},\"layout\":{},\"modules\":[],\"debug\":{\"type\":\"B\",\"status\":\"callback_success\",\"from\":\"malldetailskip\",\"construct\":\"malldetailskipdata\",\"version\":\"tcloud\",\"finalUltron\":\"false\"}}"   }   ],   "props": {   "groupProps": [   {   "基本信息": [   {   "品牌": "JBL"   },   {   "型号": "REFLECTFLOWPRO"   },   {   "耳机材质": "塑料"   },   {   "蓝牙版本": "5.0"   },   {   "颜色分类": "黑色 蓝色 白色 粉色"   },   {   "套餐类型": "官方标配"   },   {   "生产企业": "中国哈曼"   },   {   "耳机类别": "主动降噪耳机"   },   {   "防水性能": "Ipx8"   },   {   "使用方式": "入耳式"   },   {   "保修期": "12个月"   },   {   "防尘性能": "IP6X"   }   ]   }   ]   },   "mockData": "{\"delivery\":{},\"trade\":{\"buyEnable\":true,\"cartEnable\":true},\"feature\":{\"hasSku\":true,\"showSku\":true},\"price\":{\"price\":{\"priceText\":\"1649.00\"}},\"skuCore\":{\"sku2info\":{\"5027740387804\":{\"price\":{\"priceMoney\":164900,\"priceText\":\"1649.00\",\"priceTitle\":\"价格\"},\"quantity\":100},\"0\":{\"price\":{\"priceMoney\":164900,\"priceText\":\"1649.00\",\"priceTitle\":\"价格\"},\"quantity\":400},\"5027740387802\":{\"price\":{\"priceMoney\":164900,\"priceText\":\"1649.00\",\"priceTitle\":\"价格\"},\"quantity\":100},\"5027740387803\":{\"price\":{\"priceMoney\":164900,\"priceText\":\"1649.00\",\"priceTitle\":\"价格\"},\"quantity\":100},\"4957457231879\":{\"price\":{\"priceMoney\":164900,\"priceText\":\"1649.00\",\"priceTitle\":\"价格\"},\"quantity\":100}},\"skuItem\":{\"hideQuantity\":true}}}",   "rate": {   "keywords": [   {   "count": "2",   "attribute": "20091001-11",   "type": "1",   "word": "品质不输原版"   },   {   "count": "3",   "attribute": "20161004-11",   "type": "1",   "word": "重低音效果好"   },   {   "count": "11",   "attribute": "20101007-11",   "type": "1",   "word": "续航力持久"   },   {   "count": "20",   "attribute": "20161000-11",   "type": "1",   "word": "音质特别好"   },   {   "count": "5",   "attribute": "20161005-11",   "type": "1",   "word": "音响效果很好"   },   {   "count": "2",   "attribute": "20051005-13",   "type": "-1",   "word": "佩戴不舒服"   }   ],   "rateList": [   {   "dateTime": "2022-06-14",   "feedId": "1177666372262",   "memberLevel": "4",   "createTimeInterval": "4天前",   "blackCardUserUrl": "//img.alicdn.com/tfs/TB1wrG1elv0gK0jSZKbXXbK2FXa-225-96.png",   "userName": "z**6",   "headPic": "//wwc.alicdn.com/avatar/getAvatar.do?userIdStr=vFkSPFHuXH*evF8LPmHSXm8LP8k4vGPhPGMeXmQWOmvuvGP-vC7zPFkuPGguP07-&width=40&height=40&type=sns",   "skuInfo": "套餐类型:官方标配;颜色分类:白色",   "content": "佩戴感受:大小合适。佩戴舒服。 续航能力:续航能力强!完全满足需要。 外观材质:造型太帅了!!!非常时尚! ",   "isVip": "true",   "tmallMemberLevel": "0"   },   {   "dateTime": "2022-06-09",   "feedId": "1177966354244",   "memberLevel": "4",   "createTimeInterval": "9天前",   "userName": "q**6",   "headPic": "//wwc.alicdn.com/avatar/getAvatar.do?userIdStr=vGNuOHcWv88YXF-HPmvbM0cWvGkuMChzMHg0vC8GvGI0vFv4vFMhPHgSPFN4PF9e&width=40&height=40&type=sns",   "skuInfo": "套餐类型:官方标配;颜色分类:蓝色",   "content": "续航能力:续航持久,真无线耳机中续航的王者 外观材质:外形美丽,精致,爱了! 佩戴感受:狂甩不掉,佩戴舒适! ",   "isVip": "false",   "tmallMemberLevel": "0"   }   ],   "utFeedId": "1177666372262_1177966354244",   "invite": {   "showInvite": "false",   "inviteText": ""   },   "totalCount": "100 "   },   "props2": {},   "skuBase": {   "skus": [   {   "propPath": "1627207:28341;5919063:6536025",   "skuId": "5027740387804"   },   {   "propPath": "1627207:28338;5919063:6536025",   "skuId": "5027740387803"   },   {   "propPath": "1627207:28323;5919063:6536025",   "skuId": "4957457231879"   },   {   "propPath": "1627207:28320;5919063:6536025",   "skuId": "5027740387802"   }   ],   "props": [   {   "values": [   {   "vid": "28341",   "image": "//img.alicdn.com/imgextra/i4/2210501791540/O1CN01GDiuF11NFMhGi0bpN_!!2210501791540.png",   "name": "黑色"   },   {   "vid": "28338",   "image": "//img.alicdn.com/imgextra/i4/2210501791540/O1CN01hB3RTN1NFMhErAzrP_!!2210501791540.png",   "name": "蓝色"   },   {   "vid": "28323",   "image": "//img.alicdn.com/imgextra/i2/2210501791540/O1CN01sO6cVs1NFMhGi3IEa_!!2210501791540.png",   "name": "粉色"   },   {   "vid": "28320",   "image": "//img.alicdn.com/imgextra/i3/2210501791540/O1CN01vEnexa1NFMhAEWIq0_!!2210501791540.png",   "name": "白色"   }   ],   "name": "颜色分类",   "pid": "1627207"   },   {   "values": [   {   "vid": "6536025",   "name": "官方标配"   }   ],   "name": "套餐类型",   "pid": "5919063"   }   ]   }   },   "state": true   }

  响应参数:

  data.productTitle

  string

  商品标题

  data.productId

  string

  商品ID

  data.sellerId

  string

  卖家ID

  data.productImg

  string

  商品主图

  data.shopName

  string

  店铺名称

  data.shopId

  string

  店铺ID

  data.shopWw

  string

  掌柜旺旺

  data.categoryId

  string

  分类ID

  data.defPrice

  string

  商品价格

  data.shopLogo

  string

  店铺LOGO

  data.shopType

  string

  店铺类型

  以上就是今天要分享的淘宝商品详情页API接口代码全部内容,本文仅仅简单介绍了淘宝商品详情API接口代码的使用,还是需要大家动动手线上调试一下!


淘宝商品详情页API接口代码的评论 (共 条)

分享到微博请遵守国家法律