当前位置:网站首页>Get wechat product details API
Get wechat product details API
2022-07-27 20:17:00 【Cat sharing dry goods】
One 、 Parameters
Common parameters
Request address : https://api-gw.onebound.cn/micro/item_get
| name | type | must | describe |
|---|---|---|---|
| key | String | yes | call key( Must be GET Way of splicing in URL in ) |
| secret | String | yes | Call key |
| api_name | String | yes | API The name of the interface ( Included in the request address )[item_search,item_get,item_search_shop etc. ] |
| cache | String | no | [yes,no] Default yes, The cached data... Will be called , It's quite fast |
| result_type | String | no | [json,jsonu,xml,serialize,var_export] Return data format , The default is json,jsonu The output content can be read directly in Chinese |
| lang | String | no | [cn,en,ru] Translation language , Default cn Simplified Chinese |
| version | String | no | API edition |
Request parameters
Request parameters :num_iid=2749499386
Parameter description :num_iid: Wechat products ID
Response parameter
Version: Date:
| name | type | must | Example value | describe |
|---|---|---|---|---|
num_iid | Bigint | 0 | 2749499386 | baby ID |
title | String | 0 | Swarovski SWAROVSKI LIFELONG BOW Tassel bow romantic and charming women's necklace jewelry gift 5447082 | Baby title |
desc_short | String | 0 | Swarovski SWAROVSKI LIFELONG BOW Tassel bow romantic and charming women's necklace jewelry gift 5447082 | Product introduction |
price | Float | 0 | 45 | Price |
total_price | Float | 0 | 0 | |
suggestive_price | Float | 0 | 0 | |
orginal_price | String | 0 | 45 | The original price |
nick | String | 0 | Daveny jewelry | Shopkeeper's nickname |
num | Int | 0 | stock | |
min_num | Int | 0 | 0 | Minimum number of purchases |
detail_url | String | 0 | https://weidian.com/item.html?itemID=2749499386 | Baby link |
pic_url | String | 0 | https://si.geilicdn.com/pcitem1288244399-3b300000016a3fd26d6f0a217216_800_800.jpg | Baby pictures |
brand | String | 0 | The brand name | |
brandId | Int | 0 | brand ID | |
rootCatId | Int | 0 | Top class ID | |
cid | Int | 0 | ||
crumbs | Mix | 0 | [] | Navigation menu |
created_time | String | 0 | ||
modified_time | String | 0 | ||
delist_time | String | 0 | ||
desc | String | 0 | Goods details | |
desc_img | Mix | 0 | [https://si.geilicdn.com/pcitem1288244399-23910000016a40086f230a217216_790_420.jpg] | Product details picture |
item_imgs | Mix | 0 | [{ "url": "https://si.geilicdn.com/pcitem1288244399-3b300000016a3fd26d6f0a217216_800_800.jpg"} | Commodity images |
item_weight | String | 0 | ||
item_size | String | 0 | ||
location | String | 0 | Place of shipment | |
express_fee | Float | 0 | 0.00 | Express fee |
ems_fee | Float | 0 | EMS cost | |
post_fee | Float | 0 | Logistics expenses | |
shipping_to | String | 0 | Ship to | |
has_discount | Boolean | 0 | false | Is there a discount |
video | Mix | 0 | ] | Product video |
is_virtual | String | 0 | ||
sample_id | String | 0 | Product style logo ID | |
is_promotion | Boolean | 0 | false | Promotion |
props_name | String | 0 | 0:561195188: The necklace : Tassel Bow Necklace ; | Commodity attribute name |
prop_imgs | Mix | 0 | {"prop_img": [ {"properties": "1627207:1347647754", "url": "//gd2.alicdn.com/imgextra/i3/2596264565/TB2.XeblVXXXXXkXpXXXXXXXXXX_!!2596264565.jpg"}]} | List of product attribute pictures |
property_alias | String | 0 | 20509:9974422:36;1627207:28326: Red ;20509:9975710:38;1627207:28326: Red ;20509:9981357:40;1627207:28326: Red | Product attribute alias |
props | Mix | 0 | [{ "name": " Place of Origin ","value": " China " }] | Commodity properties |
total_sold | Int | 0 | ||
skus | Mix | 0 | {"sku": [{"price": "39", "orginal_price": "39.00", "properties": "0:561195188;", "properties_name": "0:561195188: The necklace : Tassel Bow Necklace ;", "quantity": "305", "sku_id": "10668572309"}] | Product specification information list |
seller_id | Int | 0 | The seller ID | |
sales | Int | 0 | 138 | sales |
shop_id | Int | 0 | 1288244399 | The store ID |
props_list | Mix | 0 | {"0:561195188": " The necklace : Tassel Bow Necklace "} | Commodity properties |
seller_info | Mix | 0 | { "title": " Daveny jewelry ", "shop_name":" Daveny jewelry ", "zhuy": "https://weidian.com/?userid=1288244399","level": 3, "shop_type": 3, "user_num_id": "1288244399", "nick": " Daveny jewelry " } | Seller information |
tmall | Boolean | 0 | false | Whether tmall |
error | String | 0 | error message | |
warning | String | 0 | Warning message | |
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 | Attribute image |
shop_item | Mix | 0 | [] | |
relate_items | Mix | 0 | [] |
Two 、 Example
Request example
-- Request example url The default request parameters have been URL Encoding processing curl -i "https://api-gw.onebound.cn/micro/item_get/?key=< Your own apiKey>&secret=< Your own apiSecret>&num_iid=2749499386"
Response example
{
"item": {
"num_iid": "2749499386",
"title": "Swarovski SWAROVSKI LIFELONG BOW Tassel bow romantic and charming women's necklace jewelry gift 5447082",
"desc_short": "Swarovski SWAROVSKI LIFELONG BOW Tassel bow romantic and charming women's necklace jewelry gift 5447082",
"price": 45,
"total_price": 0,
"suggestive_price": 0,
"orginal_price": "45",
"nick": " Daveny jewelry ",
"num": "",
"min_num": 0,
"detail_url": "https://weidian.com/item.html?itemID=2749499386",
"pic_url": "https://si.geilicdn.com/pcitem1288244399-3b300000016a3fd26d6f0a217216_800_800.jpg",
"brand": "",
"brandId": "",
"rootCatId": "",
"cid": "",
"favcount": "",
"fanscount": "",
"crumbs": [],
"created_time": "",
"modified_time": "",
"delist_time": "",
"desc": "<img src=\"https://si.geilicdn.com/pcitem1288244399-23910000016a40086f230a217216_790_420.jpg\"/><img src=\"https://si.geilicdn.com/pcitem1288244399-25490000016a40086f650a217252_790_402.jpg\"/><img src=\"https://si.geilicdn.com/pcitem1288244399-064c0000016a400870600a21924b_790_503.jpg\"/><img src=\"https://si.geilicdn.com/pcitem1288244399-61250000016a400870900a219248_790_308.jpg\"/><img src=\"https://si.geilicdn.com/pcitem1288244399-0e370000016a400871960a21924a_790_600.jpg\"/><img src=\"https://si.geilicdn.com/pcitem1288244399-25730000016a400874400a217252_790_600.jpg\"/><img src=\"https://si.geilicdn.com/pcitem1288244399-61470000016a400874790a219248_790_600.jpg\"/><img src=\"https://si.geilicdn.com/pcitem1288244399-26c00000016a400875df0a217205_790_600.jpg\"/><img src=\"https://si.geilicdn.com/pcitem1288244399-34850000016a400876a90a20b7b9_790_834.jpg\"/><img src=\"https://si.geilicdn.com/pcitem1288244399-23c00000016a4008754e0a217216_790_379.jpg\"/><img src=\"https://si.geilicdn.com/pcitem1288244399-06800000016a400876500a21924b_790_524.jpg\"/><img src=\"https://si.geilicdn.com/pcitem1288244399-25840000016a400875e90a217252_790_427.jpg\"/>",
"desc_img": [
"https://si.geilicdn.com/pcitem1288244399-23910000016a40086f230a217216_790_420.jpg",
"https://si.geilicdn.com/pcitem1288244399-25490000016a40086f650a217252_790_402.jpg",
"https://si.geilicdn.com/pcitem1288244399-064c0000016a400870600a21924b_790_503.jpg",
"https://si.geilicdn.com/pcitem1288244399-61250000016a400870900a219248_790_308.jpg",
"https://si.geilicdn.com/pcitem1288244399-0e370000016a400871960a21924a_790_600.jpg",
"https://si.geilicdn.com/pcitem1288244399-25730000016a400874400a217252_790_600.jpg",
"https://si.geilicdn.com/pcitem1288244399-61470000016a400874790a219248_790_600.jpg",
"https://si.geilicdn.com/pcitem1288244399-26c00000016a400875df0a217205_790_600.jpg",
"https://si.geilicdn.com/pcitem1288244399-34850000016a400876a90a20b7b9_790_834.jpg",
"https://si.geilicdn.com/pcitem1288244399-23c00000016a4008754e0a217216_790_379.jpg",
"https://si.geilicdn.com/pcitem1288244399-06800000016a400876500a21924b_790_524.jpg",
"https://si.geilicdn.com/pcitem1288244399-25840000016a400875e90a217252_790_427.jpg"
],
"item_imgs": [
{
"url": "https://si.geilicdn.com/pcitem1288244399-3b300000016a3fd26d6f0a217216_800_800.jpg"
}
],
"item_weight": "",
"item_size": "",
"location": "",
"post_fee": "",
"express_fee": "",
"ems_fee": "",
"shipping_to": "",
"has_discount": "",
"video": [],
"is_virtual": "",
"sample_id": "",
"is_promotion": "false",
"props_name": "0:561195188: The necklace : Tassel Bow Necklace ;",
"prop_imgs": {
"prop_img": []
},
"property_alias": "",
"props": [],
"total_sold": "0",
"skus": {
"sku": [
{
"price": "45.00",
"orginal_price": "45.00",
"properties": "0:561195188;",
"properties_name": "0:561195188: The necklace : Tassel Bow Necklace ;:",
"quantity": 957,
"sku_id": 10668572309
}
]
},
"seller_id": "",
"sales": 106,
"shop_id": 1288244399,
"props_list": [
{
"0:561195188": " The necklace : Tassel Bow Necklace "
}
],
"seller_info": {
"title": " Daveny jewelry ",
"shop_name": " Daveny jewelry ",
"zhuy": "https://weidian.com/?userid=1288244399",
"level": 3,
"shop_type": 3,
"user_num_id": 1288244399,
"nick": " Daveny jewelry "
},
"tmall": "false",
"error": "",
"warning": "",
"url_log": [],
"stuff_status": "",
"data_from": "micro",
"method": "",
"promo_type": null,
"props_img": null,
"rate_grade": "",
"priceRange": [],
"shop_item": [],
"relate_items": []
},
"secache": "bca4a25047d7b435e098ecb97efd77dd",
"secache_time": 1611128224,
"secache_date": "2021-01-20 15:37:04",
"translate_status": "",
"translate_time": 0,
"language": {
"default_lang": "cn",
"current_lang": "cn"
},
"error": "",
"reason": "",
"error_code": "0000",
"cache": 0,
"api_info": "today:0 max:10000",
"execution_time": 3.061,
"server_time": "Beijing/2021-01-20 15:37:04",
"client_ip": "115.151.186.91",
"call_args": {
"num_iid": "2749499386",
"area_id": "440111"
},
"api_type": "micro",
"translate_language": "zh-CN",
"translate_engine": "baidu",
"server_memory": "2.75MB",
"request_id": "1.6007dd9d4909b"
}Exception example
{
"error": "item-not-found",
"reason": " Product not found ",
"error_code": "2000",
"success": 0,
"cache": 0,
"api_info": "today:0 max:10000",
"execution_time": 0.081,
"server_time": "Beijing/2020-06-10 23:44:00",
"call_args": [],
"api_type": "taobao",
"request_id": "15ee0ffc041242"}3、 ... and 、 Error code interpretation
| The status code (error_code) | State information | Detailed description | Do you charge? |
|---|---|---|---|
| 0000 | success | The interface call succeeds and returns relevant data | yes |
| 2000 | Search success but no result | Interface access successful , But the search has no results | yes |
| 4000 | Server internal error | Server internal error | no |
| 4001 | Network error | Network error | no |
| 4002 | Target server error | Target server error | no |
| 4003 | Param error | User input parameter error | Ignore |
| 4004 | Account not found | User account does not exist | Ignore |
| 4005 | Invalid authentication credentials | privilege grant failed | Ignore |
| 4006 | API stopped | Your current API deactivated | Ignore |
| 4007 | Account stopped | Your account has been deactivated | Ignore |
| 4008 | API rate limit exceeded | Concurrency has reached the maximum | Ignore |
| 4009 | API maintenance | API In maintenance | Ignore |
| 4010 | API not found with these values | API non-existent | Ignore |
| 4012 | Please add api first | Please add it first api | Ignore |
| 4013 | Number of calls exceeded | The number of calls exceeds the limit | Ignore |
| 4014 | Missing url param | Missing parameter | Ignore |
| 4015 | Wrong pageToken | Parameters pageToken Mistake | Ignore |
| 4016 | Insufficient balance | Lack of balance | Ignore |
| 4017 | timeout error | request timeout | no |
| 5000 | unknown error | Unknown error | no |
边栏推荐
- Compiling ncnn with vs
- ViewUI 中 DatePicker 日期选择器在 IE11 浏览器中兼容解决方案
- codeforces每日5题(均1500)-第二十四天
- Kubectl's access to pod logs -- the way to build a dream
- PyQt5快速开发与实战 4.3 QLabel and 4.4 文本框类控件
- Rodin 安装 SMT Solvers 插件
- Codeworks 5 questions per day (average 1500) - day 24
- JS 数组方法 forEach 和 map 比较
- 最新获得淘宝app商品详情原数据 的API
- 2019年中国智能机市场:华为拿下近4成份额,稳坐国内第一
猜你喜欢

Can software testing be learned in 2022? Don't learn, software testing positions are saturated

PMP practice once a day | don't get lost in the exam -7.27 (including agility + multiple choices)

How to run kevinchappell / FormBuilder

Talk about how redis handles requests

China business CDP white paper | love Analysis Report

十年测试老鸟聊聊移动端兼容性测试

TS2532: Object is possibly ‘undefined‘

Illustration leetcode - 592. Fraction addition and subtraction (difficulty: medium)

解决 ViewUI 表格无数据时展示滚动条的问题

To share the denoising methods and skills of redshift renderer, you must have a look
随机推荐
PKI/TLS 工具之CFSSL —— 筑梦之路
邬贺铨:因地制宜 数字化技术赋能“双碳”实践
JS realizes video recording - Take cesium as an example
ViewUI 中 DatePicker 日期选择器在 IE11 浏览器中兼容解决方案
连接池-归还连接详解(上)
如何运行 kevinchappell / formBuilder
华为全联接大会2022开启曼谷之旅;Facebook推视频收入分成功能,创作者可获20%分成…
图解LeetCode——592. 分数加减运算(难度:中等)
Can software testing be learned in 2022? Don't learn, software testing positions are saturated
解决 ViewUI 表格无数据时展示滚动条的问题
‘vite‘ 不是内部或外部命令,也不是可运行的程序 或批处理文件
一看就懂的ESLint
Function priority
C243: examination ranking
办公自动化解决方案——DocuWare Cloud 将应用程序和流程迁移到云端的完整的解决方案
Huawei connect conference 2022 opens Bangkok trip; Facebook pushes the video revenue sharing function, and the creator can get 20% share
LED high precision scale scheme specification
2019年中国智能机市场:华为拿下近4成份额,稳坐国内第一
How to quickly improve the three minute response rate of Tiktok store? What will affect the reply rate of Tiktok store?
继华为、联发科之后,这家手机芯片厂商宣布向武汉捐款700万