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

taobao.tmallbest.invoice.signin.sync (票易通-信息同步)

票易通-入驻信息同步

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
source_type String 必须 0
  • 默认值:0
  • 数据同步类型
    info_json String 必须 {}
  • 默认值:{}
  • 数据json格式

    响应参数

    名称 类型 示例值 描述
    result String "" 返回信息
    invoke_src String ""
    succ Boolean true 是否处理成功
    message String "ok" 信息
    biz_exception Boolean false 是否异常
    msg_code String 200 处理代码

    请求示例

    • JAVA
    • .NET
    • PHP
    • CURL
    • Python
    • C/C++
    • NodeJS
    TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
    TmallbestInvoiceSigninSyncRequest req = new TmallbestInvoiceSigninSyncRequest();
    req.setSourceType("0");
    req.setInfoJson("{}");
    TmallbestInvoiceSigninSyncResponse rsp = client.execute(req);
    System.out.println(rsp.getBody());

    响应示例

    • XML示例
    • JSON示例
    <tmallbest_invoice_signin_sync_response>
        <result>&quot;&quot;</result>
        <invoke_src>&quot;&quot;</invoke_src>
        <succ>true</succ>
        <message>&quot;ok&quot;</message>
        <biz_exception>false</biz_exception>
        <msg_code>200</msg_code>
    </tmallbest_invoice_signin_sync_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

    返回
    顶部