Get Details
Loading...
When you want to retrieve the details of an existing SiteLock order using the API. This article explains the required authentication parameters, order ID input, SiteLock order information, plan status details, and order response information.
Gets the details of an existing SiteLock Order.
| Name | Data Type | Required / Optional | Description |
|---|---|---|---|
| auth-userid | Integer | Required | Authentication Parameter |
| api-key | String | Required | Authentication Parameter |
| order-id | Integer | Required | The Order ID for which the details to be fetched |
GET
https://test.httpapi.com/api/sitelock/details.json?auth-userid=0&api-key=key&order-id=0
Returns a hash map containing the below details:
Order ID (entityid)
Order Description (description)
Domain Name (domainname)
Current Order Status under the System (currentstatus) - value will be InActive, Active, Suspended or Deleted
Product key (productkey)
Product Category (productcategory)
Order Creation Date (creationtime)
Expiry Date (endtime)
Whether Order belongs to a Customer directly under the Reseller (isImmediateReseller)
Reseller Chain by RID (parentkey)
Customer ID Associated with the Order (customerid)
Whether Order Suspended due to Expiry (isOrderSuspendedUponExpiry)
Whether Order Suspended by Parent Reseller (orderSuspendedByParent)
Whether Order Deletion is Allowed (allowdeletion)
Whether Auto-Renewal is enabled (recurring)
Plan ID of the SiteLock Plan (planid)
Status of the SiteLock Plan (paused)
In case of any errors, a status key with value as ERROR alongwith an error message will be returned.