Customer registration

Customer registration

post
Email registration example: *Login password (pwd) MD5 encryption* 
{ 
"email": "[email protected]", 
"emailArea": "+86", 
"pwd": "dc483e80a7a0bd9ef71d8cf973673924", 
"country": "CN", 
"customerGroupId": 1, 
"registerSource": 1 
} 
Mobile phone registration example: *Login password (pwd) MD5 encryption* 
{ 
"phone": "15167651757", 
"country": "CN", 
"customerGroupId": 1, 
"registerSource": 1 
"phoneArea": "+86", 
"pwd": "dc483e80a7a0bd9ef71d8cf973673924" 
} 
Header parameters
companyIdstringRequired

Company ID

Example: {{company}}
tracestringRequired

Global link unique identifier

Example: {{mock_trace}}
apiKeystringRequired

apiKey

Example: {{apikey}}
recvWindowstringOptional

time window

Example: 5000
signaturestringRequired

sign

Example: {{sign}}
langstringOptional

language

Example: zh-CN
versionstringRequired

Interface version

Example: 0.0.1
Body
phonestringOptional

Account: Mobile phone number. Mobile phone number and email address are required.

emailstringOptional

Account: Email, mobile phone number and email are required.

phoneAreastringOptional

Mobile phone area code, the default area code is +86

emailAreastringOptional

Email area code, the default area code is +86

pwdstringRequired

Login password, MD5 encryption, a123456

countrystringRequired

Country:CN=China

registerSourceintegerRequired

Registration source: 1=Mobile web: H5, 2=pcweb: PC_Web, 3=System & background closing: System, 4=Android native app: Android, 5=Apple native app: iOS, 6=Hongmeng OS: HOS, 7=pc windows client: PC_Win, 8=pc mac client: PC_Mac, 9=not among the above: other

customerGroupIdnumberRequired

Customer group ID: 1=default customer group;

remarkstringOptional

Remark

Responses
200Success
application/json
post
/global/customer.admin.WhiteCustomerAdminApiService.addCustomer
200Success

Last updated