reseller

is added when reseller has a customer specific business

Get Order Id

Description

Gets the associated Single Domain Linux Hosting Order Id from the domain name.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
domain-name String Required The domain name for which the Order Id is to be fetched.

HTTP Method

GET

Example Test URL Request

US, Texas Server


https://test.httpapi.com/api/singledomainhosting/linux/us/orderid.json?auth-userid=0&api-key=key&domain-name=domainname.asia

US, California Server


https://test.httpapi.com/api/singledomainhosting/linux/us/ca/orderid.json?auth-userid=0&api-key=key&domain-name=domainname.asia

UK Server


https://test.httpapi.com/api/singledomainhosting/linux/uk/orderid.json?auth-userid=0&api-key=key&domain-name=domainname.asia

India Server


https://test.httpapi.com/api/singledomainhosting/linux/in/orderid.json?auth-userid=0&api-key=key&domain-name=domainname.asia

Hong Kong Server


https://test.httpapi.com/api/singledomainhosting/linux/hk/orderid.json?auth-userid=0&api-key=key&domain-name=domainname.asia

Turkey Server


https://test.httpapi.com/api/singledomainhosting/linux/tr/orderid.json?auth-userid=0&api-key=key&domain-name=domainname.asia

Response

Returns the associated Single Domain Linux Hosting Order Id (Integer) of the domain name.

Get Plan Details

Description

Use this method to get details of your plans.

Response

Returns the details of the plans of Single Domain Linux Hosting product along with the plan details of other Products of the reseller.

Example:

The response structure for the Single Domain Linux Hosting will be:

US, Texas Server


singledomainhostinglinuxus

{

"plan-id(value)"

{

"plan details keys" => "plan details values"

}

}

US, California Server


singledomainhostinglinuxusca

{

"plan-id(value)"

{

"plan details keys" => "plan details values"

}

}

UK Server


singledomainhostinglinuxuk

{

"plan-id(value)"

{

"plan details keys" => "plan details values"

}

}

India Server


singledomainhostinglinuxin

{

"plan-id(value)"

{

"plan details keys" => "plan details values"

}

}

Hong Kong Server


singledomainhostinglinuxhk

{

"plan-id(value)"

{

"plan details keys" => "plan details values"

}

}

Turkey Server


singledomainhostinglinuxtr

{

"plan-id(value)"

{

"plan details keys" => "plan details values"

}

}

Get Details

Description

Gets the details of an existing Single Domain Linux Hosting Order.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
order-id Integer Required The OrderId for which the details to be fetched.

HTTP Method

GET

Example Test URL Request

US, Texas Server


https://test.httpapi.com/api/singledomainhosting/linux/us/details.json?auth-userid=0&api-key=key&order-id=0

US, California Server


https://test.httpapi.com/api/singledomainhosting/linux/us/ca/details.json?auth-userid=0&api-key=key&order-id=0

UK Server


https://test.httpapi.com/api/singledomainhosting/linux/uk/details.json?auth-userid=0&api-key=key&order-id=0

India Server


https://test.httpapi.com/api/singledomainhosting/linux/in/details.json?auth-userid=0&api-key=key&order-id=0

Hong Kong Server


https://test.httpapi.com/api/singledomainhosting/linux/hk/details.json?auth-userid=0&api-key=key&order-id=0

Turkey Server


https://test.httpapi.com/api/singledomainhosting/linux/tr/details.json?auth-userid=0&api-key=key&order-id=0

Response

Returns the details of an existing Single Domain Hosting order.

Delete

Description

Deletes an existing Single Domain Linux Hosting Order.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
order-id Integer Required The OrderId which is to be deleted.

HTTP Method

POST

Example Test URL Request

US, Texas Server


https://test.httpapi.com/api/singledomainhosting/linux/us/delete.json?auth-userid=0&api-key=key&order-id=0

US, California Server


https://test.httpapi.com/api/singledomainhosting/linux/us/ca/delete.json?auth-userid=0&api-key=key&order-id=0

UK Server


https://test.httpapi.com/api/singledomainhosting/linux/uk/delete.json?auth-userid=0&api-key=key&order-id=0

India Server


https://test.httpapi.com/api/singledomainhosting/linux/in/delete.json?auth-userid=0&api-key=key&order-id=0

Hong Kong Server


https://test.httpapi.com/api/singledomainhosting/linux/hk/delete.json?auth-userid=0&api-key=key&order-id=0

Turkey Server


https://test.httpapi.com/api/singledomainhosting/linux/tr/delete.json?auth-userid=0&api-key=key&order-id=0

Response

Returns a map of the execution details of the delete operation.

Disable SSL

Description

Disables SSL for an existing Single Domain Linux Hosting Order. To learn more, click here.

Note

This API call will not result in a refund being processed for disabling SSL.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
order-id Integer Required The OrderId for which SSL needs to be disabled.

HTTP Method

POST

Example Test URL Request

US, Texas Server


https://test.httpapi.com/api/singledomainhosting/linux/us/disable-ssl.json?auth-userid=0&api-key=key&order-id=0

US, California Server


https://test.httpapi.com/api/singledomainhosting/linux/us/ca/disable-ssl.json?auth-userid=0&api-key=key&order-id=0

UK Server


https://test.httpapi.com/api/singledomainhosting/linux/uk/disable-ssl.json?auth-userid=0&api-key=key&order-id=0

India Server


https://test.httpapi.com/api/singledomainhosting/linux/in/disable-ssl.json?auth-userid=0&api-key=key&order-id=0

Hong Kong Server


