Function   /domain/add/scheduled

Function invocation

https://json.aftermarket.pl/domain/add/scheduled

Function description

Register domain (operation scheduled).

Input parameters

This function takes the following input parameters:

ParameterTypeRequiredDefault valueDescription
name string YES Domain name to register
contactId integer 0 Contact profile id to use for registration (/contact/list)
ns string[] [] Pointing nameservers for example ['ns1.domain.com', 'ns2.domain.com'])
ips string[] [] Optional IP Addresses for pointing nameserver
private boolean false Domain WHOIS privacy setting
tags string "" Domain tags, separeted by commas
period integer 1 Registration period in years, depends on domain TLD, for most domains allowed values are from 1 to 10, default 1 year.
useCode boolean false Use bonus code

Return value

Domain registration result (structure with the following fields):

Field nameTypeDescription
orderId integer Order id
amount float Optional amount
currency string Currency of optional amount
myAmount float Amount in member currency of optional amount
myCurrency string Member's currency
costBlocked boolean Cost blocked