Modifies existing attributes (specifications) in the attribute dictionary.
Command structure
- http://host_name/path/
- The fully qualified name of your WebSphere Commerce Server and the configuration path.
Parameter values
- attr_id
- (required) ID of the personalized attribute.
- lang_id
- (required) Language ID.
- attrName
- (required) Name of the personalized attribute.
- attrDesc
- (optional) A description of the personalized attribute.
- attrType
- (required) The specified data type for the attribute. Valid data types are: String, Integer, Float, Datetime, Freeform and Bigint.
- sequence
- (required) Sequence number of attribute in online display of attributes.
- encryptFlag
- (required) Encryption is required or not for Personalized Attribute values. Allowable values: 0 = No, 1= Yes, default is 0.
Example
The following example modifies the personalized attribute "Color".
https://myhostname/webapp/wcs/stores/servlet/PAttributeModify?attr_id=10001&lang_id=-1&attrName="Color"& attrDesc="Color"&attrType="String"&sequence=1&encryptFlag=0&URL=/
Behavior
- Modifies existing attributes (specifications) in the attribute dictionary.
Exception conditions
- The parameter attr_id must be an integer.
- The parameter lang_id must be an integer.
- The parameter attrName must be provided.
- The parameter attrType must be provided.
- The parameter sequence must be an integer.