注意:以下文档只适用于TOP接口,请谨慎使用!

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

tmall.aliauto.fulfillment.natives.syncstoregroupinfo.save (天猫养车同步门店库信息)

天猫养车同步门店库信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
tmallyc_store_group_req TmallNativeStoreGroupReq 必须 门店库基本信息
  • └ store_group_id
  • Number
  • 必须
  • 307691731
  • 门店组id
  • └ native_shop_store_id
  • Number
  • 必须
  • 307691730
  • 本地化门店id
  • └ online
  • Number
  • 必须
  • 1
  • 1-在线,0-下线

响应参数

名称 类型 示例值 描述
data Boolean ture 返回类型
result_success Boolean true 调用结果
msg_info String 门店不存在 错误消息
msg_code String STORE_NOT_EXIST 错误码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallAliautoFulfillmentNativesSyncstoregroupinfoSaveRequest req = new TmallAliautoFulfillmentNativesSyncstoregroupinfoSaveRequest();
TmallAliautoFulfillmentNativesSyncstoregroupinfoSaveRequest.TmallNativeStoreGroupReq obj1 = new TmallAliautoFulfillmentNativesSyncstoregroupinfoSaveRequest.TmallNativeStoreGroupReq();
obj1.setStoreGroupId(307691731L);
obj1.setNativeShopStoreId(307691730L);
obj1.setOnline(1L);
req.setTmallycStoreGroupReq(obj1);
TmallAliautoFulfillmentNativesSyncstoregroupinfoSaveResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<tmall_aliauto_fulfillment_natives_syncstoregroupinfo_save_response>
    <data>ture</data>
    <result_success>true</result_success>
    <msg_info>门店不存在</msg_info>
    <msg_code>STORE_NOT_EXIST</msg_code>
</tmall_aliauto_fulfillment_natives_syncstoregroupinfo_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

返回
顶部