@a5635268
2017-04-05T17:14:23.000000Z
字数 1662
阅读 1313
接口文档
幸福9号
参数非特殊说明,都是必传
api
Other.Config.getConfigForName
params
{'name':'WEB_OVERSEA_ORDER_LIMITS'} // 根据WEB_OVERSEA_ORDER_LIMITS的配置名称获取
response
{
"response":{
"id":"80",
"name":"WEB_OVERSEA_ORDER_LIMITS",
"type":"0",
"title":"跨境订单单人购买限制额度",
"group":"4",
"extra":"",
"remark":"跨境订单单人购买限制额度",
"create_time":"1490838520",
"update_time":"1490838520",
"status":"1",
"value":"2000", // 取这个值 取这个值 取这个值 取这个值
"sort":"0"
},
"status":0,
"status_code":0,
"message":"ok"
}
api
Goods.Order.isOversea
params
{"itemNo":"032015041510852063"}
response
{
response : true, // true是,false否
status : 0,
status_code : 0,
message : "ok"
}
api
User.Cart.searchCustomers
params
{"store_code":"5877"} // 门店ID
response
{
id : "285862",
real_name : "张二一",
mobile : "18221995891",
phone_zone : "",
phone_number : "",
card_id_verify : "5",
card_no : "2016161860000",
bStatus : 1,
currentCardTypeId : 2,
isSapphireCustomer : 1,
only_code : "1",
csiid : "",
csicreate_time : "",
isIdVerify : 1, // 是否验证通过,1是,0否
}
api
User.Cart.cardIdVerify
params
{"customerId":"285862"}
response
{
response :
{
realName : "张二一",
cardId : "120105199206030172",
mobile : "18221995891",
address : "山西省阳泉市城区地址测试地址测试", // 外层的地址是详细地址带省市区名称的
addressData :
{
province : "5",
provinceName : "山西省",
city : "50",
cityName : "阳泉市",
district : "620",
districtName : "市辖区",
address : "地址测试地址测试" // 省市区之外的详细地址
}
},
status : 0,
status_code : 0,
message : "ok",
}
api
User.Cart.modifyConnect
params
{
"province":"5",
"city":"50",
"district":"621",
"mobile":"18221995899",
"customerId":"285862",
"address":"地址测试地址测试" // 不包含省市区的
}
response
{
response :
{
mobile : '18221995891',
address : "详细地址"
},
status : 0,
status_code : 0,
message : "ok",
}
在原来的下单接口: OM.Order.buildOrder
和 OM.Order.create
中增加以下参数来标明该订单类型为跨境订单
isOversea : 1是 0否