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

cainiao.cntec.supplier.item.removeitemprice (删除商品价格信息)

删除货品池子商品价格信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
sub_item_price_sync_remove SubItemPriceSyncRemoveDto 必须 入参变量
  • └ supplier_code
  • String
  • 可选
  • DRF
  • 供应商编码
  • └ out_item_id
  • String
  • 必须
  • 123123
  • 外部商品id
  • └ out_store_id
  • String
  • 必须
  • 23123
  • 外部门店id
  • └ supplier_price_type
  • Number
  • 必须
  • 0
  • 价格类型. 基础价格;1.区间价格
  • └ price_indication
  • String
  • 可选
  • 2313123
  • 档期编码
  • └ feature
  • String
  • 可选
  • {"product_item":"商品名称","product_quantity":"商品数量"}
  • 扩展字段

响应参数

名称 类型 示例值 描述
result Result 接口返回model
  • └ success
  • String
  • true
  • 是否成功
  • └ err_code
  • String
  • 001
  • 错误码
  • └ model
  • String
  • true
  • model
  • └ error_msg
  • String
  • "参数错误"
  • 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
CainiaoCntecSupplierItemRemoveitempriceRequest req = new CainiaoCntecSupplierItemRemoveitempriceRequest();
CainiaoCntecSupplierItemRemoveitempriceRequest.SubItemPriceSyncRemoveDto obj1 = new CainiaoCntecSupplierItemRemoveitempriceRequest.SubItemPriceSyncRemoveDto();
obj1.setSupplierCode("DRF");
obj1.setOutItemId("123123");
obj1.setOutStoreId("23123");
obj1.setSupplierPriceType(0L);
obj1.setPriceIndication("2313123");
obj1.setFeature("{\"product_item\":\"商品名称\",\"product_quantity\":\"商品数量\"}");
req.setSubItemPriceSyncRemove(obj1);
CainiaoCntecSupplierItemRemoveitempriceResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<cainiao_cntec_supplier_item_removeitemprice_response>
    <result>
        <success>true</success>
        <err_code>001</err_code>
        <model>true</model>
        <error_msg>&quot;参数错误&quot;</error_msg>
    </result>
</cainiao_cntec_supplier_item_removeitemprice_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

返回
顶部