aliexpress.data.redefining.queryproductbusinessinfobyid (查询商品交易表现)

查询商品交易表现

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param_string String 可选 12345 商品id

响应参数

名称 类型 示例值 描述
result String 有返回结果:{\"addCartCount\":1865,\"exposedCount\":445254,\"favoritedCount\":129,\"gmvPerBuyer\":0,\"gmvPerBuyer30d\":2.153274087932647,\"gmvPerOrder\":0,\"gmvPerOrder30d\":2.1274029574861366,\"outputOrder\":2164,\"refundAmt\":35.49,\"success\":true,\"viewedCount\":21121} 没有结果时的返回: {\"itemList\":[],\"success\":true,\"totalItem\":0} 单个商品浏览量。 {"addCartCount":加入购物车,"exposedCount":曝光量,"favoritedCount":加心愿单量,"gmvPerBuyer":客单价,"gmvPerBuyer30d":最近30天客单价,"gmvPerOrder":订单均额,"gmvPerOrder30d":最近30天订单均额,"outputOrder":成交订单数,"refundAmt":退款金额,"success":本次调用是否成功,"viewedCount":30天浏览量} 没有结果时的返回: {\"itemList\":商品列表为空,\"success\":本次调用是否成功,\"totalItem\":商品数为0}

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AliexpressDataRedefiningQueryproductbusinessinfobyidRequest req = new AliexpressDataRedefiningQueryproductbusinessinfobyidRequest();
req.setParamString("12345");
AliexpressDataRedefiningQueryproductbusinessinfobyidResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<aliexpress_data_redefining_queryproductbusinessinfobyid_response>
    <result>有返回结果:{\&quot;addCartCount\&quot;:1865,\&quot;exposedCount\&quot;:445254,\&quot;favoritedCount\&quot;:129,\&quot;gmvPerBuyer\&quot;:0,\&quot;gmvPerBuyer30d\&quot;:2.153274087932647,\&quot;gmvPerOrder\&quot;:0,\&quot;gmvPerOrder30d\&quot;:2.1274029574861366,\&quot;outputOrder\&quot;:2164,\&quot;refundAmt\&quot;:35.49,\&quot;success\&quot;:true,\&quot;viewedCount\&quot;:21121}  没有结果时的返回: {\&quot;itemList\&quot;:[],\&quot;success\&quot;:true,\&quot;totalItem\&quot;:0}</result>
</aliexpress_data_redefining_queryproductbusinessinfobyid_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

返回
顶部