RetrieveShoppingCartCmd URL

Professional Edition onlyBusiness Edition only This command retrieves and displays the items in a customer's shopping cart.

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, RetrieveShoppingCartCmd  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

storeId
The store ID of the store where the customer is shopping.
userId
The user ID of the customer whose shopping cart is being retrieved.

Example

The following example displays the shopping cart items for a customer with the user ID of 55 at store 10001.

http://myhostname/webapp/wcs/tools/servlet/RetrieveShoppingCartCmd?storeId=10001
&userId=55

Behavior

Retrieves and displays the items in a customer's shopping cart.

Exception conditions

None.

Feedback