Function /contact/add
Function invocation
https://json.aftermarket.pl/contact/add
Function description
Create domain registration contact profile. Function used to create user's domain registration contact profile. Each managed domain has to have contact owner. Contact profile and synchronized in each domain registry. If contact profile is first for user, then it is set as default. Consent hide whois data is available for private person only.
Input parameters
This function takes the following input parameters:
Parameter | Type | Required | Default value | Description |
---|---|---|---|---|
address | string | YES | Address | |
string | "" | Additional address part (deprecated, please enter the entire address in 'address' parameter) | ||
city | string | YES | City | |
string | "" | Company (deprecated) | ||
country | string | YES | Country code | |
boolean | false | Hide whois data if possible (deprecated and unused) | ||
string | "" | Contact email address (deprecated, please use 'email' parameter) | ||
string | YES | Contact email address | ||
string | "" | First name (deprecated) | ||
string | "" | Last name (deprecated) | ||
name | string | YES | Domain owner name | |
person | boolean | true | Contact represents private person | |
phone | string | YES | Phone number (format: +CC.XXXXXXXXX, CC - country code) | |
string | "" | Fax number (format: +CC.XXXXXXXXX, CC - country code) (deprecated and unused) | ||
string | "" | Profile name (deprecated, please use 'profileName' parameter) | ||
profileName | string | YES | Profile name | |
zip | string | YES | Postal code |
Return value
Created contact profile id (integer value).