AddToCart


Definition

Add an item to the shopping cart.

Usage

Add an item to the shopping cart.

To purchase items once they are in the shopping cart, use the InsertNewOrder command.

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/domainsearch/default.aspx

Type a domain name and click Search. On the Search Results page, the Proceed to Cart button calls the AddToCart command. If the user selects multiple items, clicking the Proceed to Cart button calls the AddToCart command once for each item.

Constraints

The query must meet the following requirements:

  • If the item is a domain name, use the Check command to confirm that the name is available.
  • The domain names must be valid (see the domain-name constraints under Check).
  • The domain names must use a top-level domain supported by this registrar.
  • The number of SLDs must match the number of TLDs.
  • There is a limit of 200 items (active plus inactive) in the cart.

Input parameters

Click the links below to go directly to specific products:

Input parameters for domains

Input parameters for dot-name

Input parameters for ID Protect

Input parameters for SSL certificates

Input parameters for VeriSign Trust Seal

Input parameters for GeoTrust Anti-Malware

Input parameters for SiteLock

Input parameters for RichContent

Input parameters for Business Listing

Input parameters for POP Email

Input parameters for Email Forwarding and URL Forwarding

Input parameters for Instant Reseller

Input parameters for Web hosting

Input parameters for Web Site Creator

Input parameters for goMobi

 

Input parameters for domains

Use the input parameters in the table below to add a domain name to the cart.

Build the query string using this syntax:

https://resellertest.enom.com/interface.asp? command=AddToCart&UID=YourLoginID&PW=YourPassword &SLD=SLDValue&TLD=TLDvalue&ProductType=ProductToAdd &OptParam1=OptParamValue1&OptParam2=OptParamValue2

 

Parameter Status Description Max Size
UID Required Account login ID 20
PW Required Account password 20
EndUserIP Required End user’s IP address. This is used in fraud checking, as part of our order processing service. Use format NNN.NNN.NNN.NNN. 15
ProductType Required

Type of product to add. Permitted values are:

  • Register
  • Renew (Use Renew for all TLDs including .name bundles)
  • RGP (Redemption Grace Period)
  • Extended RGP
  • Host (DNS hosting)
  • Host Renew
  • PremiumDomain
