OrderList URL
Displays a list of the customer's orders, whether they have been prepared or not. This URL provides a summary of the orders. It does not show tax, shipping, or discounts.
URL structure
- http:// host_name/ path/
- The fully qualified name of your WebSphere Commerce Server and the configuration path.
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 be listed. 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
- If the status is P, sets the OrderListPendingView view command to display the list of pending orders.
- If the status is any value other than P (or X, which is considered a command error), sets the OrderListNonPendingView view command to display the list of orders that match the specified status for a store (if any).
Exception conditions
None.