Function   /domain/add/suspended

Function invocation

Function description

Register domain (operation suspended). The operation will be listed on /order/list and can be activated by /order/resume. If the cost of performing the operation is reduced to 0, the order will not be suspended and will be performed immediately.

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 ['', ''])
ips string[] [] Optional IP Addresses for pointing nameserver
private boolean false Domain WHOIS privacy setting
tags string "" Domain tags, separeted by commas
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