39
  • SLD
    • Required for
    • Register
    • Renew
    • RGP
    • Extended
    • RGP
    • Host
    • Host
    • Renew PremiumDomain
    Second-level domain name (for example, enom in enom.com) 63
    TLD

    Required for:

    • Register
    • Renew
    • RGP
    • Extended
    • RGP
    • Host
    • Host
    • Renew PremiumDomain
    Top-level domain name (extension) 15
    Quantity

    Optional for

    • Register
    • Renew
    • Host
    • Host Renew
    • PremiumDomain; default is duration you set in UpdateCusPreferences Number of years.
    Permitted values are 1 through 10 for most domains; some TLDs vary. Registration cannot extend beyond 10 years from today for any TLD. Permitted value for PremiumDomain is 1 2
    AutoRenew Optional for Register Do you want the name to attempt to renew automatically (renewal will succeed if available account balance is sufficient)? Permitted values are 0 and 1 10
    RegLock Optional for Register Do you want protection against unauthorized transfer of this domain name? Permitted values are 0 and 1 10
    UsePerm Required for Extended RGP For Extended RGP, required value is UsePerm=ok 10
    ClearItems Optional; you must also add another item to the cart in the same query Make all items currently in the cart inactive (but keep them in the cart), and add a new item. Permitted value is yes. To reactivate items in the cart that are inactive, use the UpdateCart command. 3
    ResponseType Optional Format of response. Permitted values are Text (default), HTML, or XML. 4

    Input parameters for dot-name

    Use the input parameters in the table below to add a domain name to the cart.

    Build the query string using this syntax:

    https://resellertest.enom.com/interface.asp?command=
    AddToCart&UID=YourLoginID&PW=YourPassword&SLD=SLDValue
    &TLD=TLDvalue&ProductType=ProductToAdd&OptParam1
    =OptParamValue1&OptParam2=OptParamValue2

     

    Parameter Status Description Max Size
    UID Required Account login ID 20
    PW Required Account password 20
    EndUserIP Required End user’s IP address. This is used in fraud checking, as part of our order processing service. Use format NNN.NNN.NNN.NNN. 15
    ProductType Required Type of product to add. Permitted values are:
    • DotNameBundle
    • DotNameForwarding
      (Use when the .name domain was purchased using the Purchase command and you want to add the .name Registry’s email forwarding service. If a .name domain is purchased using the shopping cart, the Registry’s email forwarding service is automatically bundled with the domain.)
    39
    SLD Required for:

    DotNameBundle

    DotNameForwarding

    Second-level domain name (for example, enom in enom.com) 63
    TLD Required for: DotNameBundle
    DotNameForwarding
    Top-level domain name (extension) 15
    Quantity Optional; default is duration you set in UpdateCusPreferences Number of years. 2
    ClearItems Optional; you must also add another item to the cart in the same query Make all items currently in the cart inactive (but keep them in the cart), and add a new item. Permitted value is yes. To reactivate items in the cart that are inactive, use the UpdateCart command. 3
    ResponseType Optional Format of response. Permitted values are Text (default), HTML, or XML. 4

     

    Input parameters for ID Protect

    Use the input parameters in the table below to add ID Protect to the cart.

    Build the query string using this syntax:

    https://resellertest.enom.com/interface.asp?command=
    AddToCart&UID=YourLoginID&PW=YourPassword
    &SLD=SLDValue&TLD=TLDvalue&ProductType=ProductToAdd&OptParam1=
    OptParamValue1&OptParam2=OptParamValue2

     

    Parameter Status Description Max Size
    UID Required Account login ID 20
    PW Required Account password 20
    EndUserIP Required End user’s IP address. This is used in fraud checking, as part of our order processing service. Use format NNN.NNN.NNN.NNN. 15
    ProductType Required Type of product to add. Permitted values are:
    IDProtect (Whois Privacy Protection) IDProtectRenewal
    39
    SLD Required for
    IDProtect
    IDProtectRenewal
    Second-level domain name (for example, enom in enom.com) 63
    TLD Required for
    IDProtect
    IDProtectRenewal
    Top-level domain name (extension) 15
    Quantity Optional;
    default is 1
    Number of years. 2
    ClearItems Optional; you must also add another item to the cart in the same query Make all items currently in the cart inactive (but keep them in the cart), and add a new item. Permitted value is yes. To reactivate items in the cart that are inactive, use the UpdateCart command. 3
    ResponseType Optional Format of response. Permitted values are Text (default), HTML, or XML. 4

     

    Input parameters for SSL certificates

    Use the input parameters in the table below to add an SSL certificate to the cart.

    Build the query string using this syntax:

    https://resellertest.enom.com/interface.asp?
    command=AddToCart&UID=YourLoginID&PW=YourPassword &SLD=SLDValue&TLD=TLDvalue&ProductType=ProductToAdd
    &OptParam1=OptParamValue1&OptParam2=OptParamValue2

     

    Parameters Status Description Max Size
    UID Required Account login ID 20
    PW Required Account password 20
    EndUserIP Required End user’s IP address. This is used in fraud checking, as part of our order processing service. Use format NNN.NNN.NNN.NNN. 15
    ProductType Required Type of product to add. Permitted values are:
    • Certificate-Comodo-Essential
    • Certificate-Comodo-Instant
    • Certificate-Comodo-Essential-Wildcard
    • Certificate-Comodo-Premium-Wildcard
    • Certificate-Comodo-EV
    • Certificate-Comodo-EV-SGC
    • Certificate-GeoTrust-QuickSSL
    • Certificate-GeoTrust-QuickSSL-Premium
    • Certificate-GeoTrust-TrueBizID
    • Certificate-GeoTrust-TrueBizID-Wildcard
    • Certificate-GeoTrust-TrueBizID-EV
    • Certificate-RapidSSL-RapidSSL
    • Certificate-RapidSSL-RapidSSL-Wildcard
    • Certificate-VeriSign-Secure-Site
    • Certificate-VeriSign-Secure-Site-Pro
    • Certificate-VeriSign-Secure-Site-EV
    • Certificate-VeriSign-Secure-
    • Site-Pro-EV
    • Certificate-Comodo-UCC-DV
    • Certificate-Comodo-UCC-OV
    39
    Quantity Required for all certs

    Number of years to purchase this SSL certificate.

    Permitted values are 1 to the to the following maximum values:

    3 Comodo Essential
    3 Comodo Instant
    3 Comodo Essential Wildcard
    3 Comodo Premium Wildcard
    2 Comodo EV
    2 Comodo EV SGC
    3 GeoTrust QuickSSL
    3 GeoTrust QuickSSL Premium
    3 GeoTrust True BusinessID
    3 GeoTrust True BusinessID Wildcard
    2 GeoTrust True BusinessID with EV
    3 RapidSSL
    3 RapidSSL Wildcard
    3 VeriSign Secure Site
    3 VeriSign Secure Site Pro
    2 VeriSign Secure Site with EV
    2 VeriSign Secure Site Pro with EV
    3 Comodo UCC DV
    3 Comodo UCC OV

    2
    ClearItems Optional; you must also add another item to the cart in the same query Make all items currently in the cart inactive (but keep them in the cart), and add a new item. Permitted value is yes. To reactivate items in the cart that are inactive, use the UpdateCart command. 3
    ResponseType Optional Format of response. Permitted values are Text (default), HTML, or XML. 4

    Input parameters for VeriSign Trust Seal

    Use the input parameters in the table below to add VeriSign Trust Seal to the cart.

    Build the query string using this syntax:

    https://resellertest.enom.com/interface.asp?
    command=AddToCart&UID=YourLoginID&PW=YourPassword
    &SLD=SLDValue&TLD=TLDvalue&ProductType=ProductToAdd
    &OptParam1=OptParamValue1&OptParam2=OptParamValue2

     

    Parameter Status Description MaxSize
    UID Required Account login ID 20
    PW Required Account password

    20

    EndUserIP Required End user’s IP address. This is used in fraud checking, as part of our order processing service. Use format NNN.NNN.NNN.NNN. 15
    ProductType Required Type of product to add. For VeriSign Trust Seal, the permitted value is:

    Seal-VeriSign-Trust-Seal

    39
    Quantity Required for all certs Number of years to subscribe to VeriSign Trust Seal. Permitted values are 1, 2, and 3 2

    ClearItems

    Optional; you must also add another item to the cart in the same query Make all items currently in the cart inactive (but keep them in the cart), and add a new item. Permitted value is yes. To reactivate items in the cart that are inactive, use the UpdateCart command. 3
    ResponseType Optional Format of response. Permitted values are Text (default), HTML, or XML. 4

    Input parameters for GeoTrust Anti-Malware

    Use the input parameters in the table below to add GeoTrust Anti-Malware to the cart.

    Build the query string using this syntax:

    https://resellertest.enom.com/interface.asp?
    command=AddToCart&UID=YourLoginID&PW=YourPassword
    &SLD=SLDValue&TLD=TLDvalue&ProductType=ProductToAdd
    &OptParam1=OptParamValue1&OptParam2=OptParamValue2

     

    Parameter Status Description Max Size
    UID Required Account login ID 20
    PW Required Account password 20
    EndUserIP Required End user’s IP address. This is used in fraud checking, as part of our order processing service. Use format NNN.NNN.NNN.NNN. 15
    ProductType Required

    Type of product to add. For GeoTrust Anti-Malware, the permitted value is:

    GeoTrust-Anti-Malware-Scan

    GeoTrust-Anti-Malware-Scan-With-Seal

    39

    Quantity Optional; default=1 Number of years to subscribe to GeoTrust Anti-Malware. Permitted value is 1 2
    ClearItems Optional; you must also add another item to the cart in the same query Make all items currently in the cart inactive (but keep them in the cart), and add a new item. Permitted value is yes. To reactivate items in the cart that are inactive, use the UpdateCart command. 3
    ResponseType Optional Format of response. Permitted values are Text (default), HTML, or XML. 4

    Input parameters for SiteLock

    Use the input parameters in the table below to add SiteLock to the cart.

    Build the query string using this syntax:

    https://resellertest.enom.com/interface.asp?
    command=AddToCart&UID=YourLoginID&PW=YourPassword
    &SLD=SLDValue&TLD=TLDvalue&ProductType=ProductToAdd
    &OptParam1=OptParamValue1&OptParam2=OptParamValue2

     

    Parameter Status Description Max Size
    UID Required Account login ID 20
    PW Required Account password 20
    EndUserIP Required End user’s IP address. This is used in fraud checking, as part of our order processing service. Use format NNN.NNN.NNN.NNN. 15
    ProductType Required Type of product to add. For SiteLock, the permitted value is:

    SiteLock-Basic

    SiteLock-Premium

    SiteLock-Enterprise

    39

       

    Number of years to subscribe to SiteLock.

    Permitted value is 1

    2
    ClearItems Optional; you must also add another item to the cart in the same query Make all items currently in the cart inactive (but keep them in the cart), and add a new item. Permitted value is yes. To reactivate items in the cart that are inactive, use the UpdateCart command. 3
    ResponseType Optional Format of response. Permitted values are Text (default), HTML, or XML. 4

    Input parameters for RichContent

    Use the input parameters in the table below to add RichContent to the cart.

    Build the query string using this syntax:

    https://resellertest.enom.com/interface.asp?
    command=AddToCart&UID=YourLoginID&PW=YourPassword
    &SLD=SLDValue&TLD=TLDvalue&ProductType=
    ProductToAdd&OptParam1=OptParamValue1&OptParam2=OptParamValue2

     

    Parameter Status Description Max Size
    UID Required Account login ID 20
    PW Required Account password 20
    EndUserIP Required End user’s IP address. This is used in fraud checking, as part of our order processing service. Use format NNN.NNN.NNN.NNN. 15
    ProductType Required

    Type of product to add. For RichContent, values are:

    RichContent

    RichContentFreeTrial

    One RichContent subscription allows you to place content on one host record of one source domain, of the form host.sld.tld

    Quantity Optional for RichContent; default is 1 Billing period, in months, for RichContent. For RichContent, permitted values are 1, 3, 6, or 12.

    This parameter is not used for RichContentFreeTrial, which automatically converts to monthly billing after the one-month free trial period

    2
    EmailAddress Either EmailAddress or PublisherID is Required Email address of the RichContent customer. An email address can be used for multiple RichContent subscriptions in the same domain name account, but can only be used for a free trial once. 150
    PublisherID Either EmailAddress or PublisherID is Required Identification number for this email address in our records of RichContent subscriptions. To retrieve this number use the RC_GetSubscriptions command. Permitted values are integers 10
    SourceDomain

    Optional for

    RichContent RichContentFreeTrial

    Domain name, with host records, to associate with this RichContent subscription. Permitted format is host.sld.tld 272
    ClearItems Optional; you must also add another item to the cart in the same query Make all items currently in the cart inactive (but keep them in the cart), and add a new item. Permitted value is yes. To reactivate items in the cart that are inactive, use the UpdateCart command. 3
    ResponseType Optional Format of response. Permitted values are Text (default), HTML, or XML. 4

    Input parameters for Business Listing

    Use the input parameters in the table below to add Business Listing to the cart.

    Build the query string using this syntax:

    https://resellertest.enom.com/interface.asp?
    command=AddToCart&UID=YourLoginID&PW=YourPassword&SLD=
    SLDValue&TLD=TLDvalue&ProductType=ProductToAdd&OptParam1=
    OptParamValue1&OptParam2=OptParamValue2

     

    Parameter Status Description Max Size
    UID Required Account login ID 20
    PW Required Account password 20
    EndUserIP Required End user’s IP address. This is used in fraud checking, as part of our order processing service. Use format NNN.NNN.NNN.NNN. 15
    ProductType Required Type of product to add. For Business Listing, values are:
    BusListing
    BusListingRenewal
    39
    SLD

    Required for

    BusListing

    and
    BusListingRenewal

    Second-level domain name (for example, enom in enom.com) 63
    TLD Required for

    BusListing

    and BusListing

    Renewal Top-level domain name (extension) 15
    Quantity Optional;
    default is 1
    Number of years. 2
    ClearItems Optional; you must also add another item to the cart in the same query Make all items currently in the cart inactive (but keep them in the cart), and add a new item. Permitted value is yes. To reactivate items in the cart that are inactive, use the UpdateCart command. 3
    ResponseType Optional Format of response. Permitted values are Text (default), HTML, or XML. 4

    Input parameters for POP Email

    Use the input parameters in the table below to add POP Email to the cart.

    Build the query string using this syntax:

    https://resellertest.enom.com/interface.asp?
    command=AddToCart&UID=YourLoginID&PW=YourPassword
    &SLD=SLDValue&TLD=TLDvalue&ProductType=ProductToAdd &OptParam1=OptParamValue1&OptParam2=OptParamValue2

    Parameter Status Description Max Size
    UID Required Account login ID 20
    PW Required Account password 20
    EndUserIP Required End user’s IP address. This is used in fraud checking, as part of our order processing service. Use format NNN.NNN.NNN.NNN. 15
    ProductType Required

    Type of product to add. Permitted values are:

    • POP (10-mailbox pak with 1GB storage per mailbox)
    • Renew-POP EmailStorage (512MB extra storage per mailbox)
    • Mailbox (This is the new email type which allows for both creating new mailboxes and renewals.)
    39
    SLD Required for POP3 Second-level domain name (for example, enom in enom.com). 63
    TLD Required for POP3 Top-level domain name (extension). 15
    Quantity Optional for POP
    Renew-POP EmailStorage Mailbox

    For ProductType=POP, the number of 10-mailbox paks to purchase for this domain.

    For ProductType=Renew-POP, the number of years to add to this POP pak subscription.

    For ProductType=EmailStorage, the number of 512MB units of storage to add to this pak.

    For ProductType=Mailbox, the number of mailboxs to add.

    2
    ProductID Required for Renew-POP EmailStorage Also required for ProductType=Mailbox with ActionType=Renew POP pak ID number. To retrieve this value, use the GetPOP3 command. 3
    ActionType Optional for Mailbox Possible values: Create (default) Renew (ProductID is required for renewal) 3
    TimeUnit Optional for Mailbox Possible values: Year (default) Month  
    TimeQuantity Optional for Mailbox Possible values: 1-12 number of months or years (default is 1) 3
    Capacity Optional for Mailbox

    Possible values:

    1 - 1 Gigabyte of storage (default)

    3 - 3 Gigabytes of storage

    5 - 5 Gigabytes of storage

    10 - 10 Gigabytes of storage

    3
    ClearItems Optional; you must also add another item to the cart in the same query Make all items currently in the cart inactive (but keep them in the cart), and add a new item. Permitted value is yes. To reactivate items in the cart that are inactive, use the UpdateCart command. 3
    ResponseType Optional; default is Text Format of response. Permitted values are Text (default), HTML, or XML. 4

     

    Input parameters for Email Forwarding and URL Forwarding

    Use the input parameters in the table below to add Email Forwarding or URL Forwarding to the cart.

    Build the query string using this syntax:

    https://resellertest.enom.com/interface.asp?
    command=AddToCart&UID=YourLoginID&PW=YourPassword
    &SLD=SLDValue&TLD=TLDvalue&ProductType=ProductToAdd &OptParam1=OptParamValue1&OptParam2=OptParamValue2

     

    Parameter Status Description Max Size
    UID Required Account login ID 20
    PW Required Account password 20
    EndUserIP Required End user’s IP address. This is used in fraud checking, as part of our order processing service. Use format NNN.NNN.NNN.NNN. 15
    ProductType Required Type of product to add. Permitted values are:

    EmailForwarding

    EmailForwardingRenew

    URLForwarding

    URLForwardingRenew

    39
    SLD

    Required for

    EmailForwarding EmailForwardingRenew URLForwarding URLForwardingRenew

    Second-level domain name (for example, enom in enom.com) 63
    TLD Required forEmailForwarding EmailForwardingRenew URLForwarding URLForwardingRenew Top-level domain name (extension) 15
    Quantity

    Optional for

    EmailForwarding EmailForwardingRenew URLForwarding URLForwardingRenew

    default is 1

    Number of years 2
    ClearItems Optional; you must also add another item to the cart in the same query Make all items currently in the cart inactive (but keep them in the cart), and add a new item. Permitted value is yes. To reactivate items in the cart that are inactive, use the UpdateCart command. 3
    ResponseType Optional Format of response. Permitted values are Text (default), HTML, or XML. 4

    Input parameters for Instant Reseller

    Use the input parameters in the table below to add Instant Reseller to the cart.

    Build the query string using this syntax:

    https://resellertest.enom.com/interface.asp?
    command=AddToCart&UID=YourLoginID&PW=YourPassword
    &SLD=SLDValue&TLD=TLDvalue&ProductType=ProductToAdd &OptParam1=OptParamValue1&OptParam2=OptParamValue2

     

    Parameter Status Description Max Size
    UID Required Account login ID 20
    PW Required Account password 20
    EndUserIP Required End user’s IP address. This is used in fraud checking, as part of our order processing service. Use format NNN.NNN.NNN.NNN. 15
    ProductType Required Type of product to add. Permitted values are:
    ResellerStore
    ResellerStore-Renew
    39
    SLD Optional Second-level domain name (for example, enom in enom.com) 63
    TLD Optional Top-level domain name (extension) 15
    Quantity Optional Number of years. Permitted values are integers 1 to 10 2
    ClearItems Optional; you must also add another item to the cart in the same query Make all items currently in the cart inactive (but keep them in the cart), and add a new item. Permitted value is yes. To reactivate items in the cart that are inactive, use the UpdateCart command. 3
    ResponseType Optional Format of response. Permitted values are Text (default), HTML, or XML. 4

    Input parameters for Web hosting

    Use the input parameters in the table below to add Web hosting to the cart.

    Build the query string using this syntax:

    https://resellertest.enom.com/interface.asp?
    command=AddToCart&UID=YourLoginID&PW=YourPassword
    &SLD=SLDValue&TLD=TLDvalue&ProductType=ProductToAdd &OptParam1=OptParamValue1&OptParam2=OptParamValue2

     

    Parameter Status Description Max Size
    UID Required Account login ID 20
    PW Required Account password 20
    EndUserIP Required End user’s IP address. This is used in fraud checking, as part of our order processing service. Use format NNN.NNN.NNN.NNN. 15
    ProductType Required Type of product to add. Permitted values are:
    WebHosting
    WebHostingSetupFee
    39
    Quantity Optional; default is 1 Number of months 2
    WSCOption Optional; default is no WSC

    Which WSC package, if any, to include in this Web hosting package. Permitted values are: WSCBasic

    WSCFull

    WSCEcommerce

    14
    HostID Required for WebHosting Web hosting account name. Must be alphanumeric and 6 to 14 characters in length. 14
    HostPW Required for WebHosting Web hosting account password. Must be alphanumeric and 6 to 14 characters in length. 14
    Package Required for WebHosting

    Web hosting package. Use the WebHostGetPackages command, in the Web hosting API catalog, to retrieve a list of permitted package names.

    14
    OverageOption Required for WebHosting Overage handling option. Permitted values are:
    1 Automatically upgrade bandwidth
    2 Charge overage fee
    3 Temporarily disable until next month
    1
    DDomain Optional for WebHosting Name of domain to associate with this Web hosting account. Use format sld.tld 79
    SetHostRecords Required for WebHosting Update www and @ host records to point to this Web hosting account. Permitted values are Yes or No. 3
    ClearItems Optional; you must also add another item to the cart in the same query Make all items currently in the cart inactive (but keep them in the cart), and add a new item. Permitted value is yes. To reactivate items in the cart that are inactive, use the UpdateCart command. 3
    ResponseType Optional Format of response. Permitted values are Text (default), HTML, or XML. 4

    Input parameters for Web Site Creator

    Use the input parameters in the table below to add Web Site Creator to the cart.

    Build the query string using this syntax:

    https://resellertest.enom.com/interface.asp?
    command=AddToCart&UID=YourLoginID&PW=YourPassword
    &SLD=SLDValue&TLD=TLDvalue&ProductType=ProductToAdd &OptParam1=OptParamValue1&OptParam2=OptParamValue2

     

    Parameter Status Description Max Size
    UID Required Account login ID 20
    PW Required Account password 20
    EndUserIP Required End user’s IP address. This is used in fraud checking, as part of our order processing service. Use format NNN.NNN.NNN.NNN. 15
    ProductType Required Type of product to add. Permitted values are:
    LWSCBasic
    LWSCFull
    LWSCEcommerce
    39
    LWSCAccountName Optional Account name for this Web Site Creator account. To retrieve this value, use the WSC_GetAllPackages API command. Permitted format is LWSCNNNxNNNN  
    LWSCWebSiteID Required Web site ID number for this Web Site Creator account. To retrieve this value, use the WSCSiteID return value from the WSC_GetAllPackages API command.  
    Quantity Optional;
    default is 1
    Number of years 2
    ClearItems Optional; you must also add another item to the cart in the same query Make all items currently in the cart inactive (but keep them in the cart), and add a new item. Permitted value is yes. 3
    ResponseType Optional Format of response. Permitted values are Text (default), HTML, or XML. 4

     

    Input parameters for goMobi

    Use the input parameters in the table below to add goMobi to the cart.

    Build the query string using this syntax:

    https://resellertest.enom.com/interface.asp?
    command=AddToCart&UID=YourLoginID&PW=YourPassword
    &SLD=SLDValue&TLD=TLDvalue&ProductType=ProductToAdd &OptParam1=OptParamValue1&OptParam2=OptParamValue2

     

    Parameter Status Description Max Size
    UID Required Account login ID 20
    PW Required Account password 20
    EndUserIP Required End user’s IP address. This is used in fraud checking, as part of our order processing service. Use format NNN.NNN.NNN.NNN. 15
    ProductType Required Type of product to add. For goMobi, permitted values are:
    goMobi
    goMobiFreeTrial
    39
    Quantity Optional; default is 1 Number of months for goMobi billing cycle. Permitted values are:
    1 Monthly billing cycle
    12 Yearly billing cycle
    2
    ClearItems Optional; you must also add another item to the cart in the same query Make all items currently in the cart inactive (but keep them in the cart), and add a new item. Permitted value is yes. To reactivate items in the cart that are inactive, use the UpdateCart command. 3
    ResponseType Optional Format of response. Permitted values are Text (default), HTML, or XML. 4

     

    Returned parameters and values

    Parameter Description
    ItemName Domain name or service
    ItemId Item number
    Price Price for this product or service
    ICANNFees Fees charged by ICANN for this product or service
    CartItemID ID number, assigned by us, of this item in your shopping cart
    ItemAdded True indicates this entire response has reached you successfully.
    Command Name of command executed
    ErrCount 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