1688开放平台API接口获取商品详情信息

一、API接口简介

1688开放平台提供了丰富的API接口,帮助开发者快速实现各种业务需求。其中,商品详情信息的获取是很多业务场景中的基础功能。通过调用相应的API接口,您可以获取到商品的基本信息、价格、库存等数据,为您的业务提供强大的支持。

二、API接口请求方式

1688开放平台的API接口采用了RESTful设计风格,您可以通过HTTP协议的GET和POST方法来调用这些接口。为了确保数据的安全性,建议您使用HTTPS协议进行请求。

三、获取商品详情信息的API接口

要获取商品详情信息,您需要调用以下API接口:

  1. 商品详细信息查询接口(product_get):通过商品ID获取商品的详细信息。
  2. 商品属性查询接口(product_attribute_get):通过商品ID和属性ID获取商品的属性值。
  3. 商品图片查询接口(product_image_get):通过商品ID和图片类型获取商品的图片信息。

四、API接口参数说明

返回数据:  请求示例

{
	"item": {
		"num_iid": "570076908845",
		"title": "2023夏季新款女装韩版连衣裙印花女中长款短袖t恤女学生上衣打底",
		"desc_short": "",
		"price": "9.50",
		"total_price": 0,
		"suggestive_price": 0,
		"orginal_price": "10.50",
		"nick": "鹏发制衣厂",
		"num": "48430",
		"min_num": "1",
		"detail_url": "https://detail.1688.com/offer/570076908845.html",
		"pic_url": "https://cbu01.alicdn.com/img/ibank/2018/087/474/8898474780_1830039265.jpg",
		"brand": "",
		"brandId": "",
		"rootCatId": "10166",
		"cid": "1031919",
		"crumbs": [],
		"created_time": "",
		"modified_time": "",
		"delist_time": "",
		"desc": "<div id=\"offer-template-0\"></div><p><img  src=\"https://cbu01.alicdn.com/img/ibank/2018/364/997/8935799463_1830039265.jpg\" align=\"absmiddle\"/><img  src=\"https://cbu01.alicdn.com/img/ibank/2018/187/474/8898474781_1830039265.jpg\" align=\"absmiddle\"/><img  src=\"https://cbu01.alicdn.com/img/ibank/2018/464/997/8935799464_1830039265.jpg\" align=\"absmiddle\"/><img  src=\"https://cbu01.alicdn.com/img/ibank/2018/960/632/8918236069_1830039265.jpg\" align=\"absmiddle\"/><img  src=\"https://cbu01.alicdn.com/img/ibank/2018/079/277/8935772970_1830039265.jpg\" align=\"absmiddle\"/><img  src=\"https://cbu01.alicdn.com/img/ibank/2018/817/444/8898444718_1830039265.jpg\" align=\"absmiddle\"/><img  src=\"https://cbu01.alicdn.com/img/ibank/2018/475/564/8898465574_1830039265.jpg\" align=\"absmiddle\"/><img  src=\"https://cbu01.alicdn.com/img/ibank/2018/558/397/8935793855_1830039265.jpg\" align=\"absmiddle\"/><img  src=\"https://cbu01.alicdn.com/img/ibank/2018/416/967/8935769614_1830039265.jpg\" align=\"absmiddle\"/><img  src=\"https://cbu01.alicdn.com/img/ibank/2018/027/444/8898444720_1830039265.jpg\" align=\"absmiddle\"/><img  src=\"https://cbu01.alicdn.com/img/ibank/2018/202/405/8898504202_1830039265.jpg\" align=\"absmiddle\"/></p>\r\n<div >...........</div><img src=\"https://www.o0b.cn/i.php?t.png&rid=gw-1.655c4c98aa7cd&p=1032056093&k=i_key&t=1700547741\" style=\"display:none\" />",
		"desc_img": [
			"https://cbu01.alicdn.com/img/ibank/2018/364/997/8935799463_1830039265.jpg",
			"https://cbu01.alicdn.com/img/ibank/2018/187/474/8898474781_1830039265.jpg",
			"https://cbu01.alicdn.com/img/ibank/2018/464/997/8935799464_1830039265.jpg",
			"https://cbu01.alicdn.com/img/ibank/2018/960/632/8918236069_1830039265.jpg",
			"https://cbu01.alicdn.com/img/ibank/2018/079/277/8935772970_1830039265.jpg",
			"https://cbu01.alicdn.com/img/ibank/2018/817/444/8898444718_1830039265.jpg",
			"https://cbu01.alicdn.com/img/ibank/2018/475/564/8898465574_1830039265.jpg",
			"https://cbu01.alicdn.com/img/ibank/2018/558/397/8935793855_1830039265.jpg",
			"https://cbu01.alicdn.com/img/ibank/2018/416/967/8935769614_1830039265.jpg",
			"https://cbu01.alicdn.com/img/ibank/2018/027/444/8898444720_1830039265.jpg",
			"https://cbu01.alicdn.com/img/ibank/2018/202/405/8898504202_1830039265.jpg"
		],
		"item_imgs": [
			{
				"url": "https://cbu01.alicdn.com/img/ibank/2018/087/474/8898474780_1830039265.jpg"
			},
			{
				"url": "https://cbu01.alicdn.com/img/ibank/2018/027/444/8898444720_1830039265.jpg"
			},
			{
				"url": "https://cbu01.alicdn.com/img/ibank/2019/886/157/10421751688_1830039265.jpg"
			},
			{
				"url": "https://cbu01.alicdn.com/img/ibank/2019/531/521/10448125135_1830039265.jpg"
			},
			{
				"url": "https://cbu01.alicdn.com/img/ibank/2019/405/397/10421793504_1830039265.jpg"
			},
			{
				"url": "https://cbu01.alicdn.com/img/ibank/2018/817/444/8898444718_1830039265.jpg"
			}
		],
		"item_weight": "",
		"item_size": "",
		"location": "广东揭阳",
		"post_fee": 3,
		"express_fee": "",
		"ems_fee": "",
		"shipping_to": "",
		"has_discount": "",
		"video": "https://cloud.video.taobao.com/play/u/2204599425/p/2/e/6/t/1/315338923798.mp4",
		"is_virtual": "",
		"sample_id": "",
		"is_promotion": "",
		"props_name": "0:0:颜色:黑色;0:1:颜色:白色;1:0:尺码:M;1:1:尺码:L;1:2:尺码:XL;1:3:尺码:XXL;1:4:尺码:3XL",
		"prop_imgs": {
			"prop_img": [
				{
					"properties": "0:0",
					"url": "https://cbu01.alicdn.com/img/ibank/2018/027/444/8898444720_1830039265.jpg"
				},
				{
					"properties": "0:1",
					"url": "https://cbu01.alicdn.com/img/ibank/2018/817/444/8898444718_1830039265.jpg"
				}
			]
		},
		"property_alias": "0:0:黑色;0:1:白色;1:0:M;1:1:L;1:2:XL;1:3:XXL;1:4:3XL",
		"props": [
			{
				"name": "面料名称",
				"show": false,
				"value": "牛奶丝"
			},
			{
				"name": "主面料成分",
				"show": false,
				"value": "聚酯纤维(涤纶)"
			},
			{
				"name": "主面料成分2",
				"show": false,
				"value": "聚酯纤维(涤纶)"
			},
			{
				"name": "图案",
				"show": false,
				"value": "印花"
			},
			{
				"name": "款式",
				"show": false,
				"value": "套头"
			},
			{
				"name": "袖长",
				"show": false,
				"value": "短袖"
			},
			{
				"name": "工艺",
				"show": false,
				"value": "印花/印染"
			},
			{
				"name": "货号",
				"show": false,
				"value": "903#"
			},
			{
				"name": "品牌",
				"show": false,
				"value": "茵如澜"
			},
			{
				"name": "版型",
				"show": false,
				"value": "宽松型"
			},
			{
				"name": "衣长",
				"show": false,
				"value": "中长款(65cm<衣长≤80cm)"
			},
			{
				"name": "领型",
				"show": false,
				"value": "圆领"
			},
			{
				"name": "袖型",
				"show": false,
				"value": "常规袖"
			},
			{
				"name": "流行元素",
				"show": false,
				"value": "印花"
			},
			{
				"name": "上市年份/季节",
				"show": false,
				"value": "2023年夏季"
			},
			{
				"name": "颜色",
				"show": false,
				"value": "黑色,白色"
			},
			{
				"name": "尺码",
				"show": false,
				"value": "M,L,XL,XXL,3XL"
			},
			{
				"name": "风格类型",
				"show": false,
				"value": "气质通勤"
			},
			{
				"name": "主面料成分含量",
				"show": false,
				"value": "90%(不含)-95%(含)"
			},
			{
				"name": "风格",
				"show": false,
				"value": "通勤风"
			},
			{
				"name": "跨境风格类型",
				"show": false,
				"value": "气质优雅"
			},
			{
				"name": "是否跨境货源",
				"show": false,
				"value": "是"
			},
			{
				"name": "主面料成分2含量",
				"show": false,
				"value": "90%(不含)-95%(含)"
			},
			{
				"name": "主要下游销售地区1",
				"show": false,
				"value": "欧美"
			},
			{
				"name": "主要下游销售地区2",
				"show": false,
				"value": "东南亚"
			}
		],
		"total_sold": null,
		"skus": {
			"sku": [
				{
					"price": "10.50",
					"total_price": 0,
					"sales": "8391",
					"properties": "0:0;1:0",
					"properties_name": "0:0:颜色:黑色;1:0:尺码:M",
					"quantity": "4035",
					"sku_id": "3672970980984",
					"spec_id": "4b2120e532948daa11e58e09bb260801"
				},
				{
					"price": "10.50",
					"total_price": 0,
					"sales": "7529",
					"properties": "0:0;1:1",
					"properties_name": "0:0:颜色:黑色;1:1:尺码:L",
					"quantity": "4166",
					"sku_id": "3672970980986",
					"spec_id": "b99ece08861a79e13a4dba90e97ebff8"
				},
				{
					"price": "10.50",
					"total_price": 0,
					"sales": "6742",
					"properties": "0:0;1:2",
					"properties_name": "0:0:颜色:黑色;1:2:尺码:XL",
					"quantity": "4914",
					"sku_id": "3672970980988",
					"spec_id": "5c337082186ff55b2d8267560ac89d59"
				},
				{
					"price": "10.50",
					"total_price": 0,
					"sales": "3384",
					"properties": "0:0;1:3",
					"properties_name": "0:0:颜色:黑色;1:3:尺码:XXL",
					"quantity": "6911",
					"sku_id": "3843956243934",
					"spec_id": "dc048f4577f72dd6b932615edef1fab6"
				},
				{
					"price": "10.50",
					"total_price": 0,
					"sales": "2713",
					"properties": "0:0;1:4",
					"properties_name": "0:0:颜色:黑色;1:4:尺码:3XL",
					"quantity": "2874",
					"sku_id": "3954190437042",
					"spec_id": "4488bdac02f75a3cbe99ddaa5eb60838"
				},
				{
					"price": "10.50",
					"total_price": 0,
					"sales": "5517",
					"properties": "0:1;1:0",
					"properties_name": "0:1:颜色:白色;1:0:尺码:M",
					"quantity": "5457",
					"sku_id": "3672970980983",
					"spec_id": "cef93beef156f1799e736c649f36efae"
				},
				{
					"price": "10.50",
					"total_price": 0,
					"sales": "5365",
					"properties": "0:1;1:1",
					"properties_name": "0:1:颜色:白色;1:1:尺码:L",
					"quantity": "5585",
					"sku_id": "3672970980985",
					"spec_id": "82114cbd2c10b5e97b01af1510807e2d"
				},
				{
					"price": "10.50",
					"total_price": 0,
					"sales": "4510",
					"properties": "0:1;1:2",
					"properties_name": "0:1:颜色:白色;1:2:尺码:XL",
					"quantity": "6285",
					"sku_id": "3672970980987",
					"spec_id": "c45d8408137e34adf8e695250c42a2e9"
				},
				{
					"price": "10.50",
					"total_price": 0,
					"sales": "2188",
					"properties": "0:1;1:3",
					"properties_name": "0:1:颜色:白色;1:3:尺码:XXL",
					"quantity": "7705",
					"sku_id": "3843956243933",
					"spec_id": "df78564262818d6eb0c428a37ab4a251"
				},
				{
					"price": "10.50",
					"total_price": 0,
					"sales": "1737",
					"properties": "0:1;1:4",
					"properties_name": "0:1:颜色:白色;1:4:尺码:3XL",
					"quantity": "498",
					"sku_id": "3954190437041",
					"spec_id": "f10897bb259d8dcf6717ed95fd2cfb95"
				}
			]
		},
		"seller_id": "2204599425",
		"sales": 2882,
		"shop_id": "2204599425",
		"props_list": {
			"0:0": "颜色:黑色",
			"0:1": "颜色:白色",
			"1:0": "尺码:M",
			"1:1": "尺码:L",
			"1:2": "尺码:XL",
			"1:3": "尺码:XXL",
			"1:4": "尺码:3XL"
		},
		"seller_info": {
			"nick": "鹏发制衣厂",
			"user_num_id": "2204599425",
			"sid": "b2b-2204599425",
			"title": "汕头鹏发服装实力供应商",
			"zhuy": "https://winport.m.1688.com/page/index.html?memberId=b2b-2204599425",
			"shop_name": "鹏发制衣厂"
		},
		"tmall": "false",
		"error": "",
		"warning": "",
		"url_log": [],
		"unit": null,
		"is_support_mix": "true",
		"mix_amount": "1",
		"mix_begin": "0",
		"mix_number": "2147483647",
		"scale": "",
		"sellUnit": "件",
		"props_img": {
			"0:0": "https://cbu01.alicdn.com/img/ibank/2018/027/444/8898444720_1830039265.jpg",
			"0:1": "https://cbu01.alicdn.com/img/ibank/2018/817/444/8898444718_1830039265.jpg"
		},
		"sales_data": null,
		"priceRange": [
			[
				"1",
				"10.50"
			],
			[
				"50",
				"10.00"
			],
			[
				"500",
				"9.50"
			]
		],
		"priceRangeOriginal": [],
		"_ddf": "ti",
		"sales_info": {
			"seller_num": "",
			"repeat_rate_purchase": "",
			"per_capita_purchases": "",
			"comment_num": "",
			"comment_url": ""
		},
		"format_check": "ok",
		"shop_item": [],
		"relate_items": []
	},
	"error": "",
	"secache": "3705ef5a309b3740ed93a4be9ddd7d64",
	"secache_time": 1700547741,
	"secache_date": "2023-11-21 14:22:21",
	"translate_status": "",
	"translate_time": 0,
	"language": {
		"default_lang": "cn",
		"current_lang": "cn"
	},
	"reason": "",
	"error_code": "0000",
	"cache": 0,
	"api_info": "today:95 max:10000 all[328=95+173+60];expires:2030-12-31",
	"execution_time": "4.514",
	"server_time": "Beijing/2023-11-21 14:22:21",
	"client_ip": "61.131.237.29",
	"call_args": {
		"num_iid": "570076908845"
	},
	"api_type": "1688",
	"translate_language": "zh-CN",
	"translate_engine": "baidu",
	"server_memory": "3.59MB",
	"request_id": "gw-1.655c4c98aa7cd",
	"last_id": "2293375807"
}

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:/a/171699.html

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

