Reference > Shop flow URLs > Catalog subsystem URLs > Catalog groups
TopCatalogGroupDelete URL
This URL deletes a relationship between a catalog and a catalog group.
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
- catalogId
- Required: The reference number of the catalog.
- catgroupId
- Required: The reference number of the catalog group.
- URL
- The URL to be called when the command completes successfully.
Example 1
The following example deletes the top catalog group relationship between catalog 6000 and catalog group 9000:
http://host_name/webapp/wcs/stores/servlet/TopCatalogGroupDelete? catalogId=6000&catgroupId=9000&URL=LogonForm
Example 2
The following example deletes all the top catalog group relationships with catalog group 8000 and any catalogs:
http://host_name/webapp/wcs/stores/servlet/TopCatalogGroupDelete? catalogId=*&catgroupId=8000&URL=LogonForm
Example 3
The following example deletes all the top catalog group relationships with catalog 6000 and any catalog groups:
http://host_name/webapp/wcs/stores/servlet/TopCatalogGroupDelete? catalogId=6000&catgroupId=*&URL=LogonForm
Behavior
- If the catalog ID is generic (catalogId=*), then this URL deletes all CatToGrp relationships with the specified CatGroupId.
- If the catalog group ID is generic (catalogId=*), then this URL deletes all CatToGrp relationships with the specified CatalogId.
Exception conditions
None.
Related concepts
Related reference