Loading...

Knowledge Base

Get cWatch Order details via the API

Description

Retrieves details for a cWatch order by Order ID or domain name.

Parameters

NameData TypeRequired / OptionalDescription
auth-useridIntegerRequiredReseller ID (Authentication Parameter)
api-keyStringRequiredReseller API key (Authentication Parameter)
order-idIntegerOptional*Order ID to look up
domain-nameStringOptional*Domain name to look up
filterStringOptionalFilter 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" }