taobao.item.barcode.gs.modify (编码中心变化条码同步接口)

编码中心变化条码同步接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param0 String 必须 6974938800206,6972247053559 条码ID列表
app_info_do AppInfoDO 可选 应用相关信息参数
  • └ app_name
  • String
  • 必须
  • demo
  • 应用名称
  • └ operation
  • String
  • 可选
  • 操作类型
  • 非必填
  • └ operator_id
  • Number
  • 可选
  • 1
  • 非必填
  • └ operator
  • String
  • 可选
  • 操作人名称
  • 非必填

响应参数

名称 类型 示例值 描述
error_msg_set String 超过100限制 当接口返回错误时,记录详细的错误信息
error_code_set String 超过100限制 当接口返回错误时,记录详细的错误码
is_success Boolean true 返回值为false表示请求失败错误,true 表示请求正常

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
ItemBarcodeGsModifyRequest req = new ItemBarcodeGsModifyRequest();
req.setParam0("6974938800206,6972247053559");
ItemBarcodeGsModifyRequest.AppInfoDO obj1 = new ItemBarcodeGsModifyRequest.AppInfoDO();
obj1.setAppName("demo");
obj1.setOperation("操作类型");
obj1.setOperatorId(1L);
obj1.setOperator("操作人名称");
req.setAppInfoDo(obj1);
ItemBarcodeGsModifyResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<item_barcode_gs_modify_response>
    <error_msg_set>超过100限制</error_msg_set>
    <error_code_set>超过100限制</error_code_set>
    <is_success>true</is_success>
</item_barcode_gs_modify_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

返回
顶部