setAttribute(JSON)
Function: setAttribute | |
set one attribute for products. For indivFieldsList use dstTable=TABLE_PRODUCTS_ATTRIBUTES | |
Request | |
user | xsd:string |
pass | xsd:string |
attributeItem | tns:attributeItem |
{ "function":"setAttribute", "paras":{ "user":"", "pass":"", "attributeItem":{ "attributes_id":0, "attributes_parent":0, "attributes_ext_id":0, "attributes_ext_parent_id":0, "attributes_model":"", "attributes_image":"", "sort_order":0, "status":0, "attributes_name":{ "de":"", "en":"" }, "attributes_desc":{ "de":"", "en":"" }, "indivFieldsList":[{ "dstTable":"", "sqlFieldName":"", "sqlFieldType":"", "value":"", "langValue":{ "de":"", "en":"" } } ] } }} | |
Response | |
result | tns:attributeResultItem |
{ "result":{ "attributes_id":0, "attributes_ext_id":0, "result":true, "message":"" } } |