文档中心 > API类目 > 天猫汽车

tmall.aliauto.fulfillment.natives.storebaseinfo.save (新康众安装服务和本地化门店基础信息同步)

新康众安装服务和本地化门店基础信息同步

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
tmallyc_store_base_info_req TmallNativeStoreBaseInfoReq 必须 门店基础信息
  • └ ext
  • String
  • 可选
  • {"key","value"}
  • 扩展信息
  • └ special_feature_list
  • String []
  • 可选
  • ["wifi","有空调"]
  • 门店特色
  • └ native_shop_store_id
  • String
  • 可选
  • 1234567890
  • 本地化门店id
  • └ install_store_id
  • String
  • 可选
  • 123456
  • 服务供应链门店id
  • └ tmallyc_store_id
  • String
  • 必须
  • 1234
  • 天猫养车门店id

响应参数

名称 类型 示例值 描述
data Boolean true 返回结果
result_success Boolean true 是否成功
msg_info String 缺失 错误信息
msg_code String STORE_TMALLYC_STORE_ID_PARAM_EMPTY 错误编码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallAliautoFulfillmentNativesStorebaseinfoSaveRequest req = new TmallAliautoFulfillmentNativesStorebaseinfoSaveRequest();
TmallAliautoFulfillmentNativesStorebaseinfoSaveRequest.TmallNativeStoreBaseInfoReq obj1 = new TmallAliautoFulfillmentNativesStorebaseinfoSaveRequest.TmallNativeStoreBaseInfoReq();
obj1.setExt("{\"key\",\"value\"}");
obj1.setSpecialFeatureList(""wifi","有空调"");
obj1.setNativeShopStoreId("1234567890");
obj1.setInstallStoreId("123456");
obj1.setTmallycStoreId("1234");
req.setTmallycStoreBaseInfoReq(obj1);
TmallAliautoFulfillmentNativesStorebaseinfoSaveResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<tmall_aliauto_fulfillment_natives_storebaseinfo_save_response>
    <data>true</data>
    <result_success>true</result_success>
    <msg_info>缺失</msg_info>
    <msg_code>STORE_TMALLYC_STORE_ID_PARAM_EMPTY</msg_code>
</tmall_aliauto_fulfillment_natives_storebaseinfo_save_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

返回
顶部