根据指定商品ID查询商品详细信息
(1)商品集合最大个数为10
(2)支持是否返回商品头图和详情图,库存,口碑(点评),店铺,参与的活动,预付信息
(3)支持是否扩展查询同spu下其它商品信息
接口地址:
http://api.tbk.dingdanxia.com/vip/item_info2
在线测试
接口支持https,非大陆服务器(含港澳台)调用接口会出现网络缓慢现象,请联系客服获取国外专线接口
请求参数、 调用方式 GET/POST
参数接口
参数类型
必填
示例
说明
返回参数说明
标记
类型
例子
说明
返回示例
{ "code":200, "msg":"请求成功【success】", "data":[ { "marketPrice":"599.00", "commissionRate":"10", "goodsId":"6918663350057259160", "discount":"0.70", "goodsCarouselPictures":[ "https://a.vpimg3.com/upload/merchandise/pdcvis/618313/2020/1217/170/da4d5a87-abb0-4c05-8961-3a5547a4b601_750x750_75.jpg", "https://a.vpimg3.com/upload/merchandise/pdcvis/609504/2019/1111/121/7147d93c-2ddb-4f46-9032-813d091c3c57_750x750_75.jpg", "https://a.vpimg3.com/upload/merchandise/pdcvis/609504/2019/1111/32/9a356f36-671a-404b-a3aa-04de92991a47_750x750_75.jpg", "https://a.vpimg4.com/upload/merchandise/pdcvis/618313/2020/1217/90/27cbac74-585d-4ac7-b2e2-1a04e608d7f2_750x750_75.jpg", "https://a.vpimg3.com/upload/merchandise/pdcvis/618313/2020/1217/1/e1bfcc5f-afc9-413f-bb98-fb9ce7700ccd_750x750_75.jpg", "https://a.vpimg4.com/upload/merchandise/pdcvis/618313/2020/0914/32/260bee1c-5b40-4839-b16d-45fd960dfa1c_750x750_75.jpg", "https://a.vpimg4.com/upload/merchandise/pdcvis/618313/2020/0914/186/dc052242-3530-4038-8575-6a52528793ad_750x750_75.jpg", "https://a.vpimg4.com/upload/merchandise/pdcvis/618313/2020/0914/177/8afcff64-191d-41a2-9000-cb45670f2a22_750x750_75.jpg", "https://a.vpimg4.com/upload/merchandise/pdcvis/618313/2020/0914/178/ab214d18-6718-4fd6-bd32-73a7355db4bb_750x750_75.jpg", "https://a.vpimg4.com/upload/merchandise/pdcvis/618313/2020/0914/21/9446c1f5-b5a1-4c67-a93e-af5ff66a2671_750x750_75.jpg", "https://a.vpimg4.com/upload/merchandise/pdcvis/618313/2020/0914/84/701a20c9-a071-4c34-b782-209052808cd7_750x750_75.jpg" ], "goodsDetailPictures":[ "https://a.vpimg4.com/upload/merchandise/pdcvis/618313/2020/1217/55/ae716faa-eeac-4035-b11f-186325be0355.jpg", "https://a.vpimg4.com/upload/merchandise/pdcvis/618313/2020/1217/105/ab040f3f-cb81-49a9-8b1d-6e90990a6158.jpg", "https://a.vpimg2.com/upload/merchandise/pdcvis/618313/2020/1217/160/ae584f4b-777b-46d6-929f-9279b08912f2.jpg", "https://a.vpimg4.com/upload/merchandise/pdcvis/618313/2020/1217/79/409f6e26-d95f-463a-8be5-df5be9ce28f3.jpg", "https://a.vpimg3.com/upload/merchandise/pdcvis/618313/2020/1217/11/4043a179-69e9-46dc-a5e5-1211e59d38d7.jpg", "https://a.vpimg3.com/upload/merchandise/pdcvis/618313/2020/1217/37/af178a5a-18b9-41f9-8b9a-7c1e1f0af6ec.jpg", "https://a.vpimg4.com/upload/merchandise/pdcvis/618313/2020/1217/89/d925372c-1519-4044-93ff-07c8a17041f0.jpg", "https://a.vpimg3.com/upload/merchandise/pdcvis/618313/2020/1217/142/06cbece0-54ab-4750-b4e5-60830f650cc5.jpg", "https://a.vpimg2.com/upload/merchandise/pdcvis/618313/2020/1217/74/afaa8e96-aebf-4125-9d34-5f615f3cb919.jpg", "https://a.vpimg4.com/upload/merchandise/pdcvis/618313/2020/1217/196/8f7cd72c-e3df-4167-975f-7ebd936894a8.jpg", "https://a.vpimg3.com/upload/merchandise/pdcvis/618313/2020/1217/28/108dc28d-10bd-4dd6-9534-b9fe5e075d9b.jpg", "https://a.vpimg2.com/upload/merchandise/pdcvis/618313/2020/1217/167/8620f20f-533d-40ea-99d2-d458b45c2beb.jpg", "https://a.vpimg3.com/upload/merchandise/pdcvis/618313/2020/1217/126/d30f0af1-40e1-41c3-9630-1e0f39e86df2.jpg", "https://a.vpimg4.com/upload/merchandise/pdcvis/618313/2020/1217/67/627d145f-56fd-45b4-8792-94c9170e056b.jpg", "https://a.vpimg2.com/upload/merchandise/pdcvis/618313/2020/1217/43/4e8b34a6-aa9f-4eaf-9654-564f1c8f5b6a.jpg", "https://a.vpimg2.com/upload/merchandise/pdcvis/618313/2020/1217/156/78db2c0d-9fd4-4720-af6a-b41d8ab841dc.jpg", "https://a.vpimg2.com/upload/merchandise/pdcvis/618313/2020/1217/181/067b20ee-7c3b-4947-8e30-9f50f5f8178d.jpg", "https://a.vpimg3.com/upload/merchandise/pdcvis/618313/2020/1217/191/c02863ef-8b1d-45d2-9545-886fbf729c85.jpg" ], "categoryName":"运动休闲鞋", "haiTao":0, "cat2ndName":"运动鞋", "cat1stName":"运动户外", "vipPrice":"399.00", "commission":"39.90", "cat1stId":1056, "goodsName":"【春季爆款】斯凯奇女鞋明星同款经典熊猫鞋老爹鞋女休闲鞋", "storeServiceCapability":{ "storeScore":"98.00", "storeRankRate":"1.00" }, "brandName":"斯凯奇", "brandLogoFull":"http://a.vpimg3.com/upload/brandcool/0/cb26a130bbc348f09fd99884636808a9/10000721/primary.png", "couponInfo":{ "useEndTime":1617242400000, "totalAmount":1000000, "couponName":"斯凯奇体用红包", "activateEndTime":1617242400000, "buy":"40.00", "useBeginTime":1617069600000, "couponNo":"1504212", "fav":"40.00", "activateBeginTime":1616983200000, "activedAmount":2214 }, "brandStoreSn":"10000721", "skuInfos":[ { "sizeId":"6918663350057263256", "marketPrice":"599", "vipPrice":"399", "saleProps":{ "134":"黑色/白色", "453":"39.5" } }, { "sizeId":"6918663352314163352", "marketPrice":"599", "vipPrice":"399", "saleProps":{ "134":"黑色/白色", "453":"38.5" } }, { "sizeId":"6918663352701571224", "marketPrice":"599", "vipPrice":"399", "saleProps":{ "134":"黑色/白色", "453":"40" } }, { "sizeId":"6918663352752066712", "marketPrice":"599", "vipPrice":"399", "saleProps":{ "134":"黑色/白色", "453":"38" } }, { "sizeId":"6918663353307820184", "marketPrice":"599", "vipPrice":"399", "saleProps":{ "134":"黑色/白色", "453":"36" } }, { "sizeId":"6918663354149798040", "marketPrice":"599", "vipPrice":"399", "saleProps":{ "134":"黑色/白色", "453":"41" } }, { "sizeId":"6918663354991739032", "marketPrice":"599", "vipPrice":"399", "saleProps":{ "134":"黑色/白色", "453":"36.5" } }, { "sizeId":"6918663355985334424", "marketPrice":"599", "vipPrice":"399", "saleProps":{ "134":"黑色/白色", "453":"37.5" } }, { "sizeId":"6918663356119986328", "marketPrice":"599", "vipPrice":"399", "saleProps":{ "134":"黑色/白色", "453":"37" } }, { "sizeId":"6918663358999220376", "marketPrice":"599", "vipPrice":"399", "saleProps":{ "134":"黑色/白色", "453":"35.5" } }, { "sizeId":"6918663359925268632", "marketPrice":"599", "vipPrice":"399", "saleProps":{ "134":"黑色/白色", "453":"39" } }, { "sizeId":"6918663362518347928", "marketPrice":"599", "vipPrice":"399", "saleProps":{ "134":"黑色/白色", "453":"35" } } ], "sellTimeFrom":1582345960000, "schemeStartTime":1617069600000, "commentsInfo":{ "comments":1417, "goodCommentsShare":"94.00" }, "schemeEndTime":1617156000000, "sourceType":0, "sellTimeTo":1735660800000, "brandId":1711197624, "goodsThumbUrl":"https://a.vpimg4.com/upload/merchandise/pdcvis/618313/2020/1217/170/da4d5a87-abb0-4c05-8961-3a5547a4b601_750x750_50.jpg", "cat2ndId":384271, "spuId":"SPU-080D92B880280167", "storeInfo":{ "storeName":"唯品自营", "storeId":"ST00000" }, "goodsMainPicture":"https://a.vpimg4.com/upload/merchandise/pdcvis/618313/2020/1217/170/da4d5a87-abb0-4c05-8961-3a5547a4b601.jpg", "destUrl":"https://m.vip.com/product-1711197624-6918663350057259160.html", "categoryId":384337, "status":0 }, { "marketPrice":"599.00", "commissionRate":"10", "goodsId":"6919027175172422552", "discount":"0.62", "goodsCarouselPictures":[ "https://a.vpimg3.com/upload/merchandise/pdcvis/2020/10/29/165/2e252ce9-af69-44f1-b3cd-ac52a4e9582d_750x750_75.jpg", "https://a.vpimg2.com/upload/merchandise/pdcvis/2020/10/29/8/ccbe23f7-ab0f-4e49-b331-ff59dd3db1d8_750x750_75.jpg", "https://a.vpimg4.com/upload/merchandise/pdcvis/2020/10/29/77/1e8e4830-6898-40e6-8f96-de4ee02ec815_750x750_75.jpg", "https://a.vpimg3.com/upload/merchandise/pdcvis/2020/10/29/170/3175647b-0624-4993-8166-2a6497a18d94_750x750_75.jpg", "https://a.vpimg2.com/upload/merchandise/pdcvis/2020/10/29/50/c73b88ee-2009-4d6d-a5e2-6b4512e3174e_750x750_75.jpg", "https://a.vpimg2.com/upload/merchandise/pdcvis/2020/10/29/33/f0559149-ad42-46a7-b2a7-81b4256515d8_750x750_75.jpg", "https://a.vpimg2.com/upload/merchandise/pdcvis/2020/10/29/17/5acc054d-4740-4788-810f-c4b86b5b158c_750x750_75.jpg" ], "goodsDetailPictures":[ "https://a.vpimg3.com/upload/merchandise/pdcvis/2020/10/29/8/ccbe23f7-ab0f-4e49-b331-ff59dd3db1d8_750x750_50.jpg" ], "categoryName":"运动休闲鞋", "haiTao":0, "cat2ndName":"运动鞋", "cat1stName":"运动户外", "vipPrice":"278.00", "commission":"27.80", "cat1stId":1056, "goodsName":"斯凯奇JEREMYVILLE联名款女子时尚中帮帆布鞋", "storeServiceCapability":{ "storeScore":"98.00", "storeRankRate":"1.00" }, "brandName":"斯凯奇", "brandLogoFull":"http://a.vpimg3.com/upload/brandcool/0/cb26a130bbc348f09fd99884636808a9/10000721/primary.png", "brandStoreSn":"10000721", "skuInfos":[ { "sizeId":"6919027175172426648", "marketPrice":"599", "vipPrice":"278", "saleProps":{ "134":"黑色", "453":"36" } }, { "sizeId":"6919027175846181784", "marketPrice":"599", "vipPrice":"278", "saleProps":{ "134":"黑色", "453":"39" } }, { "sizeId":"6919027175862987672", "marketPrice":"599", "vipPrice":"278", "saleProps":{ "134":"黑色", "453":"37" } }, { "sizeId":"6919027176098679704", "marketPrice":"599", "vipPrice":"278", "saleProps":{ "134":"黑色", "453":"38.5" } }, { "sizeId":"6919027176115522456", "marketPrice":"599", "vipPrice":"278", "saleProps":{ "134":"黑色", "453":"36.5" } }, { "sizeId":"6919027176132393880", "marketPrice":"599", "vipPrice":"278", "saleProps":{ "134":"黑色", "453":"35.5" } }, { "sizeId":"6919027176149220248", "marketPrice":"599", "vipPrice":"278", "saleProps":{ "134":"黑色", "453":"38" } }, { "sizeId":"6919027176182852504", "marketPrice":"599", "vipPrice":"278", "saleProps":{ "134":"黑色", "453":"35" } }, { "sizeId":"6919027176670858136", "marketPrice":"599", "vipPrice":"278", "saleProps":{ "134":"黑色", "453":"37.5" } }, { "sizeId":"6919027176721292184", "marketPrice":"599", "vipPrice":"278", "saleProps":{ "134":"黑色", "453":"40" } } ], "sellTimeFrom":1582345960000, "schemeStartTime":1617069600000, "commentsInfo":{ "comments":24, "goodCommentsShare":"100.00" }, "schemeEndTime":1617156000000, "sourceType":0, "sellTimeTo":1735660800000, "brandId":1711197624, "goodsThumbUrl":"https://a.vpimg3.com/upload/merchandise/pdcvis/2020/10/29/8/ccbe23f7-ab0f-4e49-b331-ff59dd3db1d8_750x750_50.jpg", "cat2ndId":384271, "spuId":"SPU-0AA02100800000E7", "storeInfo":{ "storeName":"唯品自营", "storeId":"ST00000" }, "goodsMainPicture":"https://a.vpimg3.com/upload/merchandise/pdcvis/2020/10/29/8/ccbe23f7-ab0f-4e49-b331-ff59dd3db1d8.jpg", "destUrl":"https://m.vip.com/product-1711197624-6919027175172422552.html", "categoryId":384337, "status":1 } ] }
返回错误码说明
错误码
错误描述
解决办法
200
返回成功
-1
数据返回失败
请查看 msg 返回提示
4001
接口秘钥不能为空
请传入接口秘钥
4002
接口秘钥出错
登录后台查看接口秘钥是否一致
4003
参数不正确
请检查参数是否符合文档要求
4004
服务已到期请及时续费
登录后台续费
4005
该接口当日调用量已超限
升级套餐
4006
无权调用该接口
升级套餐
4007
接口不存在
4009
点卡已用完
请登录控制台-服务购买-充值点卡
4010
请购买接口次数包才能调用此接口
需充值次数包
4011
次数包已用完,请重新购买
需充值次数包
4012
请求客户端ip未加入白名单
将ip加入白名单
4013
联盟账号授权已过期
请登录控制台【授权管理】下重新授权您的相关账号
4014
PID异常
请登录控制台【授权管理】-【淘宝授权】,检查您的推广位PID是否填写,或是否填写正确。
4015
系统异常
服务端处理异常,请等待......或联系网站在线客服反馈。
4017
请求拒绝
调用请求被拒绝,您的账号状态存在异常,请联系平台管理员解除限制。