首页 - Market - API
最后修改: 2018-12-17 12:30:45 

货币基准列表

编号  :  currencyBaseList

POST - http://域名/api-erp-currencyBaseList.html
获取Shopyy支持的所有货币
请求参数
参数名 参数类型 必传 缺省值 描述
token VARCHAR Y
返回值
{"code":0,"status":1,"data":{"list":[{"id":"1","base_name":"USD","symbol_left":"US$","exchange_rate":"1.0000","decimal_num":"2","standard_code":"USD","modify_time":"1509688773","cn_name":"\u7f8e\u5143"},{"id":"2","base_name":"EUR","symbol_left":"\u20ac","exchange_rate":"0.8844","decimal_num":"2","standard_code":"EUR","modify_time":"1545005162","cn_name":"\u6b27\u5143"},{"id":"3","base_name":"GBP","symbol_left":"\u00a3","exchange_rate":"0.7946","decimal_num":"2","standard_code":"GBP","modify_time":"1545005162","cn_name":"\u82f1\u9551"},{"id":"4","base_name":"AUD","symbol_left":"AU$","exchange_rate":"1.3937","decimal_num":"2","standard_code":"AUD","modify_time":"1545005162","cn_name":"\u6fb3\u5927\u5229\u4e9a\u5143"},{"id":"5","base_name":"CAD","symbol_left":"CA$","exchange_rate":"1.3384","decimal_num":"2","standard_code":"CAD","modify_time":"1545005162","cn_name":"\u52a0\u62ff\u5927\u5143"},{"id":"6","base_name":"RUB","symbol_left":"\u0440\u0443\u0431.","exchange_rate":"66.6797","decimal_num":"2","standard_code":"RUB","modify_time":"1545005162","cn_name":"\u4fc4\u56fd\u5362\u5e03"},{"id":"7","base_name":"BRL","symbol_left":"R$","exchange_rate":"3.9170","decimal_num":"2","standard_code":"BRL","modify_time":"1545005162","cn_name":"\u5df4\u897f\u96f7\u4e9a\u5c14"},{"id":"8","base_name":"CHF","symbol_left":"SFr","exchange_rate":"0.9977","decimal_num":"2","standard_code":"CHF","modify_time":"1545005162","cn_name":"\u745e\u58eb\u6cd5\u90ce"},{"id":"9","base_name":"DKK","symbol_left":"Dkr","exchange_rate":"6.6024","decimal_num":"2","standard_code":"DKK","modify_time":"1545005162","cn_name":"\u4e39\u9ea6\u514b\u6717"},{"id":"10","base_name":"PHP","symbol_left":"\u20b1","exchange_rate":"53.0620","decimal_num":"2","standard_code":"PHP","modify_time":"1545005162","cn_name":"\u83f2\u5f8b\u5bbe\u6bd4\u7d22"},{"id":"11","base_name":"SGD","symbol_left":"S$","exchange_rate":"1.3768","decimal_num":"2","standard_code":"SGD","modify_time":"1545005162","cn_name":"\u65b0\u52a0\u5761\u5143"},{"id":"12","base_name":"CZK","symbol_left":"K\u010d","exchange_rate":"22.8030","decimal_num":"2","standard_code":"CZK","modify_time":"1545005162","cn_name":"\u6377\u514b\u514b\u6717"},{"id":"13","base_name":"HUF","symbol_left":"Ft","exchange_rate":"286.2294","decimal_num":"2","standard_code":"HUF","modify_time":"1545005162","cn_name":"\u5308\u7259\u5229\u798f\u6797"},{"id":"14","base_name":"MXN","symbol_left":"Mex$","exchange_rate":"20.1597","decimal_num":"2","standard_code":"MXN","modify_time":"1545005162","cn_name":"\u58a8\u897f\u54e5\u6bd4\u7d22"},{"id":"15","base_name":"NOK","symbol_left":"Kr","exchange_rate":"8.6182","decimal_num":"2","standard_code":"NOK","modify_time":"1545005162","cn_name":"\u632a\u5a01\u514b\u6717"},{"id":"16","base_name":"NZD","symbol_left":"NZD$","exchange_rate":"1.4730","decimal_num":"2","standard_code":"NZD","modify_time":"1545005162","cn_name":"\u65b0\u897f\u5170\u5143"},{"id":"17","base_name":"PLN","symbol_left":"z\u0142","exchange_rate":"3.7954","decimal_num":"2","standard_code":"PLN","modify_time":"1545005162","cn_name":"\u6ce2\u5170\u5179\u7f57\u63d0"},{"id":"18","base_name":"THB","symbol_left":"\u0e3f","exchange_rate":"32.8397","decimal_num":"2","standard_code":"THB","modify_time":"1545005162","cn_name":"\u6cf0\u94e2"},{"id":"19","base_name":"HKD","symbol_left":"HK$","exchange_rate":"7.8120","decimal_num":"2","standard_code":"HKD","modify_time":"1545005162","cn_name":"\u6e2f\u5143"},{"id":"20","base_name":"ILS","symbol_left":"\u20aa","exchange_rate":"3.7728","decimal_num":"2","standard_code":"ILS","modify_time":"1545005162","cn_name":"\u4ee5\u8272\u5217\u65b0\u9521\u514b\u5c14"},{"id":"21","base_name":"SEK","symbol_left":"Kr","exchange_rate":"9.0617","decimal_num":"2","standard_code":"SEK","modify_time":"1545005162","cn_name":"\u745e\u5178\u514b\u90ce"},{"id":"22","base_name":"ZAR","symbol_left":"R","exchange_rate":"14.3914","decimal_num":"2","standard_code":"ZAR","modify_time":"1545005162","cn_name":"\u5357\u975e\u5170\u7279"},{"id":"23","base_name":"KRW","symbol_left":"\u20a9","exchange_rate":"1132.3501","decimal_num":"2","standard_code":"KRW","modify_time":"1545005162","cn_name":"\u97e9\u5143"},{"id":"24","base_name":"CLP","symbol_left":"P.","exchange_rate":"684.5993","decimal_num":"2","standard_code":"CLP","modify_time":"1545005162","cn_name":"\u667a\u5229\u6bd4\u7d22"},{"id":"25","base_name":"TRY","symbol_left":"TRY","exchange_rate":"5.3727","decimal_num":"2","standard_code":"TRY","modify_time":"1545005162","cn_name":"\u65b0\u571f\u8033\u5176\u91cc\u62c9"},{"id":"26","base_name":"INR","symbol_left":"Rs","exchange_rate":"71.9200","decimal_num":"2","standard_code":"INR","modify_time":"1545005162","cn_name":"\u5370\u5ea6\u5362\u6bd4"},{"id":"27","base_name":"JPY","symbol_left":"\u5186","exchange_rate":"113.3515","decimal_num":"0","standard_code":"JPY","modify_time":"1545005162","cn_name":"\u65e5\u5143"},{"id":"28","base_name":"AED","symbol_left":"AED","exchange_rate":"3.6730","decimal_num":"2","standard_code":"AED","modify_time":"1545005162","cn_name":"\u963f\u8054\u914b\u8fea\u62c9\u59c6"},{"id":"29","base_name":"MYR","symbol_left":"RM","exchange_rate":"4.1850","decimal_num":"2","standard_code":"MYR","modify_time":"1545005162","cn_name":"\u9a6c\u6765\u897f\u4e9a\u6797\u5409\u7279"},{"id":"30","base_name":"IDR","symbol_left":"Rp","exchange_rate":"14585.0000","decimal_num":"2","standard_code":"IDR","modify_time":"1545005162","cn_name":"\u5370\u5c3c\u76fe\u5151"},{"id":"31","base_name":"UAH","symbol_left":"\u20b4","exchange_rate":"27.7240","decimal_num":"2","standard_code":"UAH","modify_time":"1545005162","cn_name":"\u4e4c\u514b\u5170\u683c\u91cc\u592b\u7eb3"},{"id":"32","base_name":"KWD","symbol_left":"K.D.","exchange_rate":"0.3044","decimal_num":"2","standard_code":"KWD","modify_time":"1545005162","cn_name":"\u79d1\u5a01\u7279\u7b2c\u7eb3\u5c14"},{"id":"33","base_name":"QAR","symbol_left":"QR.","exchange_rate":"3.7033","decimal_num":"2","standard_code":"QAR","modify_time":"1545005162","cn_name":"\u5361\u5854\u5c14\u91cc\u4e9a\u5c14"},{"id":"34","base_name":"BHD","symbol_left":"BD.","exchange_rate":"0.3770","decimal_num":"2","standard_code":"BHD","modify_time":"1545005162","cn_name":"\u5df4\u6797\u4e01\u90a3"},{"id":"35","base_name":"SAR","symbol_left":"S.R.","exchange_rate":"3.7511","decimal_num":"2","standard_code":"SAR","modify_time":"1545005162","cn_name":"\u6c99\u7279\u91cc\u4e9a\u5c14"},{"id":"36","base_name":"CNY","symbol_left":"\u00a5","exchange_rate":"6.9076","decimal_num":"2","standard_code":"CNY","modify_time":"1545005162","cn_name":"\u4eba\u6c11\u5e01"},{"id":"37","base_name":"TWD","symbol_left":"NT$","exchange_rate":"30.8398","decimal_num":"2","standard_code":"TWD","modify_time":"1545005162","cn_name":"\u65b0\u53f0\u5e01"},{"id":"38","base_name":"BUK","symbol_left":"K.","exchange_rate":"1341.0000","decimal_num":"2","standard_code":"BUK","modify_time":"1516295134","cn_name":"\u539f\u7f05\u5143(\u5f03\u7528)"},{"id":"39","base_name":"KHR","symbol_left":"\u17db","exchange_rate":"4024.9997","decimal_num":"0","standard_code":"KHR","modify_time":"1545005162","cn_name":"\u67ec\u57d4\u5be8\u745e\u5c14"},{"id":"40","base_name":"NGN","symbol_left":"\u20a6","exchange_rate":"363.0000","decimal_num":"0","standard_code":"NGN","modify_time":"1545005162","cn_name":"\u5c3c\u65e5\u5229\u4e9a\u5948\u62c9"},{"id":"41","base_name":"VND","symbol_left":"\u20ab","exchange_rate":"23288.0000","decimal_num":"0","standard_code":"VND","modify_time":"1545005162","cn_name":"\u8d8a\u5357\u76fe"},{"id":"42","base_name":"LAK","symbol_left":"\u20ad","exchange_rate":"8534.9998","decimal_num":"0","standard_code":"LAK","modify_time":"1545005162","cn_name":"\u8001\u631d\u57fa\u666e"},{"id":"43","base_name":"BND","symbol_left":"B$","exchange_rate":"1.5761","decimal_num":"2","standard_code":"BND","modify_time":"1545005162","cn_name":"\u6587\u83b1\u5143"},{"id":"44","base_name":"MOP","symbol_left":"MOP$","exchange_rate":"8.0453","decimal_num":"2","standard_code":"MOP","modify_time":"1545005162","cn_name":"\u6fb3\u5143"},{"id":"45","base_name":"PEN","symbol_left":"S\/.","exchange_rate":"3.3463","decimal_num":"2","standard_code":"PEN","modify_time":"1545005162","cn_name":"\u79d8\u9c81\u65b0\u7d22\u5c14"},{"id":"46","base_name":"MMK","symbol_left":"K.","exchange_rate":"1571.7022","decimal_num":"2","standard_code":"MMK","modify_time":"1545005162","cn_name":"\u7f05\u5143"},{"id":"47","base_name":"AOA","symbol_left":"Kz","exchange_rate":"308.5435","decimal_num":"0","standard_code":"AOA","modify_time":"1545005162","cn_name":"\u5b89\u54e5\u62c9\u5bbd\u624e"},{"id":"48","base_name":"JMD","symbol_left":"J$","exchange_rate":"128.5010","decimal_num":"2","standard_code":"JMD","modify_time":"1545005162","cn_name":"\u7259\u4e70\u52a0\u5143"},{"id":"49","base_name":"RON","symbol_left":"lei","exchange_rate":"4.1232","decimal_num":"2","standard_code":"RON","modify_time":"1545005162","cn_name":"\u7f57\u9a6c\u5c3c\u4e9a\u5217\u4f0a"}]}}
最后修改: 2018-07-17 11:51:50 

