Deprecated feature

CLOSEORDER

The CLOSEORDER command moves an Order into Closed state. You can invoke the CLOSEORDER command for an Order that satisfies the following criteria:

  • It has at least one Payment or Credit associated with it, AND
  • All of the Payments and Credits associated with the Order are in their respective Closed state.

Once an Order is in Closed state, no operations are legal on it except for CancelOrder. If the optional parameter DELETEORDER is set to 1, then the database will be pruned, so you can call CloseOrder on an Order in Closed state. Payments and Credits must be closed.

Keywords Required Value
ETAPIVERSION Yes 3 (Indicates WebSphere Commerce Payments-or predecessor product-API version: Version 2.1.x, 2.2.x, 3.1.x, 5.5.x, and 5.6.x).
MERCHANTNUMBER Yes Integer in ASCII characters. Must be from 1 to 999999999.
OPERATION Yes ASCII character string CloseOrder.
ORDERNUMBER Yes Integer in ASCII characters. Must be from 1 to 999999999.
DELETEORDER No Indicates that the order and all ancillary objects should be deleted. Default is 0. Supported values are:
0
Order and all ancillary objects should not be deleted.
1
Order and all ancillary objects should be deleted.
DTDPATH No Path to the locally stored DTD. The value of this parameter is used in the XML document to specify the location of the external DTD. If this parameter is not specified, the complete DTD is returned as an internal DTD. The length of the DTDPath must be from 1 to 254 bytes.