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

cainiao.cntec.supplier.promotion.goodsremove (营销品移除)

营销品移除

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
outer_store_ids String [] 必须 [1,2,3]
  • 最大列表长度:999
  • 外部门店id
    supplier_code String 可选 DRF 供应商编码
    barcode String 必须 1234 商品货号
    outer_promotion_id String 必须 123 外部营销活动

    响应参数

    名称 类型 示例值 描述
    trace_id String 1212 调用链id
    success_tag Boolean false 是否成功
    err_message String 商品不存在 错误码
    model Boolean 134523^4351232 model
    error_msg String "参数错误" 错误信息

    请求示例

    • JAVA
    • .NET
    • PHP
    • CURL
    • Python
    • C/C++
    • NodeJS
    TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
    CainiaoCntecSupplierPromotionGoodsremoveRequest req = new CainiaoCntecSupplierPromotionGoodsremoveRequest();
    req.setOuterStoreIds("1,2,3");
    req.setSupplierCode("DRF");
    req.setBarcode("1234");
    req.setOuterPromotionId("123");
    CainiaoCntecSupplierPromotionGoodsremoveResponse rsp = client.execute(req);
    System.out.println(rsp.getBody());

    响应示例

    • XML示例
    • JSON示例
    <cainiao_cntec_supplier_promotion_goodsremove_response>
        <trace_id>1212</trace_id>
        <success_tag>false</success_tag>
        <err_message>商品不存在</err_message>
        <model>134523^4351232</model>
        <error_msg>&quot;参数错误&quot;</error_msg>
    </cainiao_cntec_supplier_promotion_goodsremove_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

    返回
    顶部