AttributeValueDelete URL

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

 

URL structure

http:// host_name/path/

The fully qualified name of your WebSphere Commerce Server and the configuration path.

 

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