微店API接口:
- item_search 根据关键词取商品列表
- item_search_shop 获得店铺的所有商品
- item_get 获得微店商品详情
调用关键字搜索商品接口item_search,传关键字“徒步鞋”,响应数据如下:
"items": {"q": "徒步鞋","page": "1","page_size": 11,"real_total_results": 2238,"total_results": 2238,"pagecount": 203,"_ddf": "fb","item": [{"title": "【T.JIA纯原 只做原版】KEEN户外鞋 户外登山鞋 科恩户外鞋 徒步鞋 男女同款","num_iid": "7291660457","pic_url": "https://si.geilicdn.com/wdseller901806863951-761200000196b39947850a2303ee_1284_1712.jpg","sales": 23000,"shop_id": "1614178768","seller_nick": "T.JIA原鞋供货【上海仓】","price": 296.2,"orginal_price": 340,"detail_url": "https://weidian.com/item.html?itemID=7291660457"},{"title": "【现货秒发 送运费险】 salomon萨洛蒙XTQuest Advanced XA 3D XT6 户外徒步鞋男女运动休闲鞋沙场灰户外运动鞋网布减震防滑耐磨透气男女情侣百搭休闲运动鞋","num_iid": "7506493778","pic_url": "https://si.geilicdn.com/pcitem1663300497-091300000197e9cd292c0a207569_1200_1200.jpg","sales": 1000,"shop_id": "1859189062","seller_nick": "小熊熊名品","price": 376,"orginal_price": 1586,"detail_url": "https://weidian.com/item.html?itemID=7506493778"},{"title": "原出口订单滞留 【青春没有售价 徒步还需努力】3M反光 山地机能鞋 ACG一代 男女同款 徒步越野登山运动鞋(偏大一码)\n","num_iid": "7462888485","pic_url": "https://si.geilicdn.com/wdseller1183518863-0a7700000196be018bff0a210349_1240_1240.jpg","sales": 175,"shop_id": "1183518863","seller_nick": "GD球鞋玩家","price": 84.28,"orginal_price": 86,"detail_url": "https://weidian.com/item.html?itemID=7462888485"},{"title": "【Nice家】SALOMON XT WHISPER萨洛蒙户外休闲运动鞋萨洛蒙系列 户外登山鞋休闲运动鞋情侣款萨洛蒙拼色休闲运动鞋小白鞋女萨洛蒙轻便运动鞋女","num_iid": "7492705349","pic_url": "https://si.geilicdn.com/open1704220361-1234478995-04e6000001978141ad7d0a23b4de_2100_2450.jpg","sales": 1000,"shop_id": "1704220361","seller_nick": "Nice家🔝轻奢鞋仓","price": 626.84,"orginal_price": 658,"detail_url": "https://weidian.com/item.html?itemID=7492705349"},{"title": "【内附细节 支持实拍】科恩鞋KEEN Jasper 麂皮山系科恩登山徒步鞋 减震防滑 户外功能鞋","num_iid": "7233231493","pic_url": "https://si.geilicdn.com/pcitem1588272263-276100000195fac18cae0a20e273_1200_1200.jpg","sales": 1000,"shop_id": "1746170386","seller_nick": "歪门鞋道 Max","price": 318.2,"orginal_price": 340,"detail_url": "https://weidian.com/item.html?itemID=7233231493"},{"title": "KAILAS凯乐石界山透气低帮登山徒步鞋户外运动鞋男女同款","num_iid": "7445328081","pic_url": "https://si.geilicdn.com/wdseller1937634897-72c000000196cb3fe9700a81347d_1170_1559.jpg","sales": 512,"shop_id": "1674079661","seller_nick": "月球上的人","price": 118,"orginal_price": 118,"detail_url": "https://weidian.com/item.html?itemID=7445328081"},{"title": "【T.JIA纯原 只做原版】KEEN户外鞋 户外登山鞋 科恩户外鞋 徒步鞋 男女同款","num_iid": "7291660457","pic_url": "https://si.geilicdn.com/wdseller901806863951-761200000196b39947850a2303ee_1284_1712.jpg","sales": null,"shop_id": "1614178768","seller_nick": "T.JIA原鞋供货【上海仓】","price": 316.2,"orginal_price": 340,"detail_url": "https://weidian.com/item.html?itemID=7291660457"},{"title": "【AJCLUB渠道天花板品质】Salom 萨洛蒙XT6 Expanse XT-Quest 户外鞋越野功能鞋 复古机能鞋登山鞋徒步鞋透气休闲运动鞋跑步鞋男女","num_iid": "7508774233","pic_url": "https://si.geilicdn.com/open1791928948-1234478995-75cd000001980e9803740a8133b0_800_800.jpg","sales": 1000,"shop_id": "1791928948","seller_nick": "AJCLUB【顶端制造】","price": 429,"orginal_price": 449,"detail_url": "https://weidian.com/item.html?itemID=7508774233"},{"title": "【内附细节 支持实拍】亚瑟士/ASICS GEL-Quantum Kinetic 跑步鞋 量子动能系列轻量GEL缓震胶全掌气垫鞋效果专业休闲跑步休闲鞋户外鞋 ","num_iid": "7233272883","pic_url": "https://si.geilicdn.com/pcitem1588272263-0da600000190072390410a20e7c7_1280_1280.jpg","sales": 1000,"shop_id": "1746170386","seller_nick": "歪门鞋道 Max","price": 345.6,"orginal_price": 368,"detail_url": "https://weidian.com/item.html?itemID=7233272883"},{"title": "轻量化跑鞋#【无标平替系列】凯乐 EX3同款 户外 越野 徒步 防滑减震 全地形运动鞋 轻便跑步鞋 男女款 912#","num_iid": "7393957140","pic_url": "https://si.geilicdn.com/open1303790680-1234478995-795d0000019518af5f4a0a23b4de_1290_1290.jpg","sales": 69,"shop_id": "1303790680","seller_nick": "草帽出品【八点开拍】🎩","price": 94,"orginal_price": 99,"detail_url": "https://weidian.com/item.html?itemID=7393957140"},{"title": "【最高版本】SALOMON/萨洛蒙XT Quest Advanced户外徒步鞋XA PRO 3D ADV 低帮功能鞋防水跑步鞋越野登山鞋米灰白色黑色银色卡其香草色斑鸠绿合金灰沙场灰灰草绿黑武士男鞋女鞋","num_iid": "7477084228","pic_url": "https://si.geilicdn.com/pcitem1930855105-3cfc0000019614a2179f0a2301b4_750_750.jpg","sales": 1000,"shop_id": "1808892877","seller_nick": "XW向往体育","price": 403,"orginal_price": 438,"detail_url": "https://weidian.com/item.html?itemID=7477084228"}]},
![点击并拖拽以移动]()
调用获取商品详情接口item_get,传商品id:7508774233,数据太多,展示以下部分响应数据。
"sales": 1000,"seller_info": {"nick": "AJCLUB顶端制造","shop_name": "AJCLUB顶端制造","title": "AJCLUB顶端制造","user_num_id": 1791928948,"zhuy": "https://weidian.com/?userid=1791928948"},"shop_id": 1791928948,"skus": {"sku": [{"orginal_price": "449.00","price": "449.00","properties": "0:9618879326;1:9616678995","properties_name": "0:9618879326:颜色:黑银防水;1:9616678995:鞋码:36","quantity": 2097,"sku_id": 125206527815},{"orginal_price": "449.00","price": "449.00","properties": "0:9617047325;1:9616678995","properties_name": "0:9617047325:颜色:黑灰银防水;1:9616678995:鞋码:36","quantity": 2099,"sku_id": 125206527817},{"orginal_price": "449.00","price": "449.00","properties": "0:9618879328;1:9616678995","properties_name": "0:9618879328:颜色:迷雾蓝;1:9616678995:鞋码:36","quantity": 2096,"sku_id": 125206527819},{"orginal_price": "449.00","price": "449.00","properties": "0:9617047327;1:9616678995","properties_name": "0:9617047327:颜色:元祖灰;1:9616678995:鞋码:36","quantity": 2099,"sku_id": 125206527821},{"orginal_price": "449.00","price": "449.00","properties": "0:9618879330;1:9616678995","properties_name": "0:9618879330:颜色:日食黑;1:9616678995:鞋码:36","quantity": 2099,"sku_id": 125206527823},{"orginal_price": "449.00","price": "449.00","properties": "0:9617047329;1:9616678995","properties_name": "0:9617047329:颜色:冰川白;1:9616678995:鞋码:36","quantity": 2098,"sku_id": 125206527825},{"orginal_price": "449.00","price": "449.00","properties": "0:9618879332;1:9616678995","properties_name": "0:9618879332:颜色:银色;1:9616678995:鞋码:36","quantity": 2097,"sku_id": 125206527827},{"orginal_price": "449.00","price": "449.00","properties": "0:9617047331;1:9616678995","properties_name": "0:9617047331:颜色:红褐色;1:9616678995:鞋码:36","quantity": 2100,"sku_id": 125206527829},{"orginal_price": "449.00","price": "449.00","properties": "0:9618879334;1:9616678995","properties_name": "0:9618879334:颜色:乌木色;1:9616678995:鞋码:36","quantity": 2100,"sku_id": 125206527831},
![点击并拖拽以移动]()
响应参数
Version: Date:
| 名称 | 类型 | 必须 | 示例值 | 描述 |
|
num_iid
|
Bigint |
0 |
2749499386 |
宝贝ID |
|
title
|
String |
0 |
Swarovski施华洛世奇LIFELONG BOW 流苏蝴蝶结浪漫妩媚女款项链饰品礼物5447082 |
宝贝标题 |
|
desc_short
|
String |
0 |
Swarovski施华洛世奇LIFELONG BOW 流苏蝴蝶结浪漫妩媚女款项链饰品礼物5447082 |
商品简介 |
|
price
|
Float |
0 |
45 |
价格 |
|
total_price
|
Float |
0 |
0 |
|
|
suggestive_price
|
Float |
0 |
0 |
|
|
orginal_price
|
String |
0 |
45 |
原价 |
|
nick
|
String |
0 |
达薇妮珠宝 |
掌柜昵称 |
|
num
|
Int |
0 |
|
库存 |
|
min_num
|
Int |
0 |
0 |
最小购买数 |
|
detail_url
|
String |
0 |
https://weidian.com/item.html?itemID=2749499386 |
宝贝链接 |
|
pic_url
|
String |
0 |
https://si.geilicdn.com/pcitem1288244399-3b300000016a3fd26d6f0a217216_800_800.jpg |
宝贝图片 |
|
brand
|
String |
0 |
|
品牌名称 |
|
brandId
|
Int |
0 |
|
品牌ID |
|
rootCatId
|
Int |
0 |
|
顶级分类ID |
|
cid
|
Int |
0 |
|
|
|
crumbs
|
Mix |
0 |
[] |
导航菜单 |
|
created_time
|
String |
0 |
|
|
|
modified_time
|
String |
0 |
|
|
|
delist_time
|
String |
0 |
|
|
|
desc
|
String |
0 |
|
商品详情 |
|
desc_img
|
Mix |
0 |
[https://si.geilicdn.com/pcitem1288244399-23910000016a40086f230a217216_790_420.jpg] |
商品详情图片 |
|
item_imgs
|
Mix |
0 |
[{ "url": "https://si.geilicdn.com/pcitem1288244399-3b300000016a3fd26d6f0a217216_800_800.jpg"} |
商品图片 |
|
item_weight
|
String |
0 |
|
|
|
item_size
|
String |
0 |
|
|
|
location
|
String |
0 |
|
发货地 |
|
express_fee
|
Float |
0 |
0.00 |
快递费用(该接口仅提供预估运费,准确需调用运费接口) |
|
ems_fee
|
Float |
0 |
|
EMS费用(该接口仅提供预估运费,准确需调用运费接口) |
|
post_fee
|
Float |
0 |
|
物流费用(该接口仅提供预估运费,准确需调用运费接口) |
|
shipping_to
|
String |
0 |
|
发货至 |
|
has_discount
|
Boolean |
0 |
false |
是否有优惠 |
|
video
|
Mix |
0 |
] |
商品视频 |
|
is_virtual
|
String |
0 |
|
|
|
sample_id
|
String |
0 |
|
商品风格标识ID |
|
is_promotion
|
Boolean |
0 |
false |
是否促销 |
|
props_name
|
String |
0 |
0:561195188:项链:流苏蝴蝶结项链; |
商品属性名 |
|
prop_imgs
|
Mix |
0 |
{"prop_img": [ {"properties": "1627207:1347647754", "url": "//gd2.alicdn.com/imgextra/i3/2596264565/TB2.XeblVXXXXXkXpXXXXXXXXXX_!!2596264565.jpg"}]} |
商品属性图片列表 |
|
property_alias
|
String |
0 |
20509:9974422:36;1627207:28326:红色;20509:9975710:38;1627207:28326:红色;20509:9981357:40;1627207:28326:红色 |
商品属性别名 |
|
props
|
Mix |
0 |
[{ "name": "产地","value": "中国" }] |
商品属性 |
|
total_sold
|
Int |
0 |
|
|
|
skus
|
Mix |
0 |
{"sku": [{"price": "39", "orginal_price": "39.00", "properties": "0:561195188;", "properties_name": "0:561195188:项链:流苏蝴蝶结项链;", "quantity": "305", "sku_id": "10668572309"}] |
商品规格信息列表 |
|
seller_id
|
Int |
0 |
|
卖家ID |
|
sales
|
Int |
0 |
138 |
销量 |
|
shop_id
|
Int |
0 |
1288244399 |
店铺ID |
|
props_list
|
Mix |
0 |
{"0:561195188": "项链:流苏蝴蝶结项链"} |
商品属性 |
|
seller_info
|
Mix |
0 |
{ "title": "达薇妮珠宝", "shop_name":"达薇妮珠宝", "zhuy": "https://weidian.com/?userid=1288244399","level": 3, "shop_type": 3, "user_num_id": "1288244399", "nick": "达薇妮珠宝" } |
卖家信息 |
|
tmall
|
Boolean |
0 |
false |
是否天猫 |
|
error
|
String |
0 |
|
错误信息 |
|
warning
|
String |
0 |
|
警告信息 |
|
url_log
|
Mix |
0 |
[] |
|
|
favcount
|
Int |
0 |
0 |
|
|
fanscount
|
Int |
0 |
0 |
|
|
method
|
String |
0 |
item_tmall:pget_item |
|
|
promo_type
|
String |
0 |
|
|
|
props_img
|
Mix |
0 |
1627207:28326": "//img.alicdn.com/imgextra/i2/2844096782/O1CN01VrjpXt1zyCc9DvERE_!!2844096782.jpg |
属性图片 |
|
shop_item
|
Mix |
0 |
[] |
|
|
relate_items
|
Mix |
0 |
[] |
|