Cancel Order Print

  • 1

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.


Was this answer helpful?

« Back