alibaba.kbcpa.distribute.item.routelink (口碑cpa分销取链工具)

口碑cpa分销取链工具

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
path String 必须 /goods-detail/pages/index/index?itemId=xxx&sourceFrom=xxx&extInfo=xxxxx 微信页面路径
share_id String 必须 423423 分享者id
buyer_id String 必须 645546 购买者id

响应参数

名称 类型 示例值 描述
result ResultDTO ResultDTO 异步获取历史数据接口返回结果
  • └ error_msg
  • String
  • 错误信息
  • 错误信息
  • └ error_code
  • String
  • 错误码
  • 错误码
  • └ result
  • String
  • 链接
  • 链接
  • └ success
  • Boolean
  • true
  • 执行结果

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaKbcpaDistributeItemRoutelinkRequest req = new AlibabaKbcpaDistributeItemRoutelinkRequest();
req.setPath("/goods-detail/pages/index/index?itemId=xxx&sourceFrom=xxx&extInfo=xxxxx");
req.setShareId("423423");
req.setBuyerId("645546");
AlibabaKbcpaDistributeItemRoutelinkResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_kbcpa_distribute_item_routelink_response>
    <result>
        <error_msg>错误信息</error_msg>
        <error_code>错误码</error_code>
        <result>链接</result>
        <success>true</success>
    </result>
</alibaba_kbcpa_distribute_item_routelink_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

返回
顶部