Reference > Shop flow URLs > Catalog subsystem URLs > Catalog groups
CatalogGroupDelete URL
This URL marks a catalog group and its description (plus all cascades) for deletion.
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
- catgroupId
- Required: The reference number of the catalog group. You must specify either catgroupId or identifier.
- identifier
- Required: The external identifier of the catalog group. You must specify either identifier or catgroupId.
- force
- 0 = no, 1=yes. 0 will markForDelete this catalog group.
- URL
- The URL to be called when the command completes successfully.
Example 1
The following example deletes catalog group 6001 from the database permanently:
http://host_name/webapp/wcs/stores/servlet/CatalogGroupDelete? catgroupId=6001&force=1&URL=LogonForm
Example 2
The following example deletes catalog group, with testCatalogGroup1 as the identifier, from the database permanently:
http://host_name/webapp/wcs/stores/servlet/CatalogGroupDelete? identifier=testCatalogGroup1&force=1&URL=LogonForm
Behavior
- When force is set to 1, all relationships with that catalog group will be cascade deleted.
- When force is set to 0, relationships with that catalog group will not be deleted. This URL does not clean the relationships, however the cascade delete will remove any relationships associated with that catalog group.
Exception condition
None.
Related concepts
Related reference