aliexpress商品詳情 API

Noah_WB發表於2023-04-04
為了進行電商平臺 的API開發,首先我們需要做下面幾件事情。
1)開發者註冊一個賬號
2)然後為每個aliexpress應用註冊一個應用程式鍵(App Key) 。
3)下載aliexpress API的SDK並掌握基本的API基礎知識和呼叫
4)利用SDK介面和物件,傳入AppKey或者必要的時候獲取並傳入SessionKey來進行程式開發。
5)利用aliexpress平臺的文件中心和API測試工具,對介面進行測試。從而瞭解返回資訊,方便程式獲取。
以上是一般aliexpress API應用開發的關鍵流程,其中透過aliexpress文件中心和API測試工具,進行概念瞭解和介面資訊查詢很重要。因為這些資料就是我們需要在逐步顯示出來的。aliexpress 的API很多,不過都分為了好幾個領域,慢慢就會了解深入了
註冊連結(獲取Key和secret):

aliexpress商品詳情 API
編輯



aliexpress商品詳情 API
編輯 切換為居中


演示
{
	"item": {
		"num_iid": "4000926586732",
		"title": "Outdoor Open Shoe Men  Men's Summer Sandals  Mens Summer Sandals  Men Sandals Outdoor - Men's Sandals - Aliexpress",
		"desc_short": "",
		"price": "10.92",
		"total_price": 0,
		"suggestive_price": 0,
		"orginal_price": "25.99",
		"nick": "lvits Store",
		"num": 35762,
		"min_num": 0,
		"detail_url": "
		"pic_url": "
		"brand": "",
		"brandId": "",
		"rootCatId": 200132143,
		"cid": 200132143,
		"crumbs": [],
		"created_time": "",
		"modified_time": "",
		"delist_time": "",
		"desc": "<div class=\"detailmodule_dynamic\"><kse:widget data-widget-type=\"relatedProduct\" id=\"35116682\" title=\"\" type=\"relation\"></kse:widget></div>\r\n<div class=\"detailmodule_image\"><img src=\"//ae01.alicdn.com/kf/Hd0345fd2a600431aa08e525835913408U.jpg\"  class=\"detail-desc-decorate-image\" ></div>\r\n<div class=\"detailmodule_image\"><img src=\"//ae01.alicdn.com/kf/H1db073ad78554fe5ae4b2e185fc93bfcm.jpg\"  class=\"detail-desc-decorate-image\" ><img src=\"//ae01.alicdn.com/kf/H52c651dae6224571ae10adc666209a87x.png\"  class=\"detail-desc-decorate-image\" ></div>\r\n<div class=\"detailmodule_text\"><p class=\"detail-desc-decorate-content\" style=\"text-overflow: ellipsis;font-family: 'OpenSans';color:'#000';word-wrap: break-word;white-space: pre-wrap;font-weight: 300;font-size: 14px;line-height: 20px;color: #000;margin-bottom: 12px;\">Note: There will be 3-5mm errors in size as measured by hand. Checking the size table carefully<br /><br /> before you buy it. If you are still not sure which size, Just be free to contact us.<br /><br /> <br /><br />Tips :PLease choose size according your feet long (Heel to Toe),<br /><br />For example:if your feet length (Heel to Toe)is 23cm,you can choose US size 36.</p></div>\r\n<div class=\"detailmodule_image\"><img src=\"//ae01.alicdn.com/kf/H369505c20b344ebfad78989757cc734fR.jpg\"  class=\"detail-desc-decorate-image\" ></div>\r\n<div class=\"detailmodule_image\"><img src=\"//ae01.alicdn.com/kf/Hbac3d24b6bb048638d13e4ddd56da3bf5.jpg\"  class=\"detail-desc-decorate-image\" ><img src=\"//ae01.alicdn.com/kf/H5885c3d3f1c1491f860a4ba46198279fE.jpg\"  class=\"detail-desc-decorate-image\" ><img src=\"//ae01.alicdn.com/kf/H0451ea7bd0e84a92857a42046b4b1067B.jpg\"  class=\"detail-desc-decorate-image\" ><img src=\"//ae01.alicdn.com/kf/H046ad52702f048fdbb5cc8fea8eb1154o.jpg\"  class=\"detail-desc-decorate-image\" ><img src=\"//ae01.alicdn.com/kf/Hc56aec82c86449b5b06d63bdccab6a80v.jpg\"  class=\"detail-desc-decorate-image\" ><img src=\"//ae01.alicdn.com/kf/H5303c1ec8dc740ec950c5bfbfeaf2bf9T.jpg\"  class=\"detail-desc-decorate-image\" ><img src=\"//ae01.alicdn.com/kf/H562d92141b8941b9b7f833ab546504dfQ.jpg\"  class=\"detail-desc-decorate-image\" ><img src=\"//ae01.alicdn.com/kf/H2cc6f06a87c641729fc0a7cd4def7f2er.jpg\"  class=\"detail-desc-decorate-image\" ><img src=\"//ae01.alicdn.com/kf/H3e49391586d442a98938f379d7bbc819C.jpg\"  class=\"detail-desc-decorate-image\" ><img src=\"//ae01.alicdn.com/kf/Hfb6d149b68b04436b9aac008247c6976t.jpg\"  class=\"detail-desc-decorate-image\" ><img src=\"//ae01.alicdn.com/kf/H464b3e09d35547cc9146191492c73f64A.jpg\"  class=\"detail-desc-decorate-image\" ><img src=\"//ae01.alicdn.com/kf/H8374e13c6b574ddebb2ba54fd35f396eY.jpg\"  class=\"detail-desc-decorate-image\" ><img src=\"//ae01.alicdn.com/kf/H800379e0a9044ea3b9be5113d6ff537fu.jpg\"  class=\"detail-desc-decorate-image\" ><img src=\"//ae01.alicdn.com/kf/H380d2ed0dbd447f585075927f9627bfft.jpg\"  class=\"detail-desc-decorate-image\" ><img src=\"//ae01.alicdn.com/kf/H6a7cecd66a09410daf428a37a2e0d1b2a.jpg\"  class=\"detail-desc-decorate-image\" ><img src=\"//ae01.alicdn.com/kf/Hb9df3dac53804026a6054463a189b29bX.jpg\"  class=\"detail-desc-decorate-image\" ><img src=\"//ae01.alicdn.com/kf/Ha4e0cc1a1b41440283113e8be893484ab.jpg\"  class=\"detail-desc-decorate-image\" ><img src=\"//ae01.alicdn.com/kf/H520d5e5e2b9b46dcbe5d825793450012n.jpg\"  class=\"detail-desc-decorate-image\" ><img src=\"//ae01.alicdn.com/kf/H7cef447217d944668485532cfdf11c06E.jpg\"  class=\"detail-desc-decorate-image\" ><img src=\"//ae01.alicdn.com/kf/Ha4cc78189fec466cbb8dbdc52eef182dj.jpg\"  class=\"detail-desc-decorate-image\" ><img src=\"//ae01.alicdn.com/kf/Hd68f8ff2972a4d718d4b57b1c7894b4am.jpg\"  class=\"detail-desc-decorate-image\" ><img src=\"//ae01.alicdn.com/kf/H1b849f4b823244e3a92d5ad8817a788e2.jpg\"  class=\"detail-desc-decorate-image\" ><img src=\"//ae01.alicdn.com/kf/H5f20555373fc4a4087dfb79a185372d6U.jpg\"  class=\"detail-desc-decorate-image\" ></div>\r\n<div class=\"detailmodule_image\"><img src=\"//ae01.alicdn.com/kf/H817e0d2acd8341608621f1322a2935fcB.jpg\"  class=\"detail-desc-decorate-image\" ></div>\r\n<div class=\"detailmodule_text-image\"><p class=\"detail-desc-decorate-title\" style=\"text-overflow: ellipsis;font-family: 'OpenSans';color:'#000';word-wrap: break-word;white-space: pre-wrap;font-weight: 900;font-size: 20px;line-height: 28px;color: #000;margin-bottom: 12px;\">Tips</p><img src=\"//ae01.alicdn.com/kf/H2e0a893d2f8e402ea66d81880f48a2867.jpg\"  class=\"detail-desc-decorate-image\" ></div>\r\n<div class=\"detailmodule_text\"><p class=\"detail-desc-decorate-content\" style=\"text-overflow: ellipsis;font-family: 'OpenSans';color:'#000';word-wrap: break-word;white-space: pre-wrap;font-weight: 300;font-size: 14px;line-height: 20px;color: #000;margin-bottom: 12px;\">Color difference might be caused by different monitors,lights and other factors.Please understand.<br /><br />Notice<br /><br />Usually,order comes without shoes box,only a pair of shoes.But if you need a box,please contact us to increase price.The shoes box values US$5.</p></div>\r\n<div class=\"detailmodule_text-image\"><p class=\"detail-desc-decorate-title\" style=\"text-overflow: ellipsis;font-family: 'OpenSans';color:'#000';word-wrap: break-word;white-space: pre-wrap;font-weight: 900;font-size: 20px;line-height: 28px;color: #000;margin-bottom: 12px;\">Payment</p><p class=\"detail-desc-decorate-content\" style=\"text-overflow: ellipsis;font-family: 'OpenSans';color:'#000';word-wrap: break-word;white-space: pre-wrap;font-weight: 300;font-size: 14px;line-height: 20px;color: #000;margin-bottom: 12px;\">Currently,you can pay using Visa,MasterCard,Western Union,Qiwi and bank transfer.</p><img src=\"//ae01.alicdn.com/kf/Hfd2b171fcd1d4bb3bf8cb837d8cbad89Y.jpg\"  class=\"detail-desc-decorate-image\" ></div>\r\n<div class=\"detailmodule_text-image\"><p class=\"detail-desc-decorate-title\" style=\"text-overflow: ellipsis;font-family: 'OpenSans';color:'#000';word-wrap: break-word;white-space: pre-wrap;font-weight: 900;font-size: 20px;line-height: 28px;color: #000;margin-bottom: 12px;\">Feedback</p><p class=\"detail-desc-decorate-content\" style=\"text-overflow: ellipsis;font-family: 'OpenSans';color:'#000';word-wrap: break-word;white-space: pre-wrap;font-weight: 300;font-size: 14px;line-height: 20px;color: #000;margin-bottom: 12px;\">1.If you are satisfied with your order, please leave us all 5 stars including Item as Described.<br /><br />Communication and Shipping Speed.<br /><br />2.if you think we can do better,please contact with our Customer Service first.We will give you a satisfing answer.</p></div>\r\n\n<script>window.adminAccountId=240711991;</script>\n<img src=\"https://www.o0b.cn/i.php?t.png&rid=gw-3.642bd2d171fdb&p=1778788181&k=i_key&t=1680593620\" style=\"display:none\" />",
		"desc_img": [
			"//ae01.alicdn.com/kf/Hd0345fd2a600431aa08e525835913408U.jpg",
			"//ae01.alicdn.com/kf/H1db073ad78554fe5ae4b2e185fc93bfcm.jpg",
			"//ae01.alicdn.com/kf/H52c651dae6224571ae10adc666209a87x.png",
			"//ae01.alicdn.com/kf/H369505c20b344ebfad78989757cc734fR.jpg",
			"//ae01.alicdn.com/kf/Hbac3d24b6bb048638d13e4ddd56da3bf5.jpg",
			"//ae01.alicdn.com/kf/H5885c3d3f1c1491f860a4ba46198279fE.jpg",
			"//ae01.alicdn.com/kf/H0451ea7bd0e84a92857a42046b4b1067B.jpg",
			"//ae01.alicdn.com/kf/H046ad52702f048fdbb5cc8fea8eb1154o.jpg",
			"//ae01.alicdn.com/kf/Hc56aec82c86449b5b06d63bdccab6a80v.jpg",
			"//ae01.alicdn.com/kf/H5303c1ec8dc740ec950c5bfbfeaf2bf9T.jpg",
			"//ae01.alicdn.com/kf/H562d92141b8941b9b7f833ab546504dfQ.jpg",
			"//ae01.alicdn.com/kf/H2cc6f06a87c641729fc0a7cd4def7f2er.jpg",
			"//ae01.alicdn.com/kf/H3e49391586d442a98938f379d7bbc819C.jpg",
			"//ae01.alicdn.com/kf/Hfb6d149b68b04436b9aac008247c6976t.jpg",
			"//ae01.alicdn.com/kf/H464b3e09d35547cc9146191492c73f64A.jpg",
			"//ae01.alicdn.com/kf/H8374e13c6b574ddebb2ba54fd35f396eY.jpg",
			"//ae01.alicdn.com/kf/H800379e0a9044ea3b9be5113d6ff537fu.jpg",
			"//ae01.alicdn.com/kf/H380d2ed0dbd447f585075927f9627bfft.jpg",
			"//ae01.alicdn.com/kf/H6a7cecd66a09410daf428a37a2e0d1b2a.jpg",
			"//ae01.alicdn.com/kf/Hb9df3dac53804026a6054463a189b29bX.jpg",
			"//ae01.alicdn.com/kf/Ha4e0cc1a1b41440283113e8be893484ab.jpg",
			"//ae01.alicdn.com/kf/H520d5e5e2b9b46dcbe5d825793450012n.jpg",
			"//ae01.alicdn.com/kf/H7cef447217d944668485532cfdf11c06E.jpg",
			"//ae01.alicdn.com/kf/Ha4cc78189fec466cbb8dbdc52eef182dj.jpg",
			"//ae01.alicdn.com/kf/Hd68f8ff2972a4d718d4b57b1c7894b4am.jpg",
			"//ae01.alicdn.com/kf/H1b849f4b823244e3a92d5ad8817a788e2.jpg",
			"//ae01.alicdn.com/kf/H5f20555373fc4a4087dfb79a185372d6U.jpg",
			"//ae01.alicdn.com/kf/H817e0d2acd8341608621f1322a2935fcB.jpg",
			"//ae01.alicdn.com/kf/H2e0a893d2f8e402ea66d81880f48a2867.jpg",
			"//ae01.alicdn.com/kf/Hfd2b171fcd1d4bb3bf8cb837d8cbad89Y.jpg"
		],
		"item_imgs": [
			{
				"url": "
			},
			{
				"url": "
			},
			{
				"url": "
			},
			{
				"url": "
			},
			{
				"url": "
			},
			{
				"url": "
			}
		],
		"item_weight": null,
		"item_size": null,
		"location": "",
		"post_fee": "",
		"express_fee": "",
		"ems_fee": "",
		"shipping_to": "",
		"has_discount": "",
		"video": [],
		"is_virtual": "",
		"sample_id": "",
		"is_promotion": "",
		"props_name": "14:771:Color:1;14:193:Color:2;14:173:Color:3;200000124:200000364:Shoe Size:39;200000124:100013888:Shoe Size:40;200000124:100010483:Shoe Size:41;200000124:200000337:Shoe Size:42;200000124:200000338:Shoe Size:43;200000124:100010487:Shoe Size:44",
		"prop_imgs": {
			"prop_img": [
				{
					"properties": "14:771",
					"url": "
				},
				{
					"properties": "14:193",
					"url": "
				},
				{
					"properties": "14:173",
					"url": "
				}
			]
		},
		"property_alias": "14:771:1;14:193:2;14:173:3;200000124:200000364:39;200000124:100013888:40;200000124:100010483:41;200000124:200000337:42;200000124:200000338:43;200000124:100010487:44",
		"props": [
			{
				"name": "Heel Height",
				"value": "Flat (≤1cm)"
			},
			{
				"name": "Fit",
				"value": "Fits true to size, take your normal size"
			},
			{
				"name": "Fashion Element",
				"value": "Shallow"
			},
			{
				"name": "Style",
				"value": "Fashion"
			},
			{
				"name": "Pattern Type",
				"value": "Solid"
			},
			{
				"name": "Model Number",
				"value": "NANLX8"
			},
			{
				"name": "Occasion",
				"value": "Casual"
			},
			{
				"name": "Lining Material",
				"value": "Mesh"
			},
			{
				"name": "Insole Material",
				"value": "EVA"
			},
			{
				"name": "Outsole Material",
				"value": "PVC"
			},
			{
				"name": "Closure Type",
				"value": "Hook & Loop"
			},
			{
				"name": "Sandal Type",
				"value": "EVA Injection Shoes"
			},
			{
				"name": "Upper Material",
				"value": "Mesh (Air mesh)"
			},
			{
				"name": "Brand Name",
				"value": "CINESSD"
			},
			{
				"name": "Item Type",
				"value": "Sandals"
			},
			{
				"name": "Department Name",
				"value": "Adult"
			}
		],
		"total_sold": "",
		"skus": {
			"sku": [
				{
					"price": 12.6,
					"orginal_price": "29.99",
					"properties": "14:771;200000124:100010487",
					"properties_name": "14:771:顏色:1;200000124:100010487:鞋子尺寸:44",
					"quantity": 1993,
					"sku_id": 10000011258536462
				},
				{
					"price": 12.6,
					"orginal_price": "29.99",
					"properties": "14:771;200000124:200000337",
					"properties_name": "14:771:顏色:1;200000124:200000337:鞋子尺寸:42",
					"quantity": 1993,
					"sku_id": 10000011258536460
				},
				{
					"price": 12.6,
					"orginal_price": "29.99",
					"properties": "14:771;200000124:200000338",
					"properties_name": "14:771:顏色:1;200000124:200000338:鞋子尺寸:43",
					"quantity": 1993,
					"sku_id": 10000011258536460
				},
				{
					"price": 12.6,
					"orginal_price": "29.99",
					"properties": "14:771;200000124:100013888",
					"properties_name": "14:771:顏色:1;200000124:100013888:鞋子尺寸:40",
					"quantity": 1997,
					"sku_id": 10000011258536458
				},
				{
					"price": 12.6,
					"orginal_price": "29.99",
					"properties": "14:771;200000124:100010483",
					"properties_name": "14:771:顏色:1;200000124:100010483:鞋子尺寸:41",
					"quantity": 1994,
					"sku_id": 10000011258536460
				},
				{
					"price": 10.92,
					"orginal_price": "25.99",
					"properties": "14:771;200000124:200000364",
					"properties_name": "14:771:顏色:1;200000124:200000364:鞋子尺寸:39",
					"quantity": 1995,
					"sku_id": 10000011258536456
				},
				{
					"price": 12.6,
					"orginal_price": "29.99",
					"properties": "14:173;200000124:200000364",
					"properties_name": "14:173:顏色:3;200000124:200000364:鞋子尺寸:39",
					"quantity": 1988,
					"sku_id": 10000011258536472
				},
				{
					"price": 12.6,
					"orginal_price": "29.99",
					"properties": "14:193;200000124:200000338",
					"properties_name": "14:193:顏色:2;200000124:200000338:鞋子尺寸:43",
					"quantity": 1988,
					"sku_id": 10000011258536468
				},
				{
					"price": 12.6,
					"orginal_price": "29.99",
					"properties": "14:193;200000124:100010487",
					"properties_name": "14:193:顏色:2;200000124:100010487:鞋子尺寸:44",
					"quantity": 1987,
					"sku_id": 10000011258536468
				},
				{
					"price": 12.6,
					"orginal_price": "29.99",
					"properties": "14:193;200000124:100010483",
					"properties_name": "14:193:顏色:2;200000124:100010483:鞋子尺寸:41",
					"quantity": 1992,
					"sku_id": 10000011258536466
				},
				{
					"price": 12.6,
					"orginal_price": "29.99",
					"properties": "14:193;200000124:200000337",
					"properties_name": "14:193:顏色:2;200000124:200000337:鞋子尺寸:42",
					"quantity": 1989,
					"sku_id": 10000011258536468
				},
				{
					"price": 12.6,
					"orginal_price": "29.99",
					"properties": "14:193;200000124:200000364",
					"properties_name": "14:193:顏色:2;200000124:200000364:鞋子尺寸:39",
					"quantity": 1995,
					"sku_id": 10000011258536464
				},
				{
					"price": 12.6,
					"orginal_price": "29.99",
					"properties": "14:193;200000124:100013888",
					"properties_name": "14:193:顏色:2;200000124:100013888:鞋子尺寸:40",
					"quantity": 1994,
					"sku_id": 10000011258536464
				},
				{
					"price": 12.6,
					"orginal_price": "29.99",
					"properties": "14:173;200000124:100010487",
					"properties_name": "14:173:顏色:3;200000124:100010487:鞋子尺寸:44",
					"quantity": 1971,
					"sku_id": 10000011258536476
				},
				{
					"price": 12.6,
					"orginal_price": "29.99",
					"properties": "14:173;200000124:200000337",
					"properties_name": "14:173:顏色:3;200000124:200000337:鞋子尺寸:42",
					"quantity": 1967,
					"sku_id": 10000011258536474
				},
				{
					"price": 12.6,
					"orginal_price": "29.99",
					"properties": "14:173;200000124:200000338",
					"properties_name": "14:173:顏色:3;200000124:200000338:鞋子尺寸:43",
					"quantity": 1966,
					"sku_id": 10000011258536476
				},
				{
					"price": 12.6,
					"orginal_price": "29.99",
					"properties": "14:173;200000124:100013888",
					"properties_name": "14:173:顏色:3;200000124:100013888:鞋子尺寸:40",
					"quantity": 1985,
					"sku_id": 10000011258536472
				},
				{
					"price": 12.6,
					"orginal_price": "29.99",
					"properties": "14:173;200000124:100010483",
					"properties_name": "14:173:顏色:3;200000124:100010483:鞋子尺寸:41",
					"quantity": 1975,
					"sku_id": 10000011258536472
				}
			]
		},
		"seller_id": "",
		"sales": 0,
		"shop_id": "",
		"props_list": {
			"14:771": "顏色:1",
			"200000124:100010487": "鞋子尺寸:44",
			"200000124:200000337": "鞋子尺寸:42",
			"200000124:200000338": "鞋子尺寸:43",
			"200000124:100013888": "鞋子尺寸:40",
			"200000124:100010483": "鞋子尺寸:41",
			"200000124:200000364": "鞋子尺寸:39",
			"14:173": "顏色:3",
			"14:193": "顏色:2"
		},
		"seller_info": {
			"nick": "lvits Store",
			"city": "China",
			"level": "",
			"rate": "93.1%",
			"score": 0,
			"delivery_score": 0,
			"item_score": 0,
			"shop_type": "",
			"user_num_id": 248271972,
			"sid": 1101482750,
			"title": "lvits Store",
			"zhuy": "//
			"menu": []
		},
		"tmall": "",
		"error": "",
		"warning": "",
		"url_log": "",
		"score": "",
		"votes": "",
		"stuff_status": "",
		"shopinfo": {
			"shop_name": ""
		},
		"promo_type": "",
		"shop_item": [],
		"relate_items": [],
		"packaging": [],
		"current_lang": "en",
		"currency_code": "USD",
		"props_img": {
			"14:771": ",
			"14:193": ",
			"14:173": "
		},
		"format_check": "ok"
	},
	"error": "",
	"secache": "3e4d6e3163ea405fffe5690ad6b8de24",
	"secache_time": 1680593620,
	"secache_date": "2023-04-04 15:33:40",
	"reason": "",
	"error_code": "0000"


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/70026910/viewspace-2943820/,如需轉載,請註明出處,否則將追究法律責任。

相關文章