Knowledge Base
Categories: Cloud Linux Hosting API
Get the Order ID of a Cloud Hosting Order Using the API
When you want to retrieve the associated Cloud Hosting order ID using the API. This article explains the required authentication parameters, domain name input, and order ID response information.
Description
Gets the associated Cloud 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 Server
https://test.httpapi.com/api/cloudsites/linux/us/orderid.json?auth-userid=0&api-key=key&domain-name=domain.com
India Server
https://test.httpapi.com/api/cloudsites/linux/in/orderid.json?auth-userid=0&api-key=key&domain-name=domain.com
Response
Returns the associated Cloud Hosting Order Id (Integer) of the domain name.
Did you find this article helpful?