Description
This function sets the status of an item or items in the cPanel Market pending queue.
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. Note: To set the status for multiple items, duplicate or increment the parameter name. For example, to change the status for three certificates, use the order_item_id parameter multiple times or use the order_item_id-1, order_item_id-2, and order_item_id-3 parameters. |
A valid string. |
8675309 |
status |
string |
Required The new status of the item in the cPanel Market pending queue. |
|
confirmed |
Returns
Note:
The function only returns these values if the user or users do not have the order_item_id
item in the cPanel Market pending queue.
Return |
Type |
Description |
Possible values |
Example |
error_type |
string |
The type of error that the function encountered. Note: We introduced this return in cPanel & WHM version 56.1. |
|
cPStore |
order_item_ids |
array |
An array that lists order item IDs which do not exist in the cPanel Market pending queue for the user. Note: We introduced this return in cPanel & WHM version 56.1. |
A list of order item IDs. |
8675309 |