ProductSetPublish command

This command publishes an existing product set to the catalog or all existing product sets.

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

productSetId
(Required) Identifies the reference number of an existing product set to be published; "*" indicates that all product sets are to be published.

Example 1

This example publishes product set 1001:

http://host_name/path/ProductSetPublish? ProductSetId=1001

Example 2

This example publishes multiple product sets: 1001, 1002, and 1003:

http://host_name/path/ProductSetPublish? ProductSetId=1001
&ProductSetId=1002&ProductSetId=1003

Example 3

This example publishes all product sets:

http://host_name/path/ProductSetPublish? ProductSetId=*

Behavior

The command can be used to publish existing product sets to run time or to synchronized existing product sets in run time.

Exception conditions

None.