AddBulkDomains


Definition

Add a list of items to the shopping cart.

Usage

Use this command when you want to add multiple items to the shopping cart.

Availability

All resellers have access to this command.

Implementation on eNom.com

Log on to resellertest.enom.com with Login ID resellid, password resellpw.

https://resellertest.enom.com/domains/ListRegister.asp

On the Batch register page, the add to cart button calls the AddBulkDomains command.

Constraints

The domain names in your list must meet the following requirements:

  • The domain names must be valid (see the domain-name constraints under Check).
  • The domain names must use a supported top-level domain.
  • The number of SLDs must match the number of TLDs.

Input parameters

Build the query string using this syntax:

https://resellertest.enom.com/interface.asp?command=
addbulkdomains&uid=YourAccountID&pw=
YourAccountPassword&producttype=register&listcount=
NumberDomainsToAdd&sld1=FirstSLD&tld1=FirstTLD&sld2=
SecondSLD&tld2=SecondTLD&sld3=thirdSLD&tld3=
ThirdTLD&responsetype=xml

 

Parameter Status Description Max Size
UID Required Account login ID 20
PW Required Account password 20
ProductType Required Type of product to add. Options are register or renew. 16
ListCount Required Number of names to add 4
SLDX
(X=1 to listcount)
Required Second-level domain name, for example, resellerdocs in resellerdocs.com 63
TLDX
(X=1 to listcount)
Required Top-level domain name, for example, com in resellerdocs.com 15
numyearsX
(X=1 to listcount)
Optional Number of years to renew 1
AutoRenew Optional;

default is 0

Auto-renew setting for all domains in this order. If AutoRenew=1, domains automatically update 30 days before expiration 1
RegLock

Optional;

default is 1

Registrar lock setting for all domains in this order. If RegLock=1, domain cannot be transferred to another registrar without account holder’s permission 1
UseCart UseCart=1 is Required if UID is a retail account, otherwise Optional. Use the shopping cart for this order. Permitted values are 0 and 1. If UseCart=1, this bulk list will go into the shopping cart and be processed through our queue; our system does not return an order ID until all names have been processed. If UseCart=0, our system returns an order ID and locks up the entire funds for the order immediately; the funds remain locked until all names in the list are processed. UseCart=1 is required if UID is a retail account. 1
ResponseType Optional Format of response. Permitted values are Text (default), HTML, or XML. 4

Returned parameters and values

Parameter Description
Command Name of command executed
ErrCountX The number of errors if any occurred. If greater than 0 check the Err(1 to ErrCount) values.
ErrX Error messages explaining the failure. These can be presented as is back to the client.
Done True indicates this entire response has reached you successfully.

Notes

  • The default response format is plain text. To receive the response in HTML or XML format, send ResponseType=HTML or ResponseType=XML in your request.
  • Check the return parameter ErrCount. If greater than 0 the transaction failed. The parameter Err(ErrCount) can be presented to the client. Otherwise process the returned parameters as defined above.

Example