SQL注入漏洞

在页面参数增加 and -1-1&#xff0c;页面回显正常 这里如果 and 11 会被拦截 然后尝试-1-2 页面报错&#xff0c;此处存在数字型sql注入漏洞 接下来就是查字段数 order by 1 页面依旧报错 如果大家在渗透的时候遇到这种情况 要考虑是不是某些参数被拦截等 换一种思路&#xf…

【Java】乡镇卫生院、社区卫生服务中心云HIS源码

云HIS采用云端SaaS服务的方式提供&#xff0c;用户通过浏览器即能访问&#xff0c;无需关注系统的部署、维护、升级等问题&#xff0c;系统充分考虑了模板化、配置化、智能化、扩展化等设计方法&#xff0c;覆盖了基层医院机构的主要工作流程&#xff0c;能够与监管系统有序对接…

怎么实现在微信公众号点外卖的功能

在当今快节奏的生活中&#xff0c;外卖已经成为了我们生活中不可或缺的一部分。而微信公众号作为人们获取信息、交流互动的重要平台&#xff0c;实现外卖功能也成为了用户的一大需求。本文将介绍如何在微信公众号上实现点外卖的功能&#xff0c;帮助大家更加便捷地享受美食。 一…

vue el-form表单嵌套组件时正则校验不生效

