This method adds a new domain in an existing Loopia account to register this.
Syntax
status = orderDomain(username, password, [customer_number,] domain, has_accepted_terms_and_conditions)
Return value
status, this method returns a status code of OK if all went well.
Parameters
- username
string
Username for LoopiaAPI. - password
string
Password for LoopiaAPI. - customer_number
string
Customer ID of the account where the domain is registered. Only used by resellers to order domain names to a customers account. - domain
string
Domain to add to your account and register (ACE-coded if it is a IDN domain). - has_accepted_terms_and_conditions
boolean
1 if the account owner has agreed to all terms and conditions of registration which are available on loopia.com/terms-and-conditions/, 0 otherwise.