Description
This function cancels an order and removes the polling for a pending certificate.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
Parameter |
Type |
Description |
Possible values |
Example |
provider |
string |
Required The cPanel Market provider's name. |
A valid string. |
cPStore |
order_item_id |
string |
Required The ID of the ordered item to cancel. |
A valid string. |
8765309 |
Returns
Return |
Type |
Description |
Possible values |
Example |
|
hash |
A hash of order information. |
This hash includes the domains,created_time, csr, first_poll_time,last_poll_time, order_id, order_item_id,support_uri, product_id, provider,status, and vhost_names returns. |
|
domains |
array |
A list of domains on the certificate. The function returns this value in the unnamedhash. |
An array of valid domain names. |
example1.com,example2.com |
created_time |
string |
When the system created the order. The function returns this value in the unnamedhash. |
A date in Unix time format. |
1458061262 |
csr |
string |
The text of the Certificate Request (CSR). The function returns this value in the unnamedhash. |
A certificate request file in Base64 PEMformat. |
|
first_poll_time |
string |
The first time that the system polled the provider for the certificate. The function returns this value in the unnamedhash. |
A date in Unix time format. |
1458061262 |
last_poll_time |
string |
The last time that the system polled the provider for the certificate. The function returns this value in the unnamedhash. |
A date in Unix time format. |
1458061262 |
order_id |
string |
The ID of the order. The function returns this value in the unnamedhash. |
A valid string. |
1392472 |
order_item_id |
string |
The ID of the ordered item. The function returns this value in the unnamedhash. |
A valid string. |
10427508 |
support_uri |
string |
The URI of the cPanel Market Provider's support site. The function returns this value in the unnamedhash. |
A valid URI. |
http://support.example.com/ |
product_id |
string |
The product's ID. The function returns this value in the unnamedhash. |
A valid string. |
143 |
provider |
string |
The cPanel Market provider's name. The function returns this value in the unnamedhash. |
A valid string. |
cPStore |
status |
string |
The status of the order. The function returns this value in the unnamedhash. |
|
confirmed |
vhost_names |
array |
A list of virtual host names. The function returns this value in the unnamedhash. |
An array of valid virtual host names. |
abcde.com |