文档中心 > API类目 > 本地生活商户基础API

alibaba.alsc.koubei.store.query (三方供给店铺关系查询服务)

三方供给店铺关系查询服务

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param_third_store_relation_query_request ThirdStoreRelationQueryRequest 必须 三方店铺查询请求
  • └ third_store_id
  • String
  • 必须
  • 234334
  • 三方店铺id
  • └ seller_id
  • String
  • 必须
  • 2342343
  • 三方服务商sellerId

响应参数

名称 类型 示例值 描述
result Result 结果
  • └ succcess
  • Boolean
  • true
  • 是否成功
  • └ error_code
  • String
  • 324
  • 错误码
  • model
  • StoreOperationInfoVO
  • 模型数据
  • └ third_store_id
  • String
  • 2343
  • 三方店铺id
  • └ alsc_store_id
  • String
  • 234324
  • 本地生活店铺id
  • └ alsc_store_sign
  • Boolean
  • false
  • 匹配的门店是否是本地生活签约门店
  • └ alsc_store_commercialization
  • Boolean
  • false
  • 匹配的门店是否是本地生活商业化门店
  • └ error_msg
  • String
  • 参数不合法
  • 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlscKoubeiStoreQueryRequest req = new AlibabaAlscKoubeiStoreQueryRequest();
AlibabaAlscKoubeiStoreQueryRequest.ThirdStoreRelationQueryRequest obj1 = new AlibabaAlscKoubeiStoreQueryRequest.ThirdStoreRelationQueryRequest();
obj1.setThirdStoreId("234334");
obj1.setSellerId("2342343");
req.setParamThirdStoreRelationQueryRequest(obj1);
AlibabaAlscKoubeiStoreQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alsc_koubei_store_query_response>
    <result>
        <succcess>true</succcess>
        <error_code>324</error_code>
        <model>
            <third_store_id>2343</third_store_id>
            <alsc_store_id>234324</alsc_store_id>
            <alsc_store_sign>false</alsc_store_sign>
            <alsc_store_commercialization>false</alsc_store_commercialization>
        </model>
        <error_msg>参数不合法</error_msg>
    </result>
</alibaba_alsc_koubei_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

返回
顶部