taobao.place.storerelatesub.get (门店和子门店关系查找)

门店和子门店关系查找

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
store_id Number 可选 9904242013
  • 默认值:0
  • 门店Id
    query String 可选 某某文具店 查询语句
    page_no Number 可选 1
  • 默认值:0
  • 第几页
    page_size Number 可选 6
  • 默认值:0
  • 页大小

    响应参数

    名称 类型 示例值 描述
    result TopBatchResultDo 9904242013 返回结果
    • └ other
    • String
    • 9904242013
    • 其他信息
    • └ total_num
    • Number
    • 5
    • 结果总数
    • └ success
    • Boolean
    • true
    • 是否成功
    • └ error_code
    • String
    • 444
    • 错误码
    • result_list
    • T []
    • 9904242013
    • 结果列表
    • └ store_id
    • Number
    • 291366005
    • 门店Id
    • └ name
    • String
    • 某某店
    • 门店名称
    • └ sub_name
    • String
    • 某某
    • 门店分名称
    • └ address
    • String
    • 文一西路969号
    • 详细地址
    • └ prov_name
    • String
    • 浙江省
    • └ city_name
    • String
    • 杭州市
    • └ district_name
    • String
    • 余杭区
    • └ prov_code
    • Number
    • 330000
    • └ city_code
    • Number
    • 330100
    • └ district_code
    • Number
    • 330110
    • └ error_msg
    • String
    • 系统错误信息
    • 错误信息

    请求示例

    • JAVA
    • .NET
    • PHP
    • CURL
    • Python
    • C/C++
    • NodeJS
    TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
    PlaceStorerelatesubGetRequest req = new PlaceStorerelatesubGetRequest();
    req.setStoreId(9904242013L);
    req.setQuery("某某文具店");
    req.setPageNo(1L);
    req.setPageSize(6L);
    PlaceStorerelatesubGetResponse rsp = client.execute(req, sessionKey);
    System.out.println(rsp.getBody());

    响应示例

    • XML示例
    • JSON示例
    <place_storerelatesub_get_response>
        <result>
            <other>9904242013</other>
            <total_num>5</total_num>
            <success>true</success>
            <error_code>444</error_code>
            <result_list>
                <t>
                    <store_id>291366005</store_id>
                    <name>某某店</name>
                    <sub_name>某某</sub_name>
                    <address>文一西路969号</address>
                    <prov_name>浙江省</prov_name>
                    <city_name>杭州市</city_name>
                    <district_name>余杭区</district_name>
                    <prov_code>330000</prov_code>
                    <city_code>330100</city_code>
                    <district_code>330110</district_code>
                </t>
            </result_list>
            <error_msg>系统错误信息</error_msg>
        </result>
    </place_storerelatesub_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

    返回
    顶部