Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Fuction: setAttribute
Description:set one attribute for products. For indivFieldsList use dstTable=TABLE_PRODUCTS_ATTRIBUTES
Request
userxsd:string
passxsd:string
attributeItemtns: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
resulttns:attributeResultItem
{
    "result":{
        "attributes_id":0,
        "attributes_ext_id":0,
        "result":true,
        "message":""
    }
}
  • No labels