CatalogGroupUpdate command

This command updates a catalog group and its description. 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, CatalogGroupUpdate  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

catgroupId
(Required) The reference number of the catalog group. You must specify either catgroupId or identifier.
identifier
(Required) The external identifier of the catalog group. You must specify either identifier or catgroupId.
catalogId
The reference number of the catalog.
enableContracts
Indicates if the catalog group can be used in contracts.
field1
A customizable field.
field2
A customizable field.
markForDelete
Indicates if the catalog group is marked for deletion.
display
Reserved for IBM internal use.
fImage
The full image path for the catalog group.
descLangId
The description of the language's reference number.
name
The name of the catalog group.
published
Indicates whether or not this catalog group should be displayed for the language indicated by the descLangId: 0= no, and 1= yes.
sDesc
The short description of the catalog group.
tImage
The thumbnail image path for the catalog group.
URL
The URL to be called when the command completes successfully.

Example1

The following example updates catalog group 10005. If the catalog group description already exists, in language -2, it will be updated with NolangSpecified as the name; if the catalog group description does not exist, it will be created with NolangSpecified as the name:

http://host_name/webapp/wcs/stores/servlet/CatalogGroupUpdate?
catgroupId=10005&descLangId=-2&keyword=a second keyword&
field1=helloSir&field2=world&display=TestJSP&name=
NolangSpecified&markForDelete=0&URL=LogonForm

Example 2

The following example updates a catalog group, with testCatalogGroup1 as the identifier and the logon user as the owner. If the catalog group description already exists, in language -3, it will be updated with NolangSpecified as the name; if the catalog group description does not exist, it will be created with NolangSpecified as the name:

http://host_name/webapp/wcs/stores/servlet/CatalogGroupUpdate?
identifier=testCatalogGroup1&descLangId=-3&field1=helloWorld
&field2=world&display=test.JSP&name=NolangSpecified&
markForDelete=0&URL=LogonForm

Behavior

Exception conditions

None.