我是靠谱客的博主 腼腆发箍,最近开发中收集的这篇文章主要介绍API接口获取商品订单详情返回值说明,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

       API是指应用程序编程接口,我们通过API接口可以实现特定的功能,而不需要了解其内部实现细节。可以把API接口理解为是特定服务的一种封装,将服务封装起来提供给他人调用,这样一来很多功能不需要从新开发。

   1、公共参数

请求地址:https://console.open.onebound.cn/console/index.php?i=hardy

名称类型必须描述
keyString调用key(必须以GET方式拼接在URL中)
secretString调用密钥
api_nameStringAPI接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等]
cacheString[yes,no]默认yes,将调用缓存的数据,速度比较快
result_typeString[json,jsonu,xml,serialize,var_export]返回数据格式,默认为json,jsonu输出的内容中文可以直接阅读
langString[cn,en,ru]翻译语言,默认cn简体中文
versionStringAPI版本

2、请求参数

请求参数:imgid=http://g-search3.alicdn.com/img/bao/uploaded/i4/O1CN01IDpcD81zHbpHs1YgT_!!2200811456689.jpg

参数说明:imgid:图片地址(使用淘宝upload_img接口上传图片,返回图片地址)
如:https://img.alicdn.com/imgextra/i3/15353738/TB2HDHAqN9YBuNjy0FfXXXIsVXa_!!15353738-0-beehive-scenes.jpg

3、响应参数

Version: Date:

名称类型必须示例值描述

items

items[]0按图搜索1688商品

real_total_results

Int080宝贝真实数量

total_results

Int043搜索数量

pagecount

Int01总页数

error

String0错误代码

data_from

String0

item

item[]0宝贝详情数据

title

String0外贸儿童短袖T恤 夏季热销套装 时尚儿童T宝贝标题

pic_url

String0https://cbu01.alicdn.com/img/ibank/2016/998/799/2913997899_1588191881.jpg宝贝图片

price

Float07.00价格

sales

Int05销量

num_iid

Bigint0529502304128宝贝ID

turnHead

String023.5%回头率

seller_nick

String0中山市汇锦制衣有限公司卖家昵称

area

String0广东中山市店铺所在地

detail_url

