Body
Description
Retrieves details for a cWatch order by Order ID or domain name.
Parameters
| Name | Data Type | Required / Optional | Description |
|---|---|---|---|
| auth-userid | Integer | Required | Reseller ID (Authentication Parameter) |
| api-key | String | Required | Reseller API key (Authentication Parameter) |
| order-id | Integer | Optional* | Order ID to look up |
| domain-name | String | Optional* | Domain name to look up |
| filter | String | Optional | Filter key (e.g. orderid) |
* Provide at least one of order-id or domain-name, depending on how you want to look up the order.
HTTP Method
GET
Example Request
GET https://httpapi.com/restapi/product/cwatch?auth-userid=0&api-key=key&order-id=126208486&domain-name=example.com&filter=orderid
Response
Returns the details of the matching cWatch order (such as Order ID, domain name, plan, status, and validity). Representative example:
{ "orderid": "126208486", "domainname": "example.com", "planid": "0", "status": "Active" }