Market
Market Integration
Update status of items in pending queue
This function sets the status of an item or items in the cPanel Market pending queue.
get/Market/set_status_of_pending_queue_items
Query parameters
order_item_idstring 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.
providerstring required
Example:cPStore
The cPanel Market provider's name.
status'confirmed' required
Example:confirmed
The new status of the item in the cPanel Market pending queue.
- confirmed — The system confirmed payment for the item with the provider.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "set_status_of_pending_queue_items",
"module": "Market",
"result": {
"data": {
"error_type": "EntryDoesNotExist",
"order_item_ids": [
8675309
]
},
"status": 1
}
}