Reference > Shop flow URLs > Catalog subsystem URLs > Catalog entries


CatalogEntryDelete URL

This URL deletes a catalog entry.


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, CatalogEntryDelete , and the ? character. End the URL with a list of parameters in the form of name-value pairs. Separate each <a href=name-value pair with the & character. For a detailed description of the parameters and their values, see the list entitled Parameter values." />


Parameter values

catentryId

Required: The reference number of the catalog entry. You must specify either the catentryId or the partnumber parameter.

partnumber

Required: The reference number that identifies the external part number of the catalog. You must specify either partnumber or catentryId.

force

This parameter accepts the following values:

0

Marks all of the items that are associated with that attribute value (catalog entry or part number) for deletion.

1

Forces the removal from the database of all of the items that are associated with that attribute value (catalog entry or part number).

If you do not specify this parameter, a default value of 0 is used.

checkATP

This parameter accepts the following values:

true

If the checkATP parameter is set to true, the command checks if the catalog entry being deleted is the last catalog entry associated with a base item or item specification.

If the catalog entry is the last one associated with with a base item or item specification, then the base item or item specification will be marked for deletion, regardless of the force parameter setting.

The force option is only applicable to the catalog entry, not the inventory.

false

If the checkATP parameter is set to false, no check is performed.

A time stamp will be appended to the part number of the base item or item specification associated with the catalog entry being deleted. They will not be deleted or marked for deletion.

If you do not specify this parameter, a default value of false is used.

URL

The URL to be called when the command completes successfully.


Example 1

The following example deletes catalog entry 20215 from the database:

http://host_name/webapp/wcs/stores/servlet/CatalogEntryDelete?
catentryId=20215&force=1&URL=LogonForm


Example 2

The following example marks for delete catalog entry 10001:

http://host_name/webapp/wcs/stores/servlet/CatalogEntryDelete?
catentryId=10001&force=0&URL=LogonForm


Behavior


Exception conditions

When the force option is set to 1, but the catalog entry is in the order item, then an error will be thrown. In this case, the catalog entry will not be deleted.


Related concepts

Catalog subsystem

Related reference

ProductDisplay URL

CatalogEntryAdd URL

CatalogEntryUpdate URL

CatGroupCatEntryRelAdd URL

CatGroupCatEntryRelDelete URL

Catalog subsystem URLs


+

Search Tips   |   Advanced Search