vue el-form表单嵌套组件时正则校验不生效 上图 组件选中数据&#xff0c;但是正则校验未检测到并且红字提示不会消失。直接上代码 <template><div class"created_report"><el-form :model"formData" :rules"isRules" ref"…

什么是多域名证书?

多域名证书是指同一个证书中包含多个域名&#xff0c;能够在多个站点之间共享一份证书&#xff0c;实现一个站点对应多个域名的情况。多域名证书非常适合需要跨多个站点部署的应用&#xff0c;例如企业的子站点、博客等。 特点 多域名证书的优点包括以下几个方面&#xff1a;…

第7章-使用统计方法进行变量有效性测试-7.4.1-简单线性回归

目录 基本概念 变量之间的关系 相关分析 回归分析 相关分析和回归分析的关系 一元线性回归模型 总体回归函数 样本回归函数 线性回归模型的假定 普通最小二乘法&#xff08;Ordinary Least Squares&#xff0c;OLS&#xff09; 拟合优度指标 回归系数估计量的性质 …

麒麟信安与MatrixOne完成兼容互认

近日&#xff0c;超融合异构云原生数据库MatrixOne企业版软件V1.0完成了与欧拉开源操作系统&#xff08;openEuler简称“欧拉”&#xff09;、麒麟信安操作系统系列产品和虚拟化平台的相互兼容认证&#xff0c;通过了欧拉兼容性测评&#xff0c;获得了《openEuler技术测评证书》…