购物车列表

编号  :  cartList

POST - http://域名//api-erp-cartList.html
获取会员购物车明细列表
请求参数
参数名 参数类型 必传 缺省值 描述
token VARCHAR Y 加密串
user_email VARCHAR N 具体会员邮箱
返回值
{"status":1,"code":0,"count":"1","data":[{"id":"25","base_name":"tech@35zh.com","store_id":"24073","contact":null,"status":"1","user_group_id":"1","ip":"1964952965","source":"","country_id":"45","create_time":"1465629510","source_device":"computer","is_cart":"1","utm_source":"","utm_medium":"","login_time":"1531799258","order_time":"1527732722","pay_time":"1516270597","admin_id":"945","cart_data":{"totalprice":44.99,"finalprice":42.7405,"cart_list":[{"sku":{"id":"1881331","goods_id":"105802","sku_code":"223080_223084","codeno":"test123","store_id":"24073","base_name":null,"sku_value":"color:red<br \/>size:S","barcode":"","stock_nums":"990","status":"1","price":"44.9900","market_price":"0.0000","cost_price":"0.0000","weight":"0.5000","create_time":"1529710955","update_time":"1529710955","image":"http:\/\/cn01.imgcdn.ymcart.com\/24073\/2018\/05\/f\/d\/fd8162e8d2cb48a9.jpg?v=1526611546","product_remark":"","product_num":"1","product_remark_md5":"","itemprice":44.99},"goods":{"id":"105802","store_id":"24073","base_name":"Odin Sign T-Shirt Valhalla T-Shirt Nordic Style Shirt","brand_id":"847","goods_type_id":"0","category_path":"33520,","category_id":"33520","codeno":"105802","image":"http:\/\/cn01.imgcdn.ymcart.com\/24073\/2018\/05\/f\/d\/fd8162e8d2cb48a9.jpg?v=1526611546","price":"44.9900","cost_price":"0.0000","market_price":"0.0000","listorder":"1058020","status":"1","up_time":"0","down_time":"0","create_time":"1526895454","modify_time":"1529710955","template_page":"","visit_counts":"0","buy_counts":"18","wishlist_counts":"0","comment_counts":"0","comment_value":"0","stock_nums":"1","sale_mode":"0","spec_mode":"1","is_diy_remark":"0","weight":"0.5000","start_time":"0","end_time":"0","is_free_shipping":"0","special_offer_id":"0","discount":"10.0000","title":"FALSE","keywords":"","descript":"","mini_detail":"666  555555555","group_codeno":"","moq":"0"}}],"totalnum":1,"totalweight":0.5,"cart_brand":{"847":{"total_num":1,"total_price":44.99}},"cart_category":{"33520":{"total_num":1,"total_price":44.99}},"coupon_save":0,"cart_offer_save":-2.2495,"cart_offer":{"id":"390","store_id":"24073","base_name":"\u4e03\u6708\u5927\u4fc3\u9500","offer_type":"1","user_group_id":"0","is_cart":"1","is_spec":"1","offer_kind":"1","cond_type":"0","category_id":"0","brand_id":"0","prefix":"","using_num":"0","send_num":"0","send_limit":"0","coupon_type":"0","remark":null,"status":"1","create_time":"1531100554","start_time":"1530374400","end_time":"1532966400","listorder":"0","is_default":"1","security_key":"","discount":{"type":2,"value":"9.5000","real_price":-1,"cond_type":0,"cond_id":0}}}}]}
备注
{
	"status": 1,
	"code": 0,
	"count": "1",
	"data": [{
		//会员信息
		"cart_data": {
			"totalprice": 44.99,
			"finalprice": 42.7405,
			"cart_list": [{
				"sku": {
					//SKU详情
				},
				"goods": {
					//商品详情
				}
			}],
			"totalnum": 1,
			"totalweight": 0.5,
			"coupon_save": 0,
			"cart_offer_save": -2.2495,
			"cart_offer": { 
			  // 活动详情
			}
		}
	}]
}
最后修改: 2018-01-17 13:47:53 

