CatalogUpdate URL
This URL updates a catalog and its description.
URL structure
- http:// host_name/path/
- The fully qualified name of your WebSphere Commerce Server and the configuration path.
Parameter values
- catalogId
- Required: The reference number of the catalog. The catalog group ID creates a language-dependent catalog description on a created or existing catalog. You must specify either catalogId or identifier.
- identifier
- Required: The external identifier of the catalog. You must specify either identifier or catalogId.
- fImage
- The full path image path for the catalog.
- tImage
- The thumbnail image path for the catalog.
- sDesc
- The short description of the catalog.
- lDesc
- The long description of the catalog.
- desc
- The description of the catalog.
- descLangId
- The description of the language's reference number.
- name
- The language-dependent name of the catalog.
- URL
- The URL to be called when the command completes successfully.
Example
The following example updates catalog 10001, with TestCatalog as the identifier. If the catalog description already exists in the logon language, it will be updated with TestCatalog1 as the name; if the catalog description does not existed, it will be created with TestCatalog1 as the name:
http://host_name/webapp/wcs/stores/servlet/CatalogUpdate?
catalogId=10001&identifier=TestCatalog&fImage=Fullimage.jpg
&tImage=Thumbnail.gif&sDesc=ShortDescription&lDesc=
LongDescription&name=TestCatalog1&desc=CatalogDescription
&URL=LogonForm
Behavior
- Either catalogId or identifier must be supplied. If both are supplied, then catalogId is used.
Exception conditions
None.