Reference > Shop flow URLs > Catalog subsystem URLs > Attributes


ProductAttributeDelete URL

This URL deletes an attribute for a catalog entry (product).

Restriction: This URL must only be used for deleting defining attributes. Descriptive attributes are not supported.


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, ProductAttributeDelete , 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

attributeId

Required: The reference number of the attribute. You must specify either attributeId or catentryId.

catentryId

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

force

If the force option is set to 1, then the associated items or catalog entries are deleted. If the force option is set to 0, the associated items or catalog entries are set to MarkForDelete.

URL

The URL to be called when the command completes successfully.


Example 1

The following example deletes attribute 9009 and marks for delete all associated items:

http://host_name/webapp/wcs/stores/servlet/ProductAttributeDelete?
attributeId=9009&force=0&URL=LogonForm


Example 2

The following example deletes all attributes associated with catalog entry 9014, and marks for delete all items associated with the deleted attributes:

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


Behavior


Exception conditions

None.


Related concepts

Catalog subsystem

Related reference

ProductAttributeAdd URL

ProductAttributeUpdate URL

AttributeValueAdd URL

AttributeValueDelete URL

AttributeValueUpdate URL

Catalog subsystem URLs


+

Search Tips   |   Advanced Search