alibaba.mos.store.getcounter (通过中台专柜ID或是专柜id查询专柜信息)

银泰中台商品侧调用获取专柜信息接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
counter String 必须 1 中台专柜ID或MOS专柜id

响应参数

名称 类型 示例值 描述
result SingleResult 返回信息
  • └ trace_id
  • String
  • demo
  • 异常id
  • data
  • ShopApiDto
  • 返回结果
  • └ dept_name
  • String
  • AH01-001
  • 部门名称
  • └ storeno
  • String
  • AH01
  • 门店号
  • └ store_name
  • String
  • 武林门店
  • 门店名称
  • └ id
  • String
  • 2538311
  • shopId
  • └ counter_code
  • String
  • 70331
  • 专柜号
  • └ dept_code
  • String
  • 001
  • 部门编号
  • └ counter_id
  • Number
  • 10000001
  • mos专柜id
  • └ status
  • String
  • Y
  • 状态
  • └ counter_name
  • String
  • 普拉达(PRADA)
  • 专柜名称
  • └ success_data
  • Boolean
  • true
  • 调用成功
  • └ err_code
  • String
  • 500
  • 错误码
  • └ err_message
  • String
  • 调用超时
  • 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaMosStoreGetcounterRequest req = new AlibabaMosStoreGetcounterRequest();
req.setCounter("1");
AlibabaMosStoreGetcounterResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_mos_store_getcounter_response>
    <result>
        <trace_id>demo</trace_id>
        <data>
            <dept_name>AH01-001</dept_name>
            <storeno>AH01</storeno>
            <store_name>武林门店</store_name>
            <id>2538311</id>
            <counter_code>70331</counter_code>
            <dept_code>001</dept_code>
            <counter_id>10000001</counter_id>
            <status>Y</status>
            <counter_name>普拉达(PRADA)</counter_name>
        </data>
        <success_data>true</success_data>
        <err_code>500</err_code>
        <err_message>调用超时</err_message>
    </result>
</alibaba_mos_store_getcounter_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

返回
顶部