更新物流跟踪数据

编号  :  deliveryUpdate

POST - http://域名/api-erp-DeliveryUpdate.html
请求参数
参数名 参数类型 必传 缺省值 描述
token VARCHAR Y
body VARCHAR Y JSON格式
返回值
{"code":-1,"msg":null}
备注
1 body 内容 。 该接口目前不对外开放自动更新,由中恒的物流回调系统专用调用!
{"list":[{"0":"101429","id":"101429","1":"LX982031956CN","delivery_no":"LX982031956CN","2":"emsinten","interface_code":"emsinten","3":"1475284610","delivery_time":"1475284610","4":"{\"data\":[{\"context\":\"CN-362051, CHINA Received by overseas carrier\",\"time\":\"2016-09-30 18:48:00\",\"timestamp\":1475232480},{\"context\":\"\\u6cc9\\u5dde\\u5e02 \\u6cc9\\u5dde\\u5e02\\u901f\\u9012\\u7269\\u6d41\\u5206\\u516c\\u53f8\\u56fd\\u9645\\u4e1a\\u52a1\\u90e8\\u5df2\\u6536\\u4ef6\\uff08\\u63fd\\u6295\\u5458\\u59d3\\u540d\\uff1a\\u9ec4\\u91d1\\u826f,\\u8054\\u7cfb\\u7535\\u8bdd:13599147122\\uff09\",\"time\":\"2016-09-30 18:48:00\",\"timestamp\":1475232480},{\"context\":\"\\u6cc9\\u5dde\\u5e02 \\u5df2\\u79bb\\u5f00\\u6cc9\\u5dde\\u5904\\u7406\\u4e2d\\u5fc3\\uff0c\\u53d1\\u5f80\\u53a6\\u95e8\\u822a\\u7ad9\",\"time\":\"2016-09-30 22:37:13\",\"timestamp\":1475246233},{\"context\":\"\\u53a6\\u95e8\\u5e02 \\u5230\\u8fbe\\u53a6\\u95e8\\u822a\\u7ad9\\u5904\\u7406\\u4e2d\\u5fc3\\uff08\\u7ecf\\u8f6c\\uff09\",\"time\":\"2016-10-01 03:13:00\",\"timestamp\":1475262780},{\"context\":\"\\u53a6\\u95e8\\u5e02 \\u79bb\\u5f00\\u53a6\\u95e8\\u5e02 \\u53d1\\u5f80\\u6089\\u5c3c\\uff08\\u7ecf\\u8f6c\\uff09\",\"time\":\"2016-10-01 09:16:50\",\"timestamp\":1475284610}]}","delivery_data":"{\"data\":[{\"context\":\"CN-362051, CHINA Received by overseas carrier\",\"time\":\"2016-09-30 18:48:00\",\"timestamp\":1475232480},{\"context\":\"\\u6cc9\\u5dde\\u5e02 \\u6cc9\\u5dde\\u5e02\\u901f\\u9012\\u7269\\u6d41\\u5206\\u516c\\u53f8\\u56fd\\u9645\\u4e1a\\u52a1\\u90e8\\u5df2\\u6536\\u4ef6\\uff08\\u63fd\\u6295\\u5458\\u59d3\\u540d\\uff1a\\u9ec4\\u91d1\\u826f,\\u8054\\u7cfb\\u7535\\u8bdd:13599147122\\uff09\",\"time\":\"2016-09-30 18:48:00\",\"timestamp\":1475232480},{\"context\":\"\\u6cc9\\u5dde\\u5e02 \\u5df2\\u79bb\\u5f00\\u6cc9\\u5dde\\u5904\\u7406\\u4e2d\\u5fc3\\uff0c\\u53d1\\u5f80\\u53a6\\u95e8\\u822a\\u7ad9\",\"time\":\"2016-09-30 22:37:13\",\"timestamp\":1475246233},{\"context\":\"\\u53a6\\u95e8\\u5e02 \\u5230\\u8fbe\\u53a6\\u95e8\\u822a\\u7ad9\\u5904\\u7406\\u4e2d\\u5fc3\\uff08\\u7ecf\\u8f6c\\uff09\",\"time\":\"2016-10-01 03:13:00\",\"timestamp\":1475262780},{\"context\":\"\\u53a6\\u95e8\\u5e02 \\u79bb\\u5f00\\u53a6\\u95e8\\u5e02 \\u53d1\\u5f80\\u6089\\u5c3c\\uff08\\u7ecf\\u8f6c\\uff09\",\"time\":\"2016-10-01 09:16:50\",\"timestamp\":1475284610}]}","5":"0","delivery_status":"0","6":"emsinten","7":"0","received":"0"}]}
最后修改: 2018-01-17 13:43:01 