Java核心知识点整理大全7-笔记

目录 4.1.9. JAVA 锁 4.1.9.1. 乐观锁 4.1.9.2. 悲观锁 4.1.9.3. 自旋锁 4.1.9.4. Synchronized 同步锁 Synchronized 作用范围 Synchronized 核心组件 Synchronized 实现 4.1.9.5. ReentrantLock Lock 接口的主要方法 非公平锁 公平锁 ReentrantLock 与 synchronized …

千梦网创:你现在赚的钱是三年前选择的结果

前一阵跟战友去上海逛了一圈&#xff0c;傍晚两个人坐在外滩边感慨互联网时代的机遇之大。 三年前在部队里我们对互联网可以说还是一无所知&#xff0c;月入过万就是我们对未来最大的憧憬目标。 这三年里&#xff0c;我们不仅稳稳的迈过了月入过万的门槛&#xff0c;还经历过…

小微初创企业,如何利用媒体宣传快速成长

传媒如春雨&#xff0c;润物细无声&#xff0c;大家好&#xff0c;我是51媒体网胡老师。 对于小微初创企业来说&#xff0c;利用媒体宣传可以快速提升品牌知名度、扩大影响力&#xff0c;进而促进企业的成长。 1.确定宣传目标&#xff1a;是增加销售、提升品牌知名度、还是推…

