文档中心 > API类目 > 天猫优品

tmall.item.sellingpoint.get (获取天猫优品商品卖点信息)

获取天猫优品商品卖点信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param0 String 必须 207380346696994386
  • 默认值:207380346696994386
  • hsf的应用id
    param1 String 必须 intelligent-chatbot
  • 默认值:intelligent-chatbot
  • 服务名称
    param2 String 必须 officialItemHttpService-queryItemSellingPointByHSF
  • 默认值:officialItemHttpService-queryItemSellingPointByHSF
  • 函数名称
    param3 CustomerServiceRequest 必须 对象入参
    • └ item_id
    • String
    • 必须
    • 964556797509
    • 商品id
    param4 String 必须 officialItemHttpService-queryItemSellingPointByHSF__stable
  • 默认值:officialItemHttpService-queryItemSellingPointByHSF__stable
  • 服务qualifier: 版本号或者别名alias

    响应参数

    名称 类型 示例值 描述
    msg_code String SUCCESS msg_code
    data Data data
    • └ item_id
    • String
    • 971459539454
    • item_id
    • └ selling_point
    • String
    • 10年包修:整机10年免费包修,省心更安心 56℃自洁:双效自洁技术,高效除菌更健康 智能控温:0.5℃精准调节,舒适体验升级
    • selling_point
    message String 请求成功 message

    请求示例

    • JAVA
    • .NET
    • PHP
    • CURL
    • Python
    • C/C++
    • NodeJS
    TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
    TmallItemSellingpointGetRequest req = new TmallItemSellingpointGetRequest();
    req.setParam0("207380346696994386");
    req.setParam1("intelligent-chatbot");
    req.setParam2("officialItemHttpService-queryItemSellingPointByHSF");
    TmallItemSellingpointGetRequest.CustomerServiceRequest obj1 = new TmallItemSellingpointGetRequest.CustomerServiceRequest();
    obj1.setItemId("964556797509");
    req.setParam3(obj1);
    req.setParam4("officialItemHttpService-queryItemSellingPointByHSF__stable");
    TmallItemSellingpointGetResponse rsp = client.execute(req);
    System.out.println(rsp.getBody());

    响应示例

    • XML示例
    • JSON示例
    <tmall_item_sellingpoint_get_response>
        <msg_code>SUCCESS</msg_code>
        <data>
            <item_id>971459539454</item_id>
            <selling_point>10年包修:整机10年免费包修,省心更安心  
    56℃自洁:双效自洁技术,高效除菌更健康  
    智能控温:0.5℃精准调节,舒适体验升级</selling_point>
        </data>
        <message>请求成功</message>
    </tmall_item_sellingpoint_get_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

    返回
    顶部