文档中心 > API类目 > 交易猫API

alibaba.jym.industry.channel.goods.offsales.notify (渠道账号商品下架通知)

渠道账号商品下架通知

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
goods_off_sales_notify_request_dto GoodsOffSalesNotifyRequestDTO 必须 请求
  • └ goods_id
  • String
  • 可选
  • 123123123
  • 商品ID
  • └ source_channel
  • String
  • 可选
  • xiaomi,oppo
  • 来源渠道

响应参数

名称 类型 示例值 描述
result Boolean true 是否成功
sub_code_type String 10001 子状态码
is_success Boolean true 是否成功
sub_extra_err_msg String 系统错误 子错误信息
state_code String 10001 错误码
extra_err_msg String 系统错误 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaJymIndustryChannelGoodsOffsalesNotifyRequest req = new AlibabaJymIndustryChannelGoodsOffsalesNotifyRequest();
AlibabaJymIndustryChannelGoodsOffsalesNotifyRequest.GoodsOffSalesNotifyRequestDTO obj1 = new AlibabaJymIndustryChannelGoodsOffsalesNotifyRequest.GoodsOffSalesNotifyRequestDTO();
obj1.setGoodsId("123123123");
obj1.setSourceChannel("xiaomi,oppo");
req.setGoodsOffSalesNotifyRequestDto(obj1);
AlibabaJymIndustryChannelGoodsOffsalesNotifyResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_jym_industry_channel_goods_offsales_notify_response>
    <result>true</result>
    <sub_code_type>10001</sub_code_type>
    <is_success>true</is_success>
    <sub_extra_err_msg>系统错误</sub_extra_err_msg>
    <state_code>10001</state_code>
    <extra_err_msg>系统错误</extra_err_msg>
</alibaba_jym_industry_channel_goods_offsales_notify_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

返回
顶部