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

tmall.aliauto.fulfillment.natives.syncitembaseinfo.save (天猫养车同步商品基础信息)

天猫养车同步商品基础信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
tmallyc_item_req TmallNativeItemReq 可选 商品基础信息
  • └ ext
  • String
  • 可选
  • 扩展字段
  • 扩展信息
  • └ item_id
  • Number
  • 必须
  • 912529138885
  • 商品的唯一标识符
  • └ item_type
  • String
  • 必须
  • 50023961
  • 商品分类
  • └ store_group_id
  • String
  • 必须
  • 15115370
  • 门店库唯一标志
  • └ decision_factor_list
  • String []
  • 可选
  • 靠谱
  • 决策因子

响应参数

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

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallAliautoFulfillmentNativesSyncitembaseinfoSaveRequest req = new TmallAliautoFulfillmentNativesSyncitembaseinfoSaveRequest();
TmallAliautoFulfillmentNativesSyncitembaseinfoSaveRequest.TmallNativeItemReq obj1 = new TmallAliautoFulfillmentNativesSyncitembaseinfoSaveRequest.TmallNativeItemReq();
obj1.setExt("扩展字段");
obj1.setItemId(912529138885L);
obj1.setItemType("50023961");
obj1.setStoreGroupId("15115370");
obj1.setDecisionFactorList("靠谱");
req.setTmallycItemReq(obj1);
TmallAliautoFulfillmentNativesSyncitembaseinfoSaveResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<tmall_aliauto_fulfillment_natives_syncitembaseinfo_save_response>
    <data>true</data>
    <result_success>true</result_success>
    <msg_info>商品不存在</msg_info>
    <msg_code>ITEM_NOT_EXIST</msg_code>
</tmall_aliauto_fulfillment_natives_syncitembaseinfo_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

返回
顶部