会员列表(商品关联)

编号  :  userListByGoodsId

POST - http://域名//api-erp-userListByGoodsId.html
请求参数
参数名 参数类型 必传 缺省值 描述
token VARCHAR Y 加密串
page_size INT Y 50 每页数量
page_no INT Y 1 页码
type VARCHAR Y 关联类型。order,wishlist,cart
goods_id INT Y 商品ID
goods_codeno VARCHAR Y 商品编号,唯一
返回值
{"code":0,"total":4,"data":[{"email":"1526642502@qq.com","sku_value":"color:white","sku_codeno":"","buy_num":"1","create_time":"1474507710"},{"email":"1295043654@qq.com","sku_value":"color:black","sku_codeno":"","buy_num":"1","create_time":"1473662486"},{"email":"1295043654@qq.com","sku_value":"color:black","sku_codeno":"","buy_num":"1","create_time":"1472697776"},{"email":"123123@gmail.com","sku_value":"color:black","sku_codeno":"","buy_num":"1","create_time":"1472624848"}]}
备注
1 goods_id,goods_codeno 不能同时为空,并且必须存在
2 type表示会员跟商品的关联,目前支持
order : 订购过该商品的会员,重复购买会出现重复的会员
wishlist : 收藏那个过该商品的会员
cart : 加入了在线购物车未下单的会员
最后修改: 2018-01-17 13:43:09 

