Advanced orders PICopy URL

This URL copies the payment methods from one order to another order.

URL structure

http://host_name/path/
The fully qualified name of your WebSphere Commerce Server and the configuration path.
Diagram of the URL structure: the URL starts with the fully qualified name of your WebSphere Commerce Server and the configuration path, followed by the URL name, Advanced orders PICopy  and the ? character. End the URL with a list of parameters in the form of name value pairs. Separate each name value pair with the & character. For a detailed description of the parameters and their values, refer to the list entitled Parameter values.

Parameter values

orderId
(Required) The identifier of the order from which payment methods should be copied (the source order).
toOrderId
(Required) The identifier of the order that should receive the copied payment method (the target order).
URL
(Required) The URL to be called when the command completes successfully.

Example

The following example copies all the payment methods from order 112233 to order 112234.

http://host_name/webapp/wcs/stores/servlet/PICopy?orderId=112233&toOrderId=112234&URL=/
     

Behavior

Exception conditions

Feedback