文档中心 > API类目 > 菜鸟末端商业

cainiao.cntec.supplier.promotion.removepromotion (营销活动移除)

RT营销活动移除

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
outer_id String 必须 12 外部营销id
supplier_code String 可选 DRF 供应商编码

响应参数

名称 类型 示例值 描述
result Result {} 接口返回model
  • └ trace_id
  • String
  • 1222
  • 调用链id
  • └ success
  • Boolean
  • false
  • 是否成功
  • └ err_code
  • String
  • 活动已删除或未同步
  • 错误码
  • └ model
  • String
  • 134523^4351232
  • model
  • └ error_msg
  • String
  • "参数错误"
  • 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
CainiaoCntecSupplierPromotionRemovepromotionRequest req = new CainiaoCntecSupplierPromotionRemovepromotionRequest();
req.setOuterId("12");
req.setSupplierCode("DRF");
CainiaoCntecSupplierPromotionRemovepromotionResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<cainiao_cntec_supplier_promotion_removepromotion_response>
    <result>
        <trace_id>1222</trace_id>
        <success>false</success>
        <err_code>活动已删除或未同步</err_code>
        <model>134523^4351232</model>
        <error_msg>&quot;参数错误&quot;</error_msg>
    </result>
</cainiao_cntec_supplier_promotion_removepromotion_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

返回
顶部