服务器时间

编号  :  getTime

POST - http://域名/api-erp-getTime.html
请求参数
参数名 参数类型 必传 缺省值 描述
token VARCHAR Y
返回值
{"code":0,"time":"2016-09-14 14:36:06"}
最后修改: 2018-01-17 13:43:17 

发送邮件(未实现)

编号  :  sendEmail

POST - http://域名/api-erp-sendEmail.html
请求参数
参数名 参数类型 必传 缺省值 描述
token VARCHAR Y
最后修改: 2018-01-17 13:43:24 

自定义文件或跳转

编号  :  diyFile

POST - http://域名/api-erp-diyFile.html
通过JSON批量管理自定义文件或者跳转
请求参数
参数名 参数类型 必传 缺省值 描述
token VARCHAR Y
diyfile_res VARCHAR Y JSON结构
返回值
{"code":0,"msg":[{"index":0,"msg":"file_name_empty"},{"index":1,"msg":"url_or_detail_empty"}]}
备注
1 diyfile_res的JSON结构范例:[{"file_name":"","url":"url","detail":"detail"},{"file_name":"abc_test.html","url":"","detail":""},{"file_name":"abc_test.html","type":"2","url":"http:\/\/www.ymcart.com","detail":""}]
2 可一次性推送多条数据,最多不超过200个
3 字段说明:
file_name:文件名称。例 abc.html或abc.htm或bbs/
type:0是文件,1是301跳转,2是302跳转
url:跳转的连接
detail:文件的内容
if_delete:是否删除
4 当msg不为空,表示有创建不成功的数据
最后修改: 2018-01-17 13:43:30 

