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

alibaba.wdk.ax.store.update (翱翔经营店更新接口)

翱翔经营店更新接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
ax_store_create_request AxStoreCreateRequest 必须 入参
  • └ status
  • Number
  • 必须
  • 11
  • 门店经营状态 1 正常 0 关闭
  • └ latitude
  • String
  • 必须
  • 120.02276139698886
  • 纬度
  • └ address
  • String
  • 必须
  • 阿里巴巴西溪园区
  • 地址
  • └ area
  • String
  • 必须
  • 31000
  • 区编码
  • └ city
  • String
  • 必须
  • 31001
  • 市编码
  • └ prov
  • String
  • 必须
  • 1000
  • 省编码
  • └ code
  • String
  • 必须
  • CS1001
  • 门店编码
  • └ name
  • String
  • 必须
  • 测试门店
  • 门店名称
  • └ longitude
  • String
  • 必须
  • 30.277054901208572
  • 经度

响应参数

名称 类型 示例值 描述
api_result ApiResult 调用接口返回结果
  • └ model
  • Boolean
  • true
  • 返回对象
  • └ err_code
  • String
  • 调用接口返回错误编码
  • └ err_msg
  • String
  • 调用接口返回错误信息
  • └ success
  • Boolean
  • true
  • 调用接口返回成功失败

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaWdkAxStoreUpdateRequest req = new AlibabaWdkAxStoreUpdateRequest();
AlibabaWdkAxStoreUpdateRequest.AxStoreCreateRequest obj1 = new AlibabaWdkAxStoreUpdateRequest.AxStoreCreateRequest();
obj1.setStatus(11L);
obj1.setLatitude("120.02276139698886");
obj1.setAddress("阿里巴巴西溪园区");
obj1.setArea("31000");
obj1.setCity("31001");
obj1.setProv("1000");
obj1.setCode("CS1001");
obj1.setName("测试门店");
obj1.setLongitude("30.277054901208572");
req.setAxStoreCreateRequest(obj1);
AlibabaWdkAxStoreUpdateResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_wdk_ax_store_update_response>
    <api_result>
        <model>true</model>
        <err_code></err_code>
        <err_msg></err_msg>
        <success>true</success>
    </api_result>
</alibaba_wdk_ax_store_update_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

返回
顶部