Customer registration
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
companyIdstringRequiredExample:
Company ID
{{company}}tracestringRequiredExample:
Global link unique identifier
{{mock_trace}}apiKeystringRequiredExample:
apiKey
{{apikey}}recvWindowstringOptionalExample:
time window
5000signaturestringRequiredExample:
sign
{{sign}}langstringOptionalExample:
language
zh-CNversionstringRequiredExample:
Interface version
0.0.1Body
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.addCustomer200Success
Last updated