Cancel Order

cancelorder

Purpose

This command is used to cancel a pending order in the system.

Attributes

  • orderid - client id for order

Example Command

$postfields = array();
$postfields["responsetype"] = "json";

$postfields["action"] = "cancelorder";
$postfields["orderid"] = "1";

$result = mikrovps_SendCommand( $postfields );

Successful Response

result - success

Error Response

result=error
message=Order ID not found  or Status not Pending

iven Order ID is not found in the database or status not pending.

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Get Products

getproducts Purpose This command can be used to retrieve product and domain details....

Get Orders

getorders Purpose This command is used to generate a list of orders Attributes Optional...

Get TLDs

gettlds Purpose This command can be used to retrieve available TLDs and prices. Optional...

Add Order

addorder Purpose This command is used to add a new order to the system. Attributes clientid...