This method adds a new domain name to an existing Loopia account and registers it.
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 name should be registered. Used only by resellers ordering domain names for a customer’s account. - domain
string
Domain name to add to the account and register (ACE-coded if it is an 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 at loopia.com/terms-and-conditions/, 0 otherwise.