评论列表

编号  :  commentList

POST - http://域名/api-erp-commentList.html
获取网站的所有评论
请求参数
参数名 参数类型 必传 缺省值 描述
token VARCHAR Y
page_size INT Y 50 每页数量
page_no INT Y 1 页码
max_id INT N 从max_id开始
返回值
{"code":0,"count":"18","data":[{"0":"291","id":"291","1":"24073","store_id":"24073","2":"4951","goods_id":"4951","3":"6","user_id":"6","4":"45","country_id":"45","5":"0","ip":"0","6":"5","value":"5","7":"pefect","base_name":"pefect","8":"I am 5'2 and weigh 110 pounds, I usually wear a small but after reading the reviews I ordered a large and they fit perfectly. I'm really glad I read the reviews first. They also shipped really quickly, I wasn't expecting them so soon. They definitely run small so I suggest getting them 2 sizes bigger than your normal size. All in all, I love these jeans! They are absolutely perfect. There is virtually no stretch to them though so keep that in mind as well.","detail":"I am 5'2 and weigh 110 pounds, I usually wear a small but after reading the reviews I ordered a large and they fit perfectly. I'm really glad I read the reviews first. They also shipped really quickly, I wasn't expecting them so soon. They definitely run small so I suggest getting them 2 sizes bigger than your normal size. All in all, I love these jeans! They are absolutely perfect. There is virtually no stretch to them though so keep that in mind as well.","9":"pefect","user_name":"pefect","10":"1","status":"1","11":"Service","reply_nickname":"Service","12":"","reply_detail":"","13":"","domain":"","14":"1472614273","create_time":"1472614273","15":"1472787767","reply_time":"1472787767","16":"","user_email":"","17":"computer","source_device":"computer","18":"[\"http:\/\/cn01.imgcdn.ymcart.com\/24073\/2016\/09\/02\/7\/e\/7e6a2731829994af.jpg\",\"http:\/\/cn01.imgcdn.ymcart.com\/24073\/2016\/09\/02\/5\/6\/56a77527db03683d.jpg\",\"http:\/\/cn01.imgcdn.ymcart.com\/24073\/2016\/09\/02\/b\/8\/b82dc9eef22cb712.jpg\",\"http:\/\/cn01.imgcdn.ymcart.com\/24073\/2016\/09\/02\/e\/1\/e1a076c5b5c60c9a.jpg\"]","images":"[\"http:\/\/cn01.imgcdn.ymcart.com\/24073\/2016\/09\/02\/7\/e\/7e6a2731829994af.jpg\",\"http:\/\/cn01.imgcdn.ymcart.com\/24073\/2016\/09\/02\/5\/6\/56a77527db03683d.jpg\",\"http:\/\/cn01.imgcdn.ymcart.com\/24073\/2016\/09\/02\/b\/8\/b82dc9eef22cb712.jpg\",\"http:\/\/cn01.imgcdn.ymcart.com\/24073\/2016\/09\/02\/e\/1\/e1a076c5b5c60c9a.jpg\"]"}]}
最后修改: 2018-01-17 13:43:41 

IP对应国家

编号  :  ipToCountry

POST - http://域名/api-erp-ipToCountry.html
通过IP获取对应的国家
请求参数
参数名 参数类型 必传 缺省值 描述
token VARCHAR Y
ip VARCHAR Y IP
返回值
{"code":0,"data":{"0":"45","id":"45","1":"China","base_name":"China","2":"CN","country_code_2":"CN","3":"CHN","country_code_3":"CHN","4":"\u4e2d\u56fd","chinese_name":"\u4e2d\u56fd","5":"86","tel_area_code":"86","6":"355","listorder":"355","7":"1","status":"1"}}
最后修改: 2018-01-17 13:43:49 

新闻列表

编号  :  articleList

POST - http://域名/api-erp-articleList.html
获取网站的所有新闻
请求参数
参数名 参数类型 必传 缺省值 描述
token VARCHAR Y
page_size INT N 20 每页数量
page_no INT N 1 页码
max_id INT N 从max_id开始
返回值
{"code":0,"count":"4","data":[{"0":"39","id":"39","1":"24073","store_id":"24073","2":"test","base_name":"test","3":"1470207320","create_time":"1470207320","4":"0","visit_counts":"0","5":"edit","title":"edit","6":"edit","keywords":"edit","7":"edit","descript":"edit","detail":"detail"}]}
最后修改: 2018-01-17 13:43:57 

