Add contact
Create new contact account, if password is provided you can use provided email addres to login as that contact.
HTTP Request
POST /contact
Auth: true
QUERY PARAMETERS
Parameter | Type | Description |
---|---|---|
password | string | Optional, allows you to login as contact |
privileges | array | Array with privileges that you want to enable. Formatted the same way as output from GET /contact/privileges |
type | string | Account Type |
companyname | string | Organization |
taxid | string | Mã số thuế |
gender | string | Danh xưng |
lastname | string | Last Name |
firstname | string | First Name |
string | Email Address | |
phonenumber | string | Phone |
nationalid | string | CCCD/Passport |
birthday | string | Birthday |
country | string | Country |
state | string | State |
city | string | City |
ward | string | Xã/Phường |
address1 | string | Address 1 |
verification | string | Verification |
Example Response
{
"contact_id": "1",
"info": [
"profile_added"
]
}