Order new domain
Create new order for a domain, please check if requested domain is available first, otherwise your order may get cancelled.
HTTP Request
POST /domain/order
Auth: true
QUERY PARAMETERS
| Parameter | Type | Description |
|---|---|---|
| name | string | Domain name |
| years | string | Number of years |
| action | string | register |
| tld_id | string | TLD id |
| pay_method | int | Payment method ID |
| epp | string | EPP Transfer code, required when transfering some domains |
| nameservers | array | Optional array with 2 - 4 nameservers that you want to use |
| registrant | int | Optional contact ID to use for registrant contact this domain |
| admin | int | Optional contact ID to use for admin contact this domain |
| tech | int | Optional contact ID to use for tech contact this domain |
| billing | int | Optional contact ID to use for billing contact this domain |
| data | array | Addditional data required for some TLDs |
Example Response
{
"order_num": 563647679,
"invoice_id": "308977",
"total": "10.00",
"items": {
"id": "10",
"type": "Domain Register",
"name": "test.com",
"product_id": "3"
}
}