String0https://detail.1688.com/offer/529502304128.html宝贝链接
{
"items": {
"real_total_results": 80,
"error": "",
"item": [
{
"title": "袜子男 精英篮球加厚运动袜中筒网眼户外实战透气厂家批发 中筒袜",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01jWjHWo1wp64YHqWcH_!!3956376356-0-cib.jpg",
"price": "6.50",
"promotion_price": "6.50",
"sales": 4691,
"num_iid": "645349486708",
"turnHead": "14%",
"seller_nick": "佛山市晨枫袜业有限公司",
"area": "佛山市",
"detail_url": "https://detailp4p.1688.com/buyer/offerdetail/645349486708.html?trace_log=p4p"
},
{
"title": "情缘
袜子男士
足球袜
运动袜
提花袜
定制袜
长筒袜男定制",
"pic_url": "https://cbu01.alicdn.com/img/ibank/2018/453/042/9067240354_1968951043.jpg",
"price": "2.00",
"promotion_price": "2.00",
"sales": 0,
"num_iid": "572614452815",
"turnHead": "6%",
"seller_nick": "诸暨市情缘针纺股份有限公司",
"area": "诸暨市",
"detail_url": "http://detail.m.1688.com/page/index.html?offerId=572614452815&sortType=&pageId=&abBizDataType=cbuOffer&pvid=44f8c2c1-519f-4958-bfde-9236f4a82cc4&trace_log=normal&scm=1007.38073.268722.0"
},
{
"title": "DBTYSP厂家直销高筒短筒中筒男士篮球袜跑步袜运动袜精英袜",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01BuXhWo1gVpaVX32Pw_!!2211516964148-0-cib.jpg",
"price": "4.80",
"promotion_price": "4.80",
"sales": 26787,
"num_iid": "650938255537",
"turnHead": "8%",
"seller_nick": "义乌市滨尚体育用品有限公司",
"area": "金华市",
"detail_url": "http://detail.m.1688.com/page/index.html?offerId=650938255537&sortType=&pageId=&abBizDataType=cbuOffer&pvid=44f8c2c1-519f-4958-bfde-9236f4a82cc4&trace_log=normal&scm=1007.38073.268722.0"
},
{
"title": "篮球袜子男潮牌中筒袜秋季长袜男生长筒袜纯棉全棉运动厂家批发",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01VSLOez1DQDx41aRRS_!!2214486610210-0-cib.jpg",
"price": "6.80",
"promotion_price": "6.80",
"sales": 21,
"num_iid": "682180053851",
"turnHead": "33%",
"seller_nick": "佛山市达沁堂织造有限公司",
"area": "佛山市",
"detail_url": "http://detail.m.1688.com/page/index.html?offerId=682180053851&sortType=&pageId=&abBizDataType=cbuOffer&pvid=44f8c2c1-519f-4958-bfde-9236f4a82cc4&trace_log=normal&scm=1007.38073.268722.0"
},
{
"title": "实战精英篮球袜男款专业吸汗防滑袜大儿童加厚毛巾底运动袜子批发",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01SFYpdu1xCSMv89p2v_!!2214533646407-0-cib.jpg",
"price": "9.00",
"promotion_price": "9.00",
"sales": 0,
"num_iid": "682342354281",
"turnHead": "10%",
"seller_nick": "天台瀚宇贸易商行",
"area": "台州市",
"detail_url": "http://detail.m.1688.com/page/index.html?offerId=682342354281&sortType=&pageId=&abBizDataType=cbuOffer&pvid=44f8c2c1-519f-4958-bfde-9236f4a82cc4&trace_log=normal&scm=1007.38073.268722.0"
},
{
"title": "男士高筒专业实战篮球袜 撞色毛巾底加厚减震高帮潮袜运动精英袜",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN019PHWOH1y8AGZMoQRM_!!1838376533-0-cib.jpg",
"price": "3.90",
"promotion_price": "3.90",
"sales": 139676,
"num_iid": "673248438746",
"turnHead": "15%",
"seller_nick": "诸暨市草塔龙头针纺织厂",
"area": "诸暨市",
"detail_url": "http://detail.m.1688.com/page/index.html?offerId=673248438746&sortType=&pageId=&abBizDataType=cbuOffer&pvid=44f8c2c1-519f-4958-bfde-9236f4a82cc4&trace_log=normal&scm=1007.38073.268722.0"
},
{
"title": "新款中筒运动袜潮流撞色中筒篮球袜男吸汗透气休闲运动袜可加工",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01hAcfrB28PFBLsYcrZ_!!3301127924-0-cib.jpg",
"price": "8.36",
"promotion_price": "8.80",
"sales": 27255,
"num_iid": "675536534613",
"turnHead": "14%",
"seller_nick": "佛山市南海区银翊织造厂",
"area": "佛山市",
"detail_url": "https://detailp4p.1688.com/buyer/offerdetail/675536534613.html?trace_log=p4p"
},
{
"title": "儿童羽毛球袜子毛巾底袜运动袜男童篮球袜中筒跑步短袜乒乓球女童",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01fCjmxU29g1II8adbk_!!2213489588096-0-cib.jpg",
"price": "22.50",
"promotion_price": "22.50",
"sales": 2,
"num_iid": "670691388303",
"turnHead": "13%",
"seller_nick": "东莞市万江澳茗香百货店",
"area": "广州市",
"detail_url": "http://detail.m.1688.com/page/index.html?offerId=670691388303&sortType=&pageId=&abBizDataType=cbuOffer&pvid=44f8c2c1-519f-4958-bfde-9236f4a82cc4&trace_log=normal&scm=1007.38073.268722.0"
},
{
"title": "HG球员版专业篮球精英袜渐变五虎上将实战高帮中筒加厚毛巾底袜子",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01ElNSlf2L08UgDbmWM_!!2213531809629-0-cib.jpg",
"price": "43.05",
"promotion_price": "43.05",
"sales": 0,
"num_iid": "684176231280",
"turnHead": "7%",
"seller_nick": "南城县杰楚电子商务商行",
"area": "南京市",
"detail_url": "http://detail.m.1688.com/page/index.html?offerId=684176231280&sortType=&pageId=&abBizDataType=cbuOffer&pvid=44f8c2c1-519f-4958-bfde-9236f4a82cc4&trace_log=normal&scm=1007.38073.268722.0"
},
{
"title": null,
"pic_url": null,
"price": null,
"promotion_price": null,
"sales": null,
"num_iid": null,
"turnHead": null,
"seller_nick": null,
"area": null,
"detail_url": null
},
{
"title": "现货2021NBA球迷用品科比库里杜兰特哈登C43球星篮球袜子批发代发",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01ui49Wo1U7lLLsmOZS_!!3025702471-0-cib.jpg",
"price": "7.50",
"promotion_price": "7.50",
"sales": 0,
"num_iid": "676704411907",
"turnHead": "17%",
"seller_nick": "广州市千纳贸易有限公司",
"area": "广州市",
"detail_url": "http://detail.m.1688.com/page/index.html?offerId=676704411907&sortType=&pageId=&abBizDataType=cbuOffer&pvid=44f8c2c1-519f-4958-bfde-9236f4a82cc4&trace_log=normal&scm=1007.38073.268722.0"
},
{
"title": "实战专业儿童篮球袜子中小童毛巾底透气运动精英中筒高帮长筒训练",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01MrLtGL259ivJSTo58_!!2214143237484-0-cib.jpg",
"price": "6.50",
"promotion_price": "6.50",
"sales": 6060,
"num_iid": "679669241958",
"turnHead": "14%",
"seller_nick": "佛山市奇翔纺织有限公司",
"area": "佛山市",
"detail_url": "http://detail.m.1688.com/page/index.html?offerId=679669241958&sortType=&pageId=&abBizDataType=cbuOffer&pvid=44f8c2c1-519f-4958-bfde-9236f4a82cc4&trace_log=normal&scm=1007.38073.268722.0"
},
{
"title": "儿童实战篮球袜小中学生吸汗运动袜子童款防滑毛巾底中筒球袜批发",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01u0I4a42C84k3qEnHR_!!3325968428-0-cib.jpg",
"price": "6.98",
"promotion_price": "6.98",
"sales": 6651,
"num_iid": "652576197463",
"turnHead": "18%",
"seller_nick": "佛山市南海领途袜业有限公司",
"area": "佛山市",
"detail_url": "http://detail.m.1688.com/page/index.html?offerId=652576197463&sortType=&pageId=&abBizDataType=cbuOffer&pvid=44f8c2c1-519f-4958-bfde-9236f4a82cc4&trace_log=normal&scm=1007.38073.268722.0"
},
{
"title": "精英篮球袜子男球星款中筒库里高帮毛巾底运动袜詹姆斯球袜子男潮",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01QPp7qY1Gh7O7rtrbI_!!3974910653-0-cib.jpg",
"price": "8.50",
"promotion_price": "8.50",
"sales": 18309,
"num_iid": "675464723910",
"turnHead": "27%",
"seller_nick": "佛山市南海荣鑫袜厂",
"area": "佛山市",
"detail_url": "https://detailp4p.1688.com/buyer/offerdetail/675464723910.html?trace_log=p4p"
},
{
"title": "专业加厚毛巾底实战篮球袜男精英训练缓震跑步袜 中长筒运动袜子",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01wSEZUp2I4le61DbO3_!!2213019179233-0-cib.jpg",
"price": "7.50",
"promotion_price": "7.50",
"sales": 6,
"num_iid": "679184713578",
"turnHead": "20%",
"seller_nick": "深圳市翠琳袜业有限公司",
"area": "",
"detail_url": "http://detail.m.1688.com/page/index.html?offerId=679184713578&sortType=&pageId=&abBizDataType=cbuOffer&pvid=44f8c2c1-519f-4958-bfde-9236f4a82cc4&trace_log=normal&scm=1007.38073.268722.0"
},
{
"title": "吸汗透气青少年篮球袜中筒防滑耐磨成人篮球袜男中筒袜精英男高帮",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01gZOGjY1UHNlQsYyfm_!!2208682852492-0-cib.jpg",
"price": "8.00",
"promotion_price": "8.00",
"sales": 0,
"num_iid": "679044599965",
"turnHead": "38%",
"seller_nick": "广州劲动体育用品有限公司",
"area": "广州市",
"detail_url": "http://detail.m.1688.com/page/index.html?offerId=679044599965&sortType=&pageId=&abBizDataType=cbuOffer&pvid=44f8c2c1-519f-4958-bfde-9236f4a82cc4&trace_log=normal&scm=1007.38073.268722.0"
},
{
"title": "精英篮球袜子男球星款中筒库里高帮毛巾底运动袜詹姆斯球袜子男潮",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01m9ysek1WX4VWb3wrF_!!3385142797-0-cib.jpg",
"price": "12.00",
"promotion_price": "12.00",
"sales": 1,
"num_iid": "656792461584",
"turnHead": "18%",
"seller_nick": "广州鳄资贸易有限公司",
"area": "广州市",
"detail_url": "http://detail.m.1688.com/page/index.html?offerId=656792461584&sortType=&pageId=&abBizDataType=cbuOffer&pvid=44f8c2c1-519f-4958-bfde-9236f4a82cc4&trace_log=normal&scm=1007.38073.268722.0"
},
{
"title": "儿童羽毛球袜子毛巾底袜运动袜男童篮球袜中筒跑步短袜乒乓球女童",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01fCjmxU29g1II8adbk_!!2213489588096-0-cib.jpg",
"price": "22.50",
"promotion_price": "22.50",
"sales": 2,
"num_iid": "671411322098",
"turnHead": "13%",
"seller_nick": "东莞市万江澳茗香百货店",
"area": "广州市",
"detail_url": "http://detail.m.1688.com/page/index.html?offerId=671411322098&sortType=&pageId=&abBizDataType=cbuOffer&pvid=44f8c2c1-519f-4958-bfde-9236f4a82cc4&trace_log=normal&scm=1007.38073.268722.0"
},
{
"title": "精英篮球袜子男球星款中筒库里高帮毛巾底运动袜詹姆斯球袜子男潮",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01m9ysek1WX4VWb3wrF_!!3385142797-0-cib.jpg",
"price": "38.00",
"promotion_price": "38.00",
"sales": 0,
"num_iid": "674978496960",
"turnHead": "28%",
"seller_nick": "广州跃球星贸易商行",
"area": "广州市",
"detail_url": "http://detail.m.1688.com/page/index.html?offerId=674978496960&sortType=&pageId=&abBizDataType=cbuOffer&pvid=44f8c2c1-519f-4958-bfde-9236f4a82cc4&trace_log=normal&scm=1007.38073.268722.0"
},
{
"title": "男士高筒专业实战篮球袜 撞色毛巾底加厚减震高帮潮袜运动精英袜",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN019PHWOH1y8AGZMoQRM_!!1838376533-0-cib.jpg",
"price": "3.90",
"promotion_price": "3.90",
"sales": 139676,
"num_iid": "673248438746",
"turnHead": "15%",
"seller_nick": "诸暨市草塔龙头针纺织厂",
"area": "诸暨市",
"detail_url": "https://detailp4p.1688.com/buyer/offerdetail/673248438746.html?trace_log=p4p"
},
{
"title": "俊美隆新品pro篮球袜男士加厚毛巾底实战运动袜吸汗透气中筒袜",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01H1OPi51pjsL5gT9vg_!!2659065397-0-cib.jpg",
"price": "7.80",
"promotion_price": "7.80",
"sales": 1,
"num_iid": "680286154453",
"turnHead": "18%",
"seller_nick": "佛山市南海俊美隆织造厂",
"area": "佛山市",
"detail_url": "http://detail.m.1688.com/page/index.html?offerId=680286154453&sortType=&pageId=&abBizDataType=cbuOffer&pvid=44f8c2c1-519f-4958-bfde-9236f4a82cc4&trace_log=normal&scm=1007.38073.268722.0"
},
{
"title": "五指袜男中筒全棉秋冬款厚撞色吸汗保暖防臭棉袜分趾袜子厂家直销",
"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/378/904/20116409873_497993850.jpg",
"price": "5.51",
"promotion_price": "5.51",
"sales": 0,
"num_iid": "625394481955",
"turnHead": "35%",
"seller_nick": "诸暨市棉辉针织品商行",
"area": "诸暨市",
"detail_url": "http://detail.m.1688.com/page/index.html?offerId=625394481955&sortType=&pageId=&abBizDataType=cbuOffer&pvid=44f8c2c1-519f-4958-bfde-9236f4a82cc4&trace_log=normal&scm=1007.38073.268722.0"
},
{
"title": "五指袜男中筒全棉秋冬款厚撞色保暖防臭棉袜分趾袜子亚马逊供货商",
"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/910/108/19933801019_464633535.jpg",
"price": "5.80",
"promotion_price": "5.80",
"sales": 463,
"num_iid": "625256857888",
"turnHead": "40%",
"seller_nick": "诸暨市小铃铛袜厂",
"area": "绍兴市",
"detail_url": "http://detail.m.1688.com/page/index.html?offerId=625256857888&sortType=&pageId=&abBizDataType=cbuOffer&pvid=44f8c2c1-519f-4958-bfde-9236f4a82cc4&trace_log=normal&scm=1007.38073.268722.0"
},
{
"title": "精英篮球袜子男球星款中筒库里高帮毛巾底运动袜詹姆斯球袜子男潮",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01QPp7qY1Gh7O7rtrbI_!!3974910653-0-cib.jpg",
"price": "8.50",
"promotion_price": "8.50",
"sales": 18309,
"num_iid": "675464723910",
"turnHead": "27%",
"seller_nick": "佛山市南海荣鑫袜厂",
"area": "佛山市",
"detail_url": "http://detail.m.1688.com/page/index.html?offerId=675464723910&sortType=&pageId=&abBizDataType=cbuOffer&pvid=44f8c2c1-519f-4958-bfde-9236f4a82cc4&trace_log=normal&scm=1007.38073.268722.0"
},
{
"title": "出口跨境加厚毛巾底中筒袜篮球袜成人吸汗透气防滑棉柔防臭足球袜",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01daaUZ91RIo48r5uat_!!2634352089-0-cib.jpg",
"price": "9.00",
"promotion_price": "9.00",
"sales": 150,
"num_iid": "647112054203",
"turnHead": "3%",
"seller_nick": "佛山市南海区里水丰益袜厂",
"area": "佛山市",
"detail_url": "http://detail.m.1688.com/page/index.html?offerId=647112054203&sortType=&pageId=&abBizDataType=cbuOffer&pvid=44f8c2c1-519f-4958-bfde-9236f4a82cc4&trace_log=normal&scm=1007.38073.268722.0"
}
],
"data_from": "ti",
"pagecount": 1,
"total_results": 25
},
"error_code": "0000",
"reason": "ok",
"secache": "805dd061d51a733c7a85711ba0a36267",
"secache_time": 1663745263,
"secache_date": "2022-09-21 15:27:43",
"translate_status": "",
"translate_time": 0,
"language": {
"default_lang": "cn",
"current_lang": "cn"
},
"error": "",
"cache": 1,
"api_info": "today:1 max:10000 all[26=1+11+14];expires:2030-12-31",
"execution_time": "0.066",
"server_time": "Beijing/2022-09-28 10:34:13",
"client_ip": "106.6.34.243",
"call_args": {
"imgid": "http://g-search3.alicdn.com/img/bao/uploaded/i4/O1CN01IDpcD81zHbpHs1YgT_!!2200811456689.jpg"
},
"api_type": "1688",
"translate_language": "zh-CN",
"translate_engine": "google_new",
"server_memory": "4.02MB",
"request_id": "gw-1.6333b2a575979",
"last_id": "1248840358"
}

最后

以上就是腼腆发箍为你收集整理的API接口获取商品订单详情返回值说明的全部内容,希望文章能够帮你解决API接口获取商品订单详情返回值说明所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(45)

评论列表共有 0 条评论

立即
投稿
返回
顶部