taobao.place.storegroup.create (商户门店库创建接口)

用于商家创建线下门店库

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
name String 可选 测试门店库 库名
desc String 可选 测试用 备注

响应参数

名称 类型 示例值 描述
result TopBatchResultDo 9904242013 返回结果
  • └ other
  • String
  • 9904242013
  • 其他信息
  • └ total_num
  • Number
  • 5
  • 结果总数
  • └ success
  • Boolean
  • true
  • 是否成功
  • └ error_code
  • String
  • 444
  • 错误码
  • └ result_list
  • String []
  • 9904242013
  • 结果列表
  • └ error_msg
  • String
  • 系统错误信息
  • 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
PlaceStoregroupCreateRequest req = new PlaceStoregroupCreateRequest();
req.setName("测试门店库");
req.setDesc("测试用");
PlaceStoregroupCreateResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<place_storegroup_create_response>
    <result>
        <other>9904242013</other>
        <total_num>5</total_num>
        <success>true</success>
        <error_code>444</error_code>
        <result_list>
            <string>9904242013</string>
        </result_list>
        <error_msg>系统错误信息</error_msg>
    </result>
</place_storegroup_create_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

返回
顶部