客户注册
邮箱注册示例:*登录密码(pwd)MD5加密*
{
"email": "[email protected]",
"emailArea": "+86",
"pwd": "dc483e80a7a0bd9ef71d8cf973673924",
"country": "CN",
"customerGroupId": 1,
"registerSource": 1
}
手机注册示例:*登录密码(pwd)MD5加密*
{
"phone": "15167651757",
"country": "CN",
"customerGroupId": 1,
"registerSource": 1
"phoneArea": "+86",
"pwd": "dc483e80a7a0bd9ef71d8cf973673924"
}
Header parameters
companyIdstringRequiredExample:
公司ID
{{company}}
tracestringRequiredExample:
全局链路唯一标志
{{mock_trace}}
apiKeystringRequiredExample:
apiKey
{{apikey}}
recvWindowstringOptionalExample:
时间窗口
5000
signaturestringRequiredExample:
签名
{{sign}}
langstringOptionalExample:
语言
zh-CN
versionstringRequiredExample:
接口版本
0.0.1
Body
phonestringOptional
账号:手机号码,手机号与邮箱必填一项
emailstringOptional
账号:邮箱,手机号与邮箱必填一项
phoneAreastringOptional
手机区号,区号默认为+86
emailAreastringOptional
邮箱区号,区号默认为+86
pwdstringRequired
登录密码,MD5加密、a123456
countrystringRequired
国家:CN=中国
registerSourceintegerRequired
注册来源:1=移动端web:H5,2=pcweb:PC_Web,3=系统&后台平仓:System,4=安卓原生app:Android,5=苹果原生app:iOS,6=鸿蒙OS:HOS,7=pc windows客户端:PC_Win,8=pc mac客户端:PC_Mac,9=不属于以上的:其他
customerGroupIdnumberRequired
客户组ID:1=默认客户组;
remarkstringOptional
备注
Responses
200Success
application/json
post
POST /global/customer.admin.WhiteCustomerAdminApiService.addCustomer HTTP/1.1
Host:
companyId: text
trace: text
apiKey: text
signature: text
version: text
Content-Type: application/json
Accept: */*
Content-Length: 136
{
"phone": "13200000092",
"pwd": "dc483e80a7a0bd9ef71d8cf973673924",
"country": "CN",
"registerSource": 1,
"customerGroupId": 1,
"phoneArea": "+86"
}
200Success
{
"msg": "Success",
"fail": false,
"trace": "t-h2jv9x-4to64-9mp4wd7-793nv-1661227305",
"code": "0",
"data": "86021976",
"bizCode": "",
"tm": 236026513,
"msgParams": null,
"ok": true
}
Last updated