ProductAttributeDelete URL

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

 

URL structure

http:// host_name/path/

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

 

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