com.ibm.commerce.tools.optools.order.commands

Interface CSROrderRollBackCmd

Parameters

XML
An input xml_string that contains the details of the order which has changes need to be rolled back.
 Example xml_string:
        <?xml version="1.0" encoding "UTF-8">
                <order>
                        <customerId>              20000   </customerId>
                        <billingAddressId>        1000    </billingAddressId>
                        <firstOrder>
                                <id>              10001   </id>
                        </firstOrder>
                        <secondOrder>
                                <id>              10002   </id>
                        </secondOrder>
                        <backupOrder>
                                <id>              10002   </id>
                                <totalShipping>
                                        <value>0.0</value>
                                </totalShipping>
                                <totalAdjustment>
                                    <value>0.0</value>
                                </totalAdjustment>
                                <couponIds>123456</couponIds>
                                <grandTotal>10000</grandTotal>

                        </backupOrder>
                </order>
        </xml>
 
URL
The URL to be called when the command completes successfully.

Response Parameter:

None.

Exception Conditions

It throws all the exceptions thrown by OrderItemAdd, OrderItemUpdate, OrderItemDelete, OrderPrepare, OrderProcess, OrderProcess, CSROrderCancel and DoCancel commands will throw.

Error View: