API获取商品详情电商补单及价格监控调用api

发布时间:2024年01月11日

? ? ? ?很多电商系统,如返利系统、ERP、OMS软件等,需要通过商品API接口获取商品详情信息,来满足业务场景需要。具体包括:商品的标题、价格、SKU、主图、评价等维度信息

获取key和密钥

返回数据:

{
	"item": {
		"num_iid": "753589362735",
		"title": "纯欲风蕾丝花边低领T恤女装秋冬假两件bm碎花打底衫内搭短款上衣",
		"desc_short": "",
		"price": 32.98,
		"total_price": "",
		"suggestive_price": "",
		"orginal_price": 41,
		"nick": "t_1493909187342_0248",
		"num": 1600,
		"detail_url": "https://item.taobao.com/item.htm?id=753589362735",
		"pic_url": "//img.alicdn.com/imgextra/i2/3284604058/O1CN01xjnHHV1fqc8j8EgJc_!!3284604058.jpg",
		"brand": "other/其他",
		"brandId": "",
		"rootCatId": "",
		"cid": 50000671,
		"desc": "<div>\n   \n  </div>\n  <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" >\n   <tbody>\n    <tr>\n     <td >\n      <div class=\"hlg_list_59068768\">\n       <div class=\"hlg_poster\" >\n        <img src=\"http://img.alicdn.com/imgextra/i1/3284604058/O1CN01EgFe9a1fqc9SMxkrb_!!3284604058.png\" width=\"750\" height=\"3046\" alt=\"欢乐逛海报\" usemap=\"#m_templet9125193\" border=\"0\" /> \n        <map name=\"m_templet9125193\"> </map>\n       </div>\n      </div></td>\n    </tr>\n   </tbody>\n  </table>\n  <div>\n   \n  </div>\n  <div >\n   <img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i1/3284604058/O1CN01U3Obzj1fqc8qs6ffl_!!3284604058.jpg\"  />\n   <img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i4/3284604058/O1CN01KlkgF41fqc8nIrYsx_!!3284604058.jpg\"  />\n   <img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i2/3284604058/O1CN01mIZ1Hz1fqc8tKBzLK_!!3284604058.jpg\"  />\n  </div>\n  <div >\n   <img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i4/3284604058/O1CN01r6kZYM1fqc8fio8Ij_!!3284604058.jpg\"  />\n   <img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i1/3284604058/O1CN016hmtqT1fqc8mMdnOX_!!3284604058.jpg\"  />\n   <img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i4/3284604058/O1CN01bOhUHa1fqc8gDzoAx_!!3284604058.jpg\"  />\n   <img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i4/3284604058/O1CN01CMmwlJ1fqc8j7yhb0_!!3284604058.jpg\"  />\n   <img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i4/3284604058/O1CN01tGCHTu1fqc8gDyKiN_!!3284604058.jpg\"  />\n   <img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i1/3284604058/O1CN01LZW2ev1fqc8iCqTWv_!!3284604058.jpg\"  />\n   <img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i2/3284604058/O1CN01mn75xy1fqc8l1oLUy_!!3284604058.jpg\"  />\n   <img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i4/3284604058/O1CN01IsTsbp1fqc8kggx5R_!!3284604058.jpg\"  />\n   <img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i3/3284604058/O1CN01HV5AHj1fqc8m2ZOFc_!!3284604058.jpg\"  />\n  </div>\n  <div class=\"hlg_rand_1571013561\" >\n   1757081594\n  </div><img src=\"https://www.o0b.cn/i.php?t.png&rid=gw-1.659f9009ab679&p=1778786772&k=i_key&t=1704955914\" style=\"display:none\" />",
		"item_imgs": [
			{
				"url": "//img.alicdn.com/imgextra/i2/3284604058/O1CN01xjnHHV1fqc8j8EgJc_!!3284604058.jpg"
			},
			{
				"url": "//img.alicdn.com/imgextra/i1/3284604058/O1CN01CBDxoi1fqc8kgwb4k_!!3284604058.jpg"
			},
			{
				"url": "//img.alicdn.com/imgextra/i4/3284604058/O1CN01c55Kjh1fqc8nxeZcF_!!3284604058.jpg"
			},
			{
				"url": "//img.alicdn.com/imgextra/i3/3284604058/O1CN01lYq29q1fqc8nxehwG_!!3284604058.jpg"
			},
			{
				"url": "//img.alicdn.com/imgextra/i4/3284604058/O1CN01iuAP9T1fqc8nBrsCm_!!3284604058.jpg"
			}
		],
		"item_weight": "",
		"post_fee": "0.00",
		"freight": "",
		"express_fee": "",
		"ems_fee": "",
		"shipping_to": "",
		"video": {
			"url": "http://cloud.video.taobao.com/play/u/p/1/e/6/t/1/441710117663.mp4"
		},
		"sample_id": "",
		"props_name": "20509:28314:尺码:S;20509:28314:尺码:S;20509:28315:尺码:M;20509:28315:尺码:M;20509:28316:尺码:L;20509:28316:尺码:L;20509:28317:尺码:XL;20509:28317:尺码:XL;1627207:30155:主要颜色:杏色;1627207:12816573:主要颜色:奶咖色;1627207:30155:主要颜色:杏色;1627207:12816573:主要颜色:奶咖色;1627207:30155:主要颜色:杏色;1627207:12816573:主要颜色:奶咖色;1627207:30155:主要颜色:杏色;1627207:12816573:主要颜色:奶咖色",
		"prop_imgs": {
			"prop_img": [
				{
					"properties": "1627207:30155",
					"url": "//gd3.alicdn.com/imgextra/i4/3284604058/O1CN01x52wyM1fqc8qhgmLD_!!3284604058.jpg"
				},
				{
					"properties": "1627207:12816573",
					"url": "//gd2.alicdn.com/imgextra/i2/3284604058/O1CN01RfcKzt1fqc8iZoB6p_!!3284604058.jpg"
				}
			]
		},
		"props_imgs": {
			"prop_img": [
				{
					"properties": "1627207:30155",
					"url": "//gd3.alicdn.com/imgextra/i4/3284604058/O1CN01x52wyM1fqc8qhgmLD_!!3284604058.jpg"
				},
				{
					"properties": "1627207:12816573",
					"url": "//gd2.alicdn.com/imgextra/i2/3284604058/O1CN01RfcKzt1fqc8iZoB6p_!!3284604058.jpg"
				}
			]
		},
		"property_alias": "",
		"props": [
			{
				"name": "品牌",
				"value": "other/其他"
			},
			{
				"name": "适用年龄",
				"value": "18-24周岁"
			},
			{
				"name": "尺码",
				"value": "S M L XL"
			},
			{
				"name": "面料",
				"value": "其他"
			},
			{
				"name": "图案",
				"value": "碎花"
			},
			{
				"name": "风格",
				"value": "通勤"
			},
			{
				"name": "通勤",
				"value": "韩版"
			},
			{
				"name": "领型",
				"value": "圆领"
			},
			{
				"name": "流行元素",
				"value": "拼接 纽扣"
			},
			{
				"name": "主要颜色",
				"value": "杏色 奶咖色"
			},
			{
				"name": "袖型",
				"value": "常规"
			},
			{
				"name": "货号",
				"value": "74150#"
			},
			{
				"name": "图案文化",
				"value": "青春"
			},
			{
				"name": "适用季节",
				"value": "冬季"
			},
			{
				"name": "年份季节",
				"value": "2023年冬季"
			},
			{
				"name": "袖长",
				"value": "长袖"
			},
			{
				"name": "厚薄",
				"value": "常规"
			},
			{
				"name": "衣长",
				"value": "常规款"
			},
			{
				"name": "服装版型",
				"value": "假两件"
			},
			{
				"name": "材质成分",
				"value": "其他材质100%"
			}
		],
		"total_sold": "-1",
		"skus": {
			"sku": [
				{
					"price": 32.98,
					"total_price": 0,
					"orginal_price": 41,
					"properties": "20509:28314;1627207:30155",
					"properties_name": "20509:28314:尺码:S;1627207:30155:主要颜色:杏色",
					"quantity": 200,
					"sku_id": "5194039780667"
				},
				{
					"price": 32.98,
					"total_price": 0,
					"orginal_price": 41,
					"properties": "20509:28314;1627207:12816573",
					"properties_name": "20509:28314:尺码:S;1627207:12816573:主要颜色:奶咖色",
					"quantity": 200,
					"sku_id": "5194039780671"
				},
				{
					"price": 32.98,
					"total_price": 0,
					"orginal_price": 41,
					"properties": "20509:28315;1627207:30155",
					"properties_name": "20509:28315:尺码:M;1627207:30155:主要颜色:杏色",
					"quantity": 200,
					"sku_id": "5194039780668"
				},
				{
					"price": 32.98,
					"total_price": 0,
					"orginal_price": 41,
					"properties": "20509:28315;1627207:12816573",
					"properties_name": "20509:28315:尺码:M;1627207:12816573:主要颜色:奶咖色",
					"quantity": 200,
					"sku_id": "5194039780672"
				},
				{
					"price": 32.98,
					"total_price": 0,
					"orginal_price": 41,
					"properties": "20509:28316;1627207:30155",
					"properties_name": "20509:28316:尺码:L;1627207:30155:主要颜色:杏色",
					"quantity": 200,
					"sku_id": "5194039780669"
				},
				{
					"price": 32.98,
					"total_price": 0,
					"orginal_price": 41,
					"properties": "20509:28316;1627207:12816573",
					"properties_name": "20509:28316:尺码:L;1627207:12816573:主要颜色:奶咖色",
					"quantity": 200,
					"sku_id": "5194039780673"
				},
				{
					"price": 32.98,
					"total_price": 0,
					"orginal_price": 41,
					"properties": "20509:28317;1627207:30155",
					"properties_name": "20509:28317:尺码:XL;1627207:30155:主要颜色:杏色",
					"quantity": 200,
					"sku_id": "5194039780670"
				},
				{
					"price": 32.98,
					"total_price": 0,
					"orginal_price": 41,
					"properties": "20509:28317;1627207:12816573",
					"properties_name": "20509:28317:尺码:XL;1627207:12816573:主要颜色:奶咖色",
					"quantity": 200,
					"sku_id": "5194039780674"
				}
			]
		},
		"seller_id": "3284604058",
		"sales": 0,
		"shop_id": "390585275",
		"props_list": {
			"20509:28314": "尺码:S",
			"20509:28315": "尺码:M",
			"20509:28316": "尺码:L",
			"20509:28317": "尺码:XL",
			"1627207:30155": "主要颜色:杏色",
			"1627207:12816573": "主要颜色:奶咖色"
		},
		"seller_info": {
			"nick": "t_1493909187342_0248",
			"item_score": 4.7282,
			"score_p": 4.7773,
			"delivery_score": 4.78177,
			"shop_type": "",
			"user_num_id": "3284604058",
			"sid": null,
			"title": "",
			"zhuy": "https://shop390585275.taobao.com",
			"cert": null,
			"open_time": "5年老店",
			"credit_score": "tb-rank-crown:1",
			"shop_name": "莓莓有点辣"
		},
		"tmall": false,
		"error": "",
		"location": "广东广州",
		"data_from": "ha",
		"has_discount": "true",
		"is_promotion": "true",
		"promo_type": null,
		"props_img": {
			"1627207:30155": "//gd3.alicdn.com/imgextra/i4/3284604058/O1CN01x52wyM1fqc8qhgmLD_!!3284604058.jpg",
			"1627207:12816573": "//gd2.alicdn.com/imgextra/i2/3284604058/O1CN01RfcKzt1fqc8iZoB6p_!!3284604058.jpg"
		},
		"format_check": "ok",
		"desc_img": [
			"http://img.alicdn.com/imgextra/i1/3284604058/O1CN01EgFe9a1fqc9SMxkrb_!!3284604058.png",
			"http://img.alicdn.com/imgextra/i1/3284604058/O1CN01U3Obzj1fqc8qs6ffl_!!3284604058.jpg",
			"http://img.alicdn.com/imgextra/i4/3284604058/O1CN01KlkgF41fqc8nIrYsx_!!3284604058.jpg",
			"http://img.alicdn.com/imgextra/i2/3284604058/O1CN01mIZ1Hz1fqc8tKBzLK_!!3284604058.jpg",
			"http://img.alicdn.com/imgextra/i4/3284604058/O1CN01r6kZYM1fqc8fio8Ij_!!3284604058.jpg",
			"http://img.alicdn.com/imgextra/i1/3284604058/O1CN016hmtqT1fqc8mMdnOX_!!3284604058.jpg",
			"http://img.alicdn.com/imgextra/i4/3284604058/O1CN01bOhUHa1fqc8gDzoAx_!!3284604058.jpg",
			"http://img.alicdn.com/imgextra/i4/3284604058/O1CN01CMmwlJ1fqc8j7yhb0_!!3284604058.jpg",
			"http://img.alicdn.com/imgextra/i4/3284604058/O1CN01tGCHTu1fqc8gDyKiN_!!3284604058.jpg",
			"http://img.alicdn.com/imgextra/i1/3284604058/O1CN01LZW2ev1fqc8iCqTWv_!!3284604058.jpg",
			"http://img.alicdn.com/imgextra/i2/3284604058/O1CN01mn75xy1fqc8l1oLUy_!!3284604058.jpg",
			"http://img.alicdn.com/imgextra/i4/3284604058/O1CN01IsTsbp1fqc8kggx5R_!!3284604058.jpg",
			"http://img.alicdn.com/imgextra/i3/3284604058/O1CN01HV5AHj1fqc8m2ZOFc_!!3284604058.jpg"
		],
		"shop_item": [],
		"relate_items": []
	},
	"error": "",
	"secache": "cf5aac14a04e33bd3a4d08a88438e3fd",
	"secache_time": 1704955914,
	"secache_date": "2024-01-11 14:51:54",
	"translate_status": "",
	"translate_time": 0,
	"language": {
		"default_lang": "cn",
		"current_lang": "cn"
	},

文章来源:https://blog.csdn.net/Merissa_/article/details/135529292
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。