接口URL:
http://ip/ecservice/getAccessToken ?data={"appKey": "epoint","appSecret":"7db8fbcc-a9c2-4010-bc79-e7c4bcd9ab04"}
接口输入:
接口输出:字段如下
备注:访问令牌accessToken时效为24小时。
接口URL: http://ip/ecservice/getProductCategory ?data={"accessToken":"ff587d8b-b9fe-4d21-a8d6-8f519d407cab","appKey":"epoint"}
接口输入:
接口输出:
JSON返回示例:
{
"result": [
{
"name": "服务器",
"categoryId": "A02010103"
},
{
"name": "台式计算机(含一体机台式电脑)",
"categoryId": "A02010104"
},
{
"name": "便携式计算机",
"categoryId": "A02010105"
}
],
"returnMsg": "商品分类信息",
"isSuccess": true
}
接口URL: http://ip/ecservice/getProductPool ?data={"accessToken":"ff587d8b-b9fe-4d21-a8d6-8f519d407cab","appKey":"epoint","categoryId":"1448395"}
接口输入:
接口输出:
JSON返回示例:{
"sku": [
"7012",
"7011",
"5996"
],
"returnMsg": "分类商品编码信息",
"isSuccess": true
}
接口URL:
http://ip/ecservice/getProductDetail?data={"accessToken":"ff587d8b-b9fe-4d21-a8d6-8f519d407cab","appKey":"epoint","sku":"1448395"}
接口输入:
接口输出:
JSON示例格式:
{
"sku": "7012",
"weight": "13.000",
"image": "http://www.youqi24.com/images/201708/goods_img/7012_G_1502995253566.jpg",
"state": "1",
"brand": "浪潮(INSPUR)",
"model": "四颗4830V4 14核2.0G CPU 四电源",
"name": "浪潮 机架服务器 2.5英寸小",
"category": "A02010103",
"introduction":"
"param": {
"品牌": " 浪潮(INSPUR)",
"型号": "四颗4830V4 14核2.0G CPU 四电源",
"商品毛重": "13kg",
"商品产地": "中国大陆",
"处理器": "至强Xeon-E7",
"类型": "机架服务器",
"内存类型": "ECC",
"内存总容量": "商品名称:浪潮服务器主机 机架服务器(英信NF8465M4 至强E7 2.5英寸小盘 SAS) 双颗4809V4 8核2.1G CPU 双电源 256G内存 8块1.2T硬盘 2G缓存raid5商品编号:10601554641商品毛重:13.0kg商品产地:中国大陆内存类型:ECC硬盘总容量:其他类型:机架服务器电源:冗余操作系统:无内存总容量:",
"硬盘转速": "10000 RPM",
"Raid卡缓存": "无缓存",
"支持CPU颗数": "4",
"电源": "冗余",
"选择": "四颗4830V4 14核2.0G CPU 四电源"
},
"saleUnit": "",
"isProtected": 0,(不清楚是具体含义,接口输出说明中没有该字段)
"returnMsg": "商品详情信息",
"isSuccess": true
}
欢迎分享,转载请注明来源:夏雨云
评论列表(0条)