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
- If the attribute ID is supplied, then the command
- deletes an existing product attribute
- calls the CatEntryDelete command for all items associated with the deleted attribute.
- If the catalog entry ID for the product is supplied, then the command
- deletes all product attributes related to the catalog entry
- calls the CatEntryDelete command for all items associated with the deleted attribute.
Exception conditions
None.
Related concepts
Catalog subsystemRelated reference
ProductAttributeAdd URL
ProductAttributeUpdate URL
AttributeValueAdd URL
AttributeValueDelete URL
AttributeValueUpdate URL
Catalog subsystem URLs