Reference > Shop flow URLs > Trading subsystem URLs > Account and contract URLs
ContractListAsBuyer URL
This URL returns a list of all contracts the customer currently logged on is eligible to use.
URL structure
- http:// host_name/path/
- The fully qualified name of the WebSphere Commerce Server and the configuration path.
name-value pair with the & character. For a detailed description of the parameters and their values, see the list entitled Parameter values." />
Parameter values
There are no parameters for This URL.
Example
This example returns a list of all contracts a user logged in to a store may use:
https://myhostname/webapp/wcs/stores/servlet/ContractListAsBuyer
Behavior
For a user logged in to a WebSphere Commerce store, This URL returns a list of contracts the user is entitled to use as a buyer. This URL forwards the results to ContractListView after it finishes.
Exception conditions
The following exceptions may be thrown by This URL:
- _ERR_DIDNT_LOGON will be thrown if the user did not log in to a store.