文档中心 > API类目 > 五道口API

alibaba.wdk.ax.store.query (翱象经营店查询接口)

翱象经营店查询接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
query_request AxStoreQueryRequest 必须 查询入参
  • └ store_code
  • String
  • 必须
  • CS1001
  • 经营店code

响应参数

名称 类型 示例值 描述
api_result ApiResult 查询接口返回结果
  • └ success
  • Boolean
  • true
  • 调用接口返回成功失败
  • └ err_msg
  • String
  • null
  • 调用接口返回错误信息
  • └ err_code
  • String
  • null
  • 调用接口返回错误编码
  • model
  • AxStoreQueryResponse
  • 查询接口返回对象
  • └ principal_name
  • String
  • 张三
  • 负责人姓名
  • └ principal
  • String
  • -99
  • 负责人
  • └ status
  • Number
  • 1
  • 门店经营状态 1营业 0闭店
  • └ latitude
  • String
  • 120.1231
  • 纬度
  • └ longitude
  • String
  • 88.1231
  • 经度
  • └ address
  • String
  • 阿里巴巴西溪园区
  • 地址
  • └ area
  • String
  • 12311
  • 区编码
  • └ city
  • String
  • 31000
  • 市编码
  • └ prov
  • String
  • 10000
  • 省编码
  • └ name
  • String
  • 测试门店
  • 门店名字
  • └ code
  • String
  • CS1001
  • 门店编码
  • └ merchant_code
  • String
  • CS
  • 商家code

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaWdkAxStoreQueryRequest req = new AlibabaWdkAxStoreQueryRequest();
AlibabaWdkAxStoreQueryRequest.AxStoreQueryRequest obj1 = new AlibabaWdkAxStoreQueryRequest.AxStoreQueryRequest();
obj1.setStoreCode("CS1001");
req.setQueryRequest(obj1);
AlibabaWdkAxStoreQueryResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_wdk_ax_store_query_response>
    <api_result>
        <success>true</success>
        <err_msg>null</err_msg>
        <err_code>null</err_code>
        <model>
            <principal_name>张三</principal_name>
            <principal>-99</principal>
            <status>1</status>
            <latitude>120.1231</latitude>
            <longitude>88.1231</longitude>
            <address>阿里巴巴西溪园区</address>
            <area>12311</area>
            <city>31000</city>
            <prov>10000</prov>
            <name>测试门店</name>
            <code>CS1001</code>
            <merchant_code>CS</merchant_code>
        </model>
    </api_result>
</alibaba_wdk_ax_store_query_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

返回
顶部