文档中心 > API类目 > 客户运营平台API

taobao.opencrm.ctag.update (自定义标签更新)

自定义标签更新

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
operation Number 可选 1
  • 默认值:1
  • 新增
    name String 可选 自定义标签 属性名称
    id Number 可选 1 自定义标签属性ID

    响应参数

    名称 类型 示例值 描述
    result Result result
    • result
    • OpenTagAttributeDto
    • result
    • └ operation
    • Number
    • 1
    • operation
    • └ name
    • String
    • 1
    • name
    • └ id
    • Number
    • 1
    • id
    • └ msg
    • String
    • 错误描述
    • 错误描述
    • └ success
    • Boolean
    • 接口调用状态
    • 接口调用状态
    • └ code
    • Number
    • 1
    • code

    请求示例

    • JAVA
    • .NET
    • PHP
    • CURL
    • Python
    • C/C++
    • NodeJS
    TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
    OpencrmCtagUpdateRequest req = new OpencrmCtagUpdateRequest();
    req.setOperation(1L);
    req.setName("自定义标签");
    req.setId(1L);
    OpencrmCtagUpdateResponse rsp = client.execute(req, sessionKey);
    System.out.println(rsp.getBody());

    响应示例

    • XML示例
    • JSON示例
    <opencrm_ctag_update_response>
        <result>
            <result>
                <operation>1</operation>
                <name>1</name>
                <id>1</id>
            </result>
            <msg>错误描述</msg>
            <success>接口调用状态</success>
            <code>1</code>
        </result>
    </opencrm_ctag_update_response>

    异常示例

    • XML示例
    • JSON示例
    <error_response>
        <code>50</code>
        <msg>Remote service error</msg>
        <sub_code>isv.invalid-parameter</sub_code>
        <sub_msg>非法参数</sub_msg>
    </error_response>

    错误码解释

    错误码 错误描述 解决方案

    API工具

    如何获得此API

    FAQ

    返回
    顶部