You need to do it via their API
Please refer below for the complete API calls to be used for both cases:
Creating the EuContact:
https://test.httpapi.com/api/contacts/add.json?auth-userid=0&api-key=key&name=abc&company=company&email=urname@domain.com&address-line-1=address1&city=city&country=nn&zipcode=0&phone-cc=0&phone=0&customer-id=0&type=EuContact&attr-name1=countryOfCitizenship&attr-value1={Two-lettered country code}Please note the following caveats for EuContacts:
The name string can only be upto 50 characters in length
The company string can only be upto 100 characters in length
In case of EuContact, if there is no associated Company, you may mention NA for this parameter.
The zipcode string can only accept upto 16 characters for EuContact
The list of two-letter country codes for the countryOfCitizenship attribute are provided below:
AT,BE, BG, CY, CZ, DE, DK, ES, EE, FI, FR, GR, HR, HU, IE, IT, LT, LU, LV, MT, NL, PL, PT, RO, SE, SI, SK
The above call will return the contact ID of the newly added contact. You can use it to assign it to the domain via the following call:
Modifying contact assigned to the domain:
https://test.httpapi.com/api/domains/modify-contact.json?auth-userid=0&api-key=key&order-id=0®-contact-id={contact id}&admin-contact-id=-1&tech-contact-id=-1&billing-contact-id=-1The admin-contact-id, tech-contact-id and billing-contact-id parameters should be passed with a -1 value as there is no provision available to update them from within our system.