Reference > Shop flow URLs > Catalog subsystem URLs > Categories


TopCategoriesDisplay URL

This URL displays the root categories for a given catalog.


URL structure

http:// host_name/path/

The fully qualified name of the WebSphere Commerce Server and the configuration path.

Diagram of the URL structure: The URL starts with the fully qualified name of the WebSphere Commerce Server and the configuration path, followed by the URL name, <a href=TopCategoriesDisplay , 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, see 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.

storeId

Required: The reference number of the store associated with the categories.

catalogId

The reference number for the catalog that is associated with the given store. The catalog contains root categories.

identifier

The external identifier for the category.

memberId

The reference number of the member who owns the category. The memberId along with the identifier uniquely identify the category. If a memberId is omitted, then the owner of the current store along with the identifier are used to uniquely identify the category.


Example

This example displays a store catalog with one single top category.

http://host_name/webapp/wcs/v5/stores/TopCategoriesDisplay?
catalogId=323000&storeId=32&langId=-1 


Behavior

The command can be used as the second part of a "drill down" sequence that starts with StoreCatalogDisplay, which displays the catalogs of a store. You can:


Exception Conditions

None.


Related concepts

Catalog subsystem

Related reference

CategoryDisplay URL

StoreCatalogDisplay URL

Catalog subsystem URLs


+

Search Tips   |   Advanced Search