HarmonyOS ArkTS List组件和Grid组件的使用(五)

简介 ArkUI提供了List组件和Grid组件&#xff0c;开发者使用List和Grid组件能够很轻松的完成一些列表页面。常见的列表有线性列表&#xff08;List列表&#xff09;和网格布局&#xff08;Grid列表&#xff09;&#xff1a; List组件的使用 List是很常用的滚动类容器组件&…

创新无界:通义灵码在测试过程中展现的独特魅力

通义灵码基于通义大模型&#xff0c;提供代码智能生成、研发智能问答能力。本文就来介绍下通义灵码在测试过程中的应用。 操作手册&#xff1a; 通义灵码, 阿里云提供的一款基于通义大模型的智能编码辅助工具_云效-阿里云帮助中心 1. 什么是通义灵码 是阿里云出品的一款基于通…

【紫光同创PCIE教程】——使用WinDriver驱动紫光PCIE

本原创教程由深圳市小眼睛科技有限公司创作&#xff0c;版权归本公司所有&#xff0c;如需转载&#xff0c;需授权并注www.meyesemi.com) 紫光的logos系列的PGL50H/PGL100H、logos-2全系列都集成gen24的PCIE硬核&#xff0c;且官方也提供了例程。 紫光的PCIE用起来还是挺方便的…

