获取商品信息

请求地址: 

https://open.dlszywz.cn/open/product/getProInfo


请求方式:

  • GET

参数:


参数名必选类型说明
tokenstring授权令牌【通过header参数传值】
pro_idstring商品ID



返回示例

{
	"code":200,
	"data":
	{
		"list":
		{
			"proid":"17164282",
			"Sale_price":3,
			"Original_price":"5.00",
			"State":1,
			"ProdNum":"100",
			"saleUnit":"",
			"weight":"0.00",
			"productArea":"",
			"wareQD":"",
			"imagePath":"https:\/\/aimg8.dlssyht.cn\/u\/1903239\/product\/9293\/18585706_1582360014.jpg?x-oss-process=image\/resize,m_lfit,w_800,h_800,limit_0",
			"sku":"913083",
			"brandName":"",
			"upc":"",
			"category":"5404437;5411777",
			"protype":"防疫;防疫清洁",
			"name":"MIEVIC米薇可  家用喷雾瓶 旅行分装瓶40ml 60ml 80ml",
			"introduction":"<p><img title=\"1582360259517161.jpg\" src=\"https:\/\/aimg8.dlssyht.cn\/u\/1903239\/ueditor\/image\/952\/1903239\/1582360259517161.jpg\"\/><\/p><p><img title=\"1582360260556740.jpg\" src=\"https:\/\/aimg8.dlssyht.cn\/u\/1903239\/ueditor\/image\/952\/1903239\/1582360260556740.jpg\"\/><\/p><p><img title=\"1582360261257920.jpg\" src=\"https:\/\/aimg8.dlssyht.cn\/u\/1903239\/ueditor\/image\/952\/1903239\/1582360261257920.jpg\"\/><\/p><p><img title=\"1582360262376788.jpg\" src=\"https:\/\/aimg8.dlssyht.cn\/u\/1903239\/ueditor\/image\/952\/1903239\/1582360262376788.jpg\"\/><\/p><p><img title=\"1582360263180067.jpg\" src=\"https:\/\/aimg8.dlssyht.cn\/u\/1903239\/ueditor\/image\/952\/1903239\/1582360263180067.jpg\"\/><\/p><p><br\/><\/p> ",
			"proparameter":"",
			"ImgPrimary":"https:\/\/aimg8.dlssyht.cn\/u\/1903239\/product\/9293\/18585706_1582360014.jpg",
			"ImgBanners":['https:\/\/aimg8.dlssyht.cn\/u\/1903239\/product\/9293\/18585706_1582360014.jpg','https:\/\/aimg8.dlssyht.cn\/u\/1903239\/product\/9293\/18585704_1582360014.jpg','https:\/\/aimg8.dlssyht.cn\/u\/1903239\/product\/9293\/18585705_1582360014.jpg','https:\/\/aimg8.dlssyht.cn\/u\/1903239\/product\/9293\/18585707_1582360014.jpg',]",
			"pathN02":"https:\/\/aimg8.dlssyht.cn\/u\/1903239\/product\/9293\/18585706_1582360014.jpg?x-oss-process=image\/resize,m_lfit,w_160,h_160,limit_0",
			"pathN03":"https:\/\/aimg8.dlssyht.cn\/u\/1903239\/product\/9293\/18585706_1582360014.jpg?x-oss-process=image\/resize,m_lfit,w_130,h_130,limit_0",
			"pathN04":"https:\/\/aimg8.dlssyht.cn\/u\/1903239\/product\/9293\/18585706_1582360014.jpg?x-oss-process=image\/resize,m_lfit,w_100,h_100,limit_0",
			"specParams":[{"id":89529,"name":"规格","spec":[{"id":767897,"name":"40ml","param_ids":[7022758]},{"id":767898,"name":"60ml","param_ids":[7022759]},{"id":767899,"name":"80ml","param_ids":[7022760]}]}],
			"skulist":{"7022758":{"id":7022758,"sn_new":"ODk1Mjk6NzY3ODk3","Sale_price":3,"Original_price":"5.00","param_name":"规格:40ml","pro_pic":"https:\/\/aimg8.dlssyht.cn\/u\/1903239\/product\/9293\/18585769_1582360193.jpg?x-oss-process=image\/resize,m_lfit,w_200,h_200,limit_0","kucun":"78"},"7022759":{"id":7022759,"sn_new":"ODk1Mjk6NzY3ODk4","Sale_price":3,"Original_price":"5.00","param_name":"规格:60ml","pro_pic":"https:\/\/aimg8.dlssyht.cn\/u\/1903239\/product\/9293\/18585759_1582360178.jpg?x-oss-process=image\/resize,m_lfit,w_200,h_200,limit_0","kucun":"83"},"7022760":{"id":7022760,"sn_new":"ODk1Mjk6NzY3ODk5","Sale_price":3,"Original_price":"5.00","param_name":"规格:80ml","pro_pic":"https:\/\/aimg8.dlssyht.cn\/u\/1903239\/product\/9293\/18585786_1582360225.jpg?x-oss-process=image\/resize,m_lfit,w_200,h_200,limit_0","kucun":"80"}},
			"createdate":"2020-02-22",
			"update_time":"2020-03-18 09:10:11",
			"channel_id":21918256,
			"pro_no":"913083",
			"market_price":"0.00"
		}
	},
	"msg":"success code: 200",
	"param":{}
}


返回参数说明


参数名类型说明
proidint产品ID
Sale_pricedecimal(10,2) 供应链结算价(仅供应链商家)
Original_pricedecimal(10,2) 商品售价
Stateint1上架 0下架
ProdNumint当前库存
saleUnitvarchar商品单位
weightfloat商品重量(单位克)
productAreavarchar产地(城市区号)
wareQDvarchar包装清单
imagePathvarchar产品主图(800px*800px)
skuvarchar产品编号
brandNamevarchar品牌名称
upcvarcharUPC码区分实物、图书、音像、三种场景
categoryvarchar类别ID 如:"5404437;5411777" 大类、小类、三级类
protypevarchar所属对应类别名称
namevarchar产品名称
introductiontext产品说明大字段
proparametertext产品参数大字段
ImgPrimaryvarchar 产品主图片
ImgBannersjson产品banner图片
pathN00varchar 

图片根路径(图片尺寸:800*800px),没有尺寸区别,默认使用此路径

pathN01

varchar 图片根路径(图片尺寸:350*350px)

pathN02

varchar 

图片根路径(图片尺寸:160*160px)

pathN03

varchar 

图片根路径(图片尺寸:130*130px)

pathN04

varchar 

图片根路径(图片尺寸:100*100px)

specParamsjson产品规格
skulistjson规格对应的SKU信息。包括价格,库存,图片等
createdatedate创建时间
update_timedatetime最近修改时间
channel_idint栏目ID
pro_novarchar 产品编号
market_pricedecimal(10,2) 市场价格



备注

  • 更多返回错误代码请看首页的错误代码描述