文档中心 > API类目 > 天眼工作室API

alibaba.security.deepvision.retrospec.goods.getlist (查询商品列表)

查询商品列表

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
tenant_code String 可选 8004 Hema
field_id String 可选 12345 场Id

响应参数

名称 类型 示例值 描述
results Datas [] 数据对象
  • └ item_id
  • String
  • itemId
  • └ sku_code
  • String
  • skuCode
  • └ name
  • String
  • 商品名称
  • └ cabinet_id
  • String
  • 货架名称
  • └ pic_url
  • String
  • 图片地址
  • └ bar_codes
  • String
  • 条形码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaSecurityDeepvisionRetrospecGoodsGetlistRequest req = new AlibabaSecurityDeepvisionRetrospecGoodsGetlistRequest();
req.setTenantCode("8004");
req.setFieldId("12345");
AlibabaSecurityDeepvisionRetrospecGoodsGetlistResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_security_deepvision_retrospec_goods_getlist_response>
    <results>
        <datas>
            <item_id></item_id>
            <sku_code></sku_code>
            <name></name>
            <cabinet_id></cabinet_id>
            <pic_url></pic_url>
            <bar_codes></bar_codes>
        </datas>
    </results>
</alibaba_security_deepvision_retrospec_goods_getlist_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

返回
顶部