文档中心 > API类目 > 货源服务API

taobao.itemmarket.distributor.signup (入驻)

入驻

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
app_id String 必须 3000000079162355 小程序id
vendor_id Number 必须 6 服务商id

响应参数

名称 类型 示例值 描述
result Boolean true 返回结果
call_sub_code String 501 错误子码
call_success Boolean true api调用是否成功
call_error_code String error 错误码
call_error_msg String 系统错误 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
ItemmarketDistributorSignupRequest req = new ItemmarketDistributorSignupRequest();
req.setAppId("3000000079162355");
req.setVendorId(6L);
ItemmarketDistributorSignupResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<itemmarket_distributor_signup_response>
    <result>true</result>
    <call_sub_code>501</call_sub_code>
    <call_success>true</call_success>
    <call_error_code>error</call_error_code>
    <call_error_msg>系统错误</call_error_msg>
</itemmarket_distributor_signup_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

返回
顶部