文档中心 > API类目 > 全球速卖通-商品管理

aliexpress.postproduct.redefining.findaeproductmodulebyid (查询单个信息模板详情)

"根据模块id查询模块,模块在detail详情中显示格式: 标签属性id=""1004""对应返回值中的id,标签属性type=""relation""对应返回值中的type, 标签属性title=""Specification ""对应返回值中的name."

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
module_id Number 可选 0 moduleId 对应商品详情中的kse标签中的id属性;如: id="1004"

响应参数

名称 类型 示例值 描述
result AeopFindModuleResultDto 0 result
  • └ ali_member_id
  • Number
  • 1006680305
  • 这个模块所有者的主账户ID
  • └ display_content
  • String
  • display content
  • displayContent
  • └ gmt_create
  • Date
  • 20150714014419608-0700
  • 模块的创建时间
  • └ gmt_modified
  • Date
  • 20150714014419608-0700
  • 模块的最近一次修改时间
  • └ id
  • Number
  • 123
  • 模块的id
  • └ module_contents
  • String
  • hello world
  • 模块的内容
  • └ name
  • String
  • hello
  • 模块的名称
  • └ status
  • String
  • approved
  • 模块的状态
  • └ success
  • Boolean
  • true
  • 接口的调用结果。true/false分别表示成功和失败。
  • └ type
  • String
  • custom
  • 模块的类型
  • └ error_code
  • Number
  • 16009999
  • 错误代码
  • └ error_message
  • String
  • 系统异常!
  • 错误信息

请求示例

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

响应示例

  • XML示例
  • JSON示例
<aliexpress_postproduct_redefining_findaeproductmodulebyid_response>
    <result>
        <ali_member_id>1006680305</ali_member_id>
        <display_content>display content</display_content>
        <gmt_create>20150714014419608-0700</gmt_create>
        <gmt_modified>20150714014419608-0700</gmt_modified>
        <id>123</id>
        <module_contents>hello world</module_contents>
        <name>hello</name>
        <status>approved</status>
        <success>true</success>
        <type>custom</type>
        <error_code>16009999</error_code>
        <error_message>系统异常!</error_message>
    </result>
</aliexpress_postproduct_redefining_findaeproductmodulebyid_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

返回
顶部