Reference > Shop flow URLs > Catalog subsystem URLs > Attributes


AttributeValueDelete URL

This URL deletes a catalog entry's defining attribute value, in all languages.

Restriction: This URL must only be used for 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, AttributeValueDelete , 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

attrvalueId

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

catentryId

Required: The reference number of the catalog entry. If only the catalog entry ID is supplied, then the command will delete all attribute values (in all languages) associated with that catalog entry. If the attribute value ID is also supplied, then only the specified attribute value (in all languages) is deleted. Do not use catentryId =0. You must specify either catentryId or attrivalueId.

force

0 = no and will markForDelete all items that are associated with that attribute value; 1=yes and will delete the items from the database.

URL

The URL to be called when the command completes successfully.


Example 1

The following example deletes attribute value 9222 in all languages and will mark for delete all the items associated with the attribute value:

http://host_name/webapp/wcs/stores/servlet/AttributeValueDelete?
attrvalueId=9222&force=0&URL=LogonForm


Example 2

The following example deletes attribute value 9222 in all languages and will mark for delete all the items associated with the attribute value:

http://host_name/webapp/wcs/stores/servlet/AttributeValueDelete?
attrvalueId=9222&force=1&URL=LogonForm


Behavior


Exception conditions

Either attrvalueId or catentryId is not valid.


Related concepts

Catalog subsystem

Related reference

ProductAttributeAdd URL

ProductAttributeDelete URL

ProductAttributeUpdate URL

AttributeValueAdd URL

AttributeValueUpdate URL

Catalog subsystem URLs


+

Search Tips   |   Advanced Search