文档
测试

2.2 register

POST
/api/user/register

接口描述

Member registration,note:member password is for future extension.

Headers

参数名
类型
描述
必填
Authorization
string
Example:9b358d8549004bd0bb48b3f94ae7e2a5
必填
Content-Language
string
Language packs (optional), the default language for opening an account, Example:ENG
必填

Form Data

参数名
类型
描述
必填
UserName
string
Letters, numbers and underscores, 2 ~ 30 characters long. Example:ceshi008
必填
Password
string
5~16 characters long Example:a123456
必填
Currency
string
Optional. Specify the currency of the member. If left blank, it will be the default currency of the merchant's account. Please note that the member currency is set during registration and cannot be modified later.
必填

Response

参数名
类型
描述
必填
success
number
Example:1
必填
msg
string
Example:Registration Successful
必填

Description / Example

`curl https://api.xx.com/api/user/register -X POST -H "Authorization: 9b358d8549004bd0bb48b3f94ae7e2a5" -H "Content-Type:application/x-www-form-urlencoded" -d "UserName=ceshi01&Password=a123456"` Response body example: ```language { "success":1, "msg":"Registration Successful" } ```