Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Function: setAttributes
Description: set attributes for products. For indivFieldsList use dstTable=TABLE_PRODUCTS_ATTRIBUTES
Request
userxsd:string
passxsd:string
attributeItemListtns:attributeItemList
{
"function":"setAttributes",
"paras":{
    "user":"",
    "pass":"",
    "attributeItemList":[{
            "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:attributeItemList
messagexsd:string
{
    "result":[{
            "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":""
                    }
                }            ]
        }    ],
    "message":""
}