https://test.httpapi.com/api/singledomainhosting/linux/hk/disable-ssl.json?auth-userid=0&api-key=key&order-id=0

Turkey Server


https://test.httpapi.com/api/singledomainhosting/linux/tr/disable-ssl.json?auth-userid=0&api-key=key&order-id=0

Response

Returns a map of the execution details of the disabling of SSL operation.

Enable SSL

Description

Enables SSL for an existing Single Domain Linux Hosting Order. To learn more, click here.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
order-id Integer Required The OrderId for which SSL needs to be enabled.
invoice-option String Required This parameter will decide how the Customer Invoices will be handled. Values can be: NoInvoice, PayInvoice, KeepInvoice, OnlyAdd

HTTP Method

POST

Example Test URL Request

US, Texas Server


https://test.httpapi.com/api/singledomainhosting/linux/us/enable-ssl.json?auth-userid=0&api-key=key&order-id=0&invoice-option=NoInvoice

US, California Server


https://test.httpapi.com/api/singledomainhosting/linux/us/ca/enable-ssl.json?auth-userid=0&api-key=key&order-id=0&invoice-option=NoInvoice

UK Server


https://test.httpapi.com/api/singledomainhosting/linux/uk/enable-ssl.json?auth-userid=0&api-key=key&order-id=0&invoice-option=NoInvoice

India Server


https://test.httpapi.com/api/singledomainhosting/linux/in/enable-ssl.json?auth-userid=0&api-key=key&order-id=0&invoice-option=NoInvoice

Hong Kong Server


https://test.httpapi.com/api/singledomainhosting/linux/hk/enable-ssl.json?auth-userid=0&api-key=key&order-id=0&invoice-option=NoInvoice

Turkey Server


https://test.httpapi.com/api/singledomainhosting/linux/tr/enable-ssl.json?auth-userid=0&api-key=key&order-id=0&invoice-option=NoInvoice

Response

Returns a map of the execution details of the enabling of SSL operation.

Modify/Upgrade

Description

Modifies/upgrades an existing Single Domain Linux Hosting Order.

Parameters

Name Data Type Required / Optional
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
order-id Integer Required The OrderId which is to be modified.
new-plan-id Integer Required The new plan to which the order is to be upgraded/downgraded. To fetch the plan details i.e. plan-id etc, use this method.
months Integer Required The number of months in the new plan for which the Order is to be modified.
invoice-option String Required This parameter will decide how the Customer Invoices will be handled. Values can be: NoInvoice, PayInvoice, KeepInvoice, OnlyAdd

HTTP Method

POST

Example Test URL Request

US, Texas Server


https://test.httpapi.com/api/singledomainhosting/linux/us/modify.json?auth-userid=0&api-key=key&order-id=0&new-plan-id=0&months=0&invoice-option=NoInvoice

US, California Server


https://test.httpapi.com/api/singledomainhosting/linux/us/ca/modify.json?auth-userid=0&api-key=key&order-id=0&new-plan-id=0&months=0&invoice-option=NoInvoice


UK Server


https://test.httpapi.com/api/singledomainhosting/linux/uk/modify.json?auth-userid=0&api-key=key&order-id=0&new-plan-id=0&months=0&invoice-option=NoInvoice

India Server


https://test.httpapi.com/api/singledomainhosting/linux/in/modify.json?auth-userid=0&api-key=key&order-id=0&new-plan-id=0&months=0&invoice-option=NoInvoice

Hong Kong Server


https://test.httpapi.com/api/singledomainhosting/linux/hk/modify.json?auth-userid=0&api-key=key&order-id=0&new-plan-id=0&months=0&invoice-option=NoInvoice

Turkey Server


https://test.httpapi.com/api/singledomainhosting/linux/tr/modify.json?auth-userid=0&api-key=key&order-id=0&new-plan-id=0&months=0&invoice-option=NoInvoice

Response

Returns a map of the execution details of the modify operation.

Renew

Description

Renews an existing Single Domain Linux Hosting Order.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
order-id Integer Required The OrderId which is to be renewed.
months Integer Required The number of months for which the Order is to be renewed.
enable-ssl Boolean Optional Values can be: true or false (default). To learn more, click here.
auto-renew Boolean Required

Enables / Disables the Auto Renewal setting for the Order.

invoice-option String Required This parameter will decide how the Customer Invoices will be handled. Values can be: NoInvoice, PayInvoice, KeepInvoice, OnlyAdd

HTTP Method

POST

Example Test URL Request

US, Texas Server


https://test.httpapi.com/api/singledomainhosting/linux/us/renew.json?auth-userid=0&api-key=key&order-id=0&months=0&invoice-option=NoInvoice


US, California Server


https://test.httpapi.com/api/singledomainhosting/linux/us/ca/renew.json?auth-userid=0&api-key=key&order-id=0&months=0&invoice-option=NoInvoice


UK Server


https://test.httpapi.com/api/singledomainhosting/linux/uk/renew.json?auth-userid=0&api-key=key&order-id=0&months=0&invoice-option=NoInvoice

India Server


https://test.httpapi.com/api/singledomainhosting/linux/in/renew.json?auth-userid=0&api-key=key&order-id=0&months=0&invoice-option=NoInvoice

Hong Kong Server


https://test.httpapi.com/api/singledomainhosting/linux/hk/renew.json?auth-userid=0&api-key=key&order-id=0&months=0&invoice-option=NoInvoice

Turkey Server


https://test.httpapi.com/api/singledomainhosting/linux/tr/renew.json?auth-userid=0&api-key=key&order-id=0&months=0&invoice-option=NoInvoice

Response

Returns a map of the execution details of the Renew operation.