PolicyDelete command (Business Edition)

This command deletes a business policy from a store.

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, PolicyDelete  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

policyId
(Required) The policy ID for the policy you want to delete, as found in the POLICY database table.
URL
(Required) The URL to be called when the command completes successfully.

Example

The following example deletes policy ID 260369:

https://myhostname/webapp/wcs/stores/servlet/PolicyDelete?policyId=260369
&URL=ContractDisplay

Behavior

This command deletes a policy from the WebSphere Commerce database.

Exception conditions