国家省份列表

编号  :  countryList

POST - http://域名/api-erp-countryList.html
获取网站的所有国家以及省份列表
请求参数
参数名 参数类型 必传 缺省值 描述
token VARCHAR Y
返回值
{"code":0,"data":[{"0":"1","id":"1","1":"Afghanistan","base_name":"Afghanistan","2":"AF","country_code_2":"AF","3":"AFG","country_code_3":"AFG","4":"\u963f\u5bcc\u6c57","chinese_name":"\u963f\u5bcc\u6c57","5":"93","tel_area_code":"93","6":"399","listorder":"399","7":"1","status":"1","state":[{"0":"4","id":"4","1":"1","country_id":"1","2":"24073","store_id":"24073","3":"56","base_name":"56","4":"","state_code_2":"","5":"","state_code_3":"","6":"567","chinese_name":"567","7":"0","listorder":"0","8":"1","status":"1"}]}]}
最后修改: 2018-01-17 13:44:09 

添加新闻

编号  :  addArticle

POST - http://域名/api-erp-addArticle.html
通过JSON批量上传新闻
请求参数
参数名 参数类型 必传 缺省值 描述
token VARCHAR Y
article_res VARCHAR Y JSON结构
返回值
{"code":0,"msg":[{"index":0,"msg":"base_name_empty"},{"index":1,"msg":"detail_empty"}]}
备注
1 article_res的JSON结构范例:[{"base_name":"","detail":"detail"},{"base_name":"SY20160912-xxx","detail":""},{"base_name":"base_name","detail":"detail"}]
2 可一次性推送多条数据,最多不超过200个
3 字段说明:base_name为新闻标题, detail为新闻内容。
4 当msg不为空,表示有创建不成功的商品
最后修改: 2018-01-17 13:44:15 

货币列表

编号  :  currencyList

POST - http://域名/api-erp-currencyList.html
获取网站的所有货币
请求参数
参数名 参数类型 必传 缺省值 描述
token VARCHAR Y
返回值
{"code":0,"data":[{"0":"6","id":"6","1":"24073","store_id":"24073","2":"1","status":"1","3":"1","is_main":"1","4":"USD","base_name":"USD","5":"US$","symbol_left":"US$","6":"1.0000","exchange_rate":"1.0000","7":"2","decimal_num":"2","8":"USD","standard_code":"USD","9":"","country_code":"","10":"1466837761","create_time":"1466837761","11":"20","listorder":"20"}]}
最后修改: 2018-04-18 10:27:12 

添加留言

编号  :  addMessage

POST - http://域名/api-erp-addMessage.html
通过JSON批量发送站内留言
请求参数
参数名 参数类型 必传 缺省值 描述
token VARCHAR Y
message_res VARCHAR Y JSON结构
返回值
{"code":0,"msg":[{"index":0,"msg":"user_empty"},{"index":1,"msg":"detail_empty"}]}
备注
1 diyfile_res的JSON结构范例:[{"email":"","base_name":"","detail":"i love it very ch"},{"email":"tech@35zh.com","base_name":"test title","detail":""},{"email":"tech@35zh.com","base_name":"test title","detail":"abchtml"}]
2 可一次性推送多条数据,最多不超过200个
3 字段说明:
email:用户邮箱
base_name:留言标题
detail:留言内容
4 当msg不为空,表示有创建不成功的数据
最后修改: 2018-01-17 13:44:29 

添加评论

编号  :  addComment

POST - http://域名/api-erp-addComment.html
通过JSON批量上传商品评论
请求参数
参数名 参数类型 必传 缺省值 描述
token VARCHAR Y
comment_res VARCHAR Y JSON结构
返回值
{"code":0,"msg":[{"index":0,"msg":"codeno_id_empty"},{"index":1,"msg":"username_empty"},{"index":2,"msg":"username_empty"}]}
备注
1 comment_res的JSON结构范例:[{"goods_id":"","user_name":"jackson","user_comment":"i love it very ch","value":"","country":"US","comment_date":"2016-9-9"},{"goods_id":"849","user_name":"tyloo nissa","user_comment":"i love it very ch","value":"5","country":"US","comment_date":"2016-9-9"},{"goods_id":"849","user_name":"swift","user_comment":"i love it very ch","value":"4","country":"US","comment_date":"2016-9-9"}]
2 可一次性推送多条数据,最多不超过200个
3 字段说明:
goods_id:商品的ID或者编号,唯一
user_name:用户名称
user_comment:用户评论
value:评分,1-5之间
country:评论国家的缩写。如US,JP,DE,CN,GE等
comment_date:评论时间
4 当msg不为空,表示有创建不成功的数据
最后修改: 2018-01-17 13:44:36 

