This function sets the status of an item or items in the cPanel Market pending queue.
uapi --output=jsonpretty \ --user=username \ Market \ set_status_of_pending_queue_items \ provider='cPStore' \ order_item_id='12345' \ status='confirmed'
{- "apiversion": 3,
- "func": "set_status_of_pending_queue_items",
- "module": "Market",
- "result": {
- "data": {
- "error_type": "EntryDoesNotExist",
- "order_item_ids": [
- 8675309
]
}, - "errors": [
- "The order item ID “8675309” does not match any entries in the pending queue."
], - "messages": null,
- "metadata": { },
- "status": 0,
- "warnings": null
}
}