OrderList command

This command displays a list of the customer's orders whether they have been prepared or not.  This command provides a summary of the customer's orders.  It does not show tax, shipping, or discounts. 

Command structure

http://host_name/path/
The fully qualified name of your WebSphere Commerce Server and the configuration path.

Diagram of the command structure: the command starts with the fully qualified name of your WebSphere Commerce Server and the configuration path, followed by the command name, OrderList  and the ? character. End the command 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

langId
Sets or resets the preferred language for the duration of the session; the supported languages for a store are found in the STORELANG table.
forUser
The logon ID of the user on whose behalf the command will be run; only a person with the authority to process orders can specify this parameter.
forUserId
Same as forUser, but identifying the user by the internal user ID, as found in the USERS table.
storeId
The reference number of the store for the orders to list. If you omit this parameter, the customer's orders for all stores are listed.
status
(Required) The status of the orders that are listed.

Example 

The following example provides all completed orders of the current user.

     http://myhostname/webapp/wcs/stores/servlet/OrderList?status=C

Behavior

Exception conditions

None.