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

aliexpress.postproduct.redefining.findaeproductstatusbyid (查询商品状态)

查询商品状态,商品供三种状态。审核通过:approved;审核中:auditing;审核不通过:refuse

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
product_id Number 可选 32462942083 商品ID,每次只能输入一个

响应参数

名称 类型 示例值 描述
result AeopFindProductStatusResultDto 0 result
  • └ error_code
  • Number
  • 16009999
  • 错误代码
  • └ error_message
  • String
  • 系统异常!
  • 错误信息
  • └ product_id
  • Number
  • 32462942083
  • 商品ID
  • └ status
  • String
  • auditing
  • 商品状态。审核通过:approved;审核中:auditing;审核不通过:refuse
  • └ time_stamp
  • Date
  • 2019-01-02 11:37:36
  • timeStamp

请求示例

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

响应示例

  • XML示例
  • JSON示例
<aliexpress_postproduct_redefining_findaeproductstatusbyid_response>
    <result>
        <error_code>16009999</error_code>
        <error_message>系统异常!</error_message>
        <product_id>32462942083</product_id>
        <status>auditing</status>
        <time_stamp>2019-01-02 11:37:36</time_stamp>
    </result>
</aliexpress_postproduct_redefining_findaeproductstatusbyid_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

返回
顶部