添加会员

编号  :  addUser

POST - http://域名/api-erp-addUser.html
通过JSON批量导入网站会员
请求参数
参数名 参数类型 必传 缺省值 描述
token VARCHAR Y
user_res VARCHAR Y JSON结构
返回值
{"code":0,"msg":[{"index":0,"msg":"user_exists"},{"index":1,"msg":"user_exists"}]}
备注
1 user_res : [{"email":"35zhtech6@qq.com","password":"","address":{"first_name":"xxx"}},{"email":"35zhtech8@qq.com","password":"","address":{"first_name":"chen","last_name":"QZ","phone":"41589621424","address":"tr 99","city":"XM","province":"FJ","country_code_2":"CN","zip":"361004"}}]
2 每行一个数组 email password address
email 不能留空
password 留空将使用 00000000 默认密码
address: first_name,last_name,phone,address,city,province,country_code_2,zip 如果要导入地址,那地址的参数必须全部填写
3 可一次性推送多条数据,最多不超过200个
4 当msg不为空,表示有创建不成功的数据
最后修改: 2018-01-17 13:44:42 

订阅列表

编号  :  newsletterList

POST - http://域名/api-erp-newsletterList.html
获取网站的订阅列表
请求参数
参数名 参数类型 必传 缺省值 描述
token VARCHAR Y 加密串
start_time DATE N 开始日期。2016-9-9
end_time DATE N 结束日期。2016-9-9
page_size INT N 50 每页数量
page_no INT N 1 页码
max_id INT N 从max_id开始
返回值
{"code":0,"count":"77","data":[{"0":"126","id":"126","1":"24073","store_id":"24073","2":"45","country_id":"45","3":"1602279268999@qq.com","email":"1602279268999@qq.com","4":"1472798062","create_time":"1472798062","5":"","utm_source":"","6":"","utm_medium":"","7":"computer","source_device":"computer","country_code_2":"CN","country_code_3":"CHN","country_name":"China"},{"0":"125","id":"125","1":"24073","store_id":"24073","2":"45","country_id":"45","3":"1602279268666@qq.com","email":"1602279268666@qq.com","4":"1472798010","create_time":"1472798010","5":null,"utm_source":null,"6":null,"utm_medium":null,"7":"computer","source_device":"computer","country_code_2":"CN","country_code_3":"CHN","country_name":"China"}]}
最后修改: 2018-01-17 13:44:54 

会员列表

编号  :  userList

POST - http://域名/api-erp-userList.html
获取网站的会员列表
请求参数
参数名 参数类型 必传 缺省值 描述
token VARCHAR Y 加密串
start_time DATE N 开始日期。2016-9-9
end_time DATE N 结束日期。2016-9-9
page_size INT N 50 每页数量
page_no INT N 1 页码
max_id INT N 从max_id开始
返回值
{"code":0,"count":"69","data":[{"0":"125","id":"125","1":"1602279268999@qq.com","base_name":"1602279268999@qq.com","2":"24073","store_id":"24073","3":"14e1b600b1fd579f47433b88e8d85291","password":"14e1b600b1fd579f47433b88e8d85291","4":"1","status":"1","5":"1","user_group_id":"1","6":"2102257936","ip":"2102257936","7":null,"answer":null,"8":null,"question":null,"9":"0","parent_user_id":"0","10":"","source":"","11":"45","country_id":"45","12":"1472798062","create_time":"1472798062","13":"0","credit":"0","14":"0","growth":"0","15":"computer","source_device":"computer","16":"0","is_cart":"0","17":"","utm_source":"","18":"","utm_medium":"","country_code_2":"CN","country_code_3":"CHN","country_name":"China","address":null},{"0":"124","id":"124","1":"1602279268666@qq.com","base_name":"1602279268666@qq.com","2":"24073","store_id":"24073","3":"14e1b600b1fd579f47433b88e8d85291","password":"14e1b600b1fd579f47433b88e8d85291","4":"1","status":"1","5":"1","user_group_id":"1","6":"2102257936","ip":"2102257936","7":null,"answer":null,"8":null,"question":null,"9":"0","parent_user_id":"0","10":"","source":"","11":"45","country_id":"45","12":"1472798010","create_time":"1472798010","13":"0","credit":"0","14":"0","growth":"0","15":"computer","source_device":"computer","16":"0","is_cart":"0","17":"","utm_source":"","18":"","utm_medium":"","country_code_2":"CN","country_code_3":"CHN","country_name":"China","address":null}]}