ProductAttributeDelete command

This command deletes an attribute for a catalog entry (product). This command is called by the Product Management tools in the WebSphere Commerce Accelerator.

Command structure

http://host_name/path/
The fully qualified name of your WebSphere Commerce Server and the configuration path.

Diagram of the command structure: the command starts with the fully qualified name of your WebSphere Commerce Server and the configuration path, followed by the command name, ProductAttributeDelete  and the ? character. End the command with a list of parameters in the form of name value pairs. Separate each name value pair with the & character. For a detailed description of the parameters and their values, refer to 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.