taobao.banamadpc.item.edit.render (编辑商品发布页)

巴拿马供应商通过此接口获取编辑商品发布页

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
item_id Number 必须 123456789 商品id

响应参数

名称 类型 示例值 描述
api_result ApiResult
  • └ er_msg
  • String
  • 系统异常类目不存在或无效
  • 错误信息
  • └ er_code
  • String
  • isp.system-service-error:API_SYSTEM_ERROR
  • 错误码
  • └ result
  • String
  • <itemSchema> <field id="title" name="宝贝标题" type="input"> <value>031414一体机测试 测试,请不要拍</value> </field> <field id="catProp" name="类目属性" type="complex"> <complex-value> <field id="p-5441336" name="按健身效果选择" type="singleCheck"> <value inputValue="健身综合练习">54561997</value> </field> <field id="p-13021751" name="货号" type="input"> <value>12222</value> </field> </complex-value> </field> </field> </field> <field id="price" name="一口价" type="input"> <value>111.00</value> </field> <field id="quantity" name="总数量" type="input"> <value>267</value> </field> <field id="handlingFee" name="手续费" type="input"> <value>1.00</value> </field> <field id="qualityTestingFee" name="质检费" type="input"> <value>2.00</value> </field> <field id="postageFee" name="采购段运费" type="input"> <value>3.00</value> </field> <field id="purchasingFee" name="采购成本" type="input"> <value>4.00</value> </field> <field id="supplierName" name="供应商名称" type="input"> <value>111</value> </field> <field id="supplierInfo" name="供应商信息" type="input"> <value>111</value> </field> <field id="outerId" name="商家编码" type="input"> <value>商家编码</value> </field> <field id="barcode" name="商品条形码" type="input"> <value>602652252044</value> </field> </itemSchema>
  • 商品标题,价格,图片等商品数据的schema xml
  • └ error
  • Boolean
  • false
  • 成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
BanamadpcItemEditRenderRequest req = new BanamadpcItemEditRenderRequest();
req.setItemId(123456789L);
BanamadpcItemEditRenderResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<banamadpc_item_edit_render_response>
    <api_result>
        <er_msg>系统异常类目不存在或无效</er_msg>
        <er_code>isp.system-service-error:API_SYSTEM_ERROR</er_code>
        <result>&lt;itemSchema&gt; &lt;field id=&quot;title&quot; name=&quot;宝贝标题&quot; type=&quot;input&quot;&gt; &lt;value&gt;031414一体机测试 测试,请不要拍&lt;/value&gt; &lt;/field&gt; &lt;field id=&quot;catProp&quot; name=&quot;类目属性&quot; type=&quot;complex&quot;&gt; &lt;complex-value&gt; &lt;field id=&quot;p-5441336&quot; name=&quot;按健身效果选择&quot; type=&quot;singleCheck&quot;&gt; &lt;value inputValue=&quot;健身综合练习&quot;&gt;54561997&lt;/value&gt; &lt;/field&gt; &lt;field id=&quot;p-13021751&quot; name=&quot;货号&quot; type=&quot;input&quot;&gt; &lt;value&gt;12222&lt;/value&gt; &lt;/field&gt; &lt;/complex-value&gt; &lt;/field&gt; &lt;/field&gt; &lt;/field&gt; &lt;field id=&quot;price&quot; name=&quot;一口价&quot; type=&quot;input&quot;&gt; &lt;value&gt;111.00&lt;/value&gt; &lt;/field&gt; &lt;field id=&quot;quantity&quot; name=&quot;总数量&quot; type=&quot;input&quot;&gt; &lt;value&gt;267&lt;/value&gt; &lt;/field&gt; &lt;field id=&quot;handlingFee&quot; name=&quot;手续费&quot; type=&quot;input&quot;&gt; &lt;value&gt;1.00&lt;/value&gt; &lt;/field&gt; &lt;field id=&quot;qualityTestingFee&quot; name=&quot;质检费&quot; type=&quot;input&quot;&gt; &lt;value&gt;2.00&lt;/value&gt; &lt;/field&gt; &lt;field id=&quot;postageFee&quot; name=&quot;采购段运费&quot; type=&quot;input&quot;&gt; &lt;value&gt;3.00&lt;/value&gt; &lt;/field&gt; &lt;field id=&quot;purchasingFee&quot; name=&quot;采购成本&quot; type=&quot;input&quot;&gt; &lt;value&gt;4.00&lt;/value&gt; &lt;/field&gt; &lt;field id=&quot;supplierName&quot; name=&quot;供应商名称&quot; type=&quot;input&quot;&gt; &lt;value&gt;111&lt;/value&gt; &lt;/field&gt; &lt;field id=&quot;supplierInfo&quot; name=&quot;供应商信息&quot; type=&quot;input&quot;&gt; &lt;value&gt;111&lt;/value&gt; &lt;/field&gt; &lt;field id=&quot;outerId&quot; name=&quot;商家编码&quot; type=&quot;input&quot;&gt; &lt;value&gt;商家编码&lt;/value&gt; &lt;/field&gt; &lt;field id=&quot;barcode&quot; name=&quot;商品条形码&quot; type=&quot;input&quot;&gt; &lt;value&gt;602652252044&lt;/value&gt; &lt;/field&gt; &lt;/itemSchema&gt;</result>
        <error>false</error>
    </api_result>
</banamadpc_item_edit_render_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

返回
顶部