文档中心 > API类目 > 天猫优品

taobao.tmyp.qudao.station.get (淘宝天猫优品渠道门店获取)

淘宝天猫优品渠道门店获取

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
top_station_req TopStationReq 可选 参数
  • └ mobile
  • String
  • 可选
  • 18888888888
  • 手机号码
  • └ station_id
  • Number
  • 可选
  • 123456
  • 门店id

响应参数

名称 类型 示例值 描述
country String 310012 区/县编码
service_end_time String 浙江省 省份
address String 310000 省编码
city String 310000 市编码
station_type StationBizTypeEnum 门店类型
  • └ code
  • String
  • TPS_IK
  • 门店类型code
  • └ station_mode
  • Number
  • 1
  • 门店类型
  • └ desc
  • String
  • 天猫优品理想厨房
  • 门店类型名称
service_begin_time String 2010-01-01 服务开始时间
country_detail String 西湖区 区/县
frozen_time Date 2010-01-01 冻结时间
province_detail String 浙江
province String 500000 省编号
station_status StationStatusEnum 门店状态
  • └ code
  • String
  • SERVICING
  • 门店状态code
  • └ desc
  • String
  • 服务中
  • 门店状态描述
join_from String ZHUAN_JIE_SHAO 加入来源
station_name String 杭州天猫优品旗舰店 门店名称
decorate_status StationDecorateStatusEnum 装修状态
  • └ code
  • String
  • DONE
  • 装修code
  • └ desc
  • String
  • 已装修
  • 装修描述
open_date String 2010-01-01 开业日期
city_detail String 杭州
station_id Number 231231 门店id

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmypQudaoStationGetRequest req = new TmypQudaoStationGetRequest();
TmypQudaoStationGetRequest.TopStationReq obj1 = new TmypQudaoStationGetRequest.TopStationReq();
obj1.setMobile("18888888888");
obj1.setStationId(123456L);
req.setTopStationReq(obj1);
TmypQudaoStationGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<tmyp_qudao_station_get_response>
    <country>310012</country>
    <service_end_time>浙江省</service_end_time>
    <address>310000</address>
    <city>310000</city>
    <station_type>
        <code>TPS_IK</code>
        <station_mode>1</station_mode>
        <desc>天猫优品理想厨房</desc>
    </station_type>
    <service_begin_time>2010-01-01</service_begin_time>
    <country_detail>西湖区</country_detail>
    <frozen_time>2010-01-01</frozen_time>
    <province_detail>浙江</province_detail>
    <province>500000</province>
    <station_status>
        <code>SERVICING</code>
        <desc>服务中</desc>
    </station_status>
    <join_from>ZHUAN_JIE_SHAO</join_from>
    <station_name>杭州天猫优品旗舰店</station_name>
    <decorate_status>
        <code>DONE</code>
        <desc>已装修</desc>
    </decorate_status>
    <open_date>2010-01-01</open_date>
    <city_detail>杭州</city_detail>
    <station_id>231231</station_id>
</tmyp_qudao_station_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

返回
顶部