你真的了解 Cookie 和 Session 吗?

文章目录 Cookie 和 Session总结 Cookie 和 Session cookie HTTP cookie&#xff08;web cookie、browser cookie&#xff09;是服务器发送给用户 web 浏览器的一小段数据。浏览器可能会存储 cookie&#xff0c;并在以后的请求中将其发送回同一台服务器。通常&#xff0c;HTTP …

山西电力市场日前价格预测【2023-11-22】

日前价格预测 预测说明&#xff1a; 如上图所示&#xff0c;预测明日&#xff08;2023-11-22&#xff09;山西电力市场全天平均日前电价为13.55元/MWh。其中&#xff0c;最高日前电价为243.27元/MWh&#xff0c;预计出现在18:00。最低日前电价为0.00元/MWh&#xff0c;预计出现…

系统之家U盘重装系统Win10方法步骤

用户发现自己电脑上的Win10系统出现问题了&#xff0c;想要通过重装系统来解决问题。但是&#xff0c;用户还不清楚具体重新安装Win10系统的步骤&#xff0c;接下来小编给大家详细介绍利用U盘完成Win10系统重装的方法&#xff0c;在这里用户需要下载系统之家装机大师软件&#…

Linux fork和vfork函数用法

fork和vfork是用于创建新进程的函数&#xff0c;在Linux的C语言编程中非常常见。 fork函数 fork函数是用于创建一个新的进程&#xff0c;新进程是调用进程的副本。新进程将包含调用进程的地址空间、文件描述符、栈和数据。在fork之后&#xff0c;父进程和子进程将并发执行。 …

AR眼镜方案—单目光波导AR智能眼镜

光波导技术是一项具有前沿意义的技术&#xff0c;它能够将光线反射180度&#xff0c;使得眼镜框架内置的MicroLED屏幕的图像通过多次反射与扩散后准确地传递到人眼中。采用MicroLED显示技术的AR智能眼镜不仅体积显著缩小&#xff0c;屏幕只有0.68英寸大小&#xff0c;并且还能够…

企业数字化转型所需的数据在哪里找?企业数据运营有什么用?

现阶段&#xff0c;越来越多企业考虑数字化转型。特别是中小型企业&#xff0c;他们察觉到&#xff1a;数字化转型的关键在于数据的运营。只有通过数据的有效管理和不断挖掘&#xff0c;企业才可以更好地了解市场需求&#xff0c;优化业务流程&#xff0c;提高决策效率&#xf…

SAP smartform和ALV如何使用图片 如何下载SE78上传的图片到本地

原文链接1&#xff1a;https://mp.weixin.qq.com/s/gb3LCoDLNhZGnpplG68cyA 原文链接2&#xff1a;https://mp.weixin.qq.com/s/iFFhGwFEK93QiddR1biXyA 1.如何在SMARTFORM中打印图片 在使用SmartForms进行打印单据开发时候&#xff0c;经常需要将公司的LOGO、公司印章、管理人…