文档中心 > API类目 > 闲鱼循环商店-前台

alibaba.idle.cycleshop.seller.goodslist (闲鱼循环商店-卖家小程序端-货品列表查询)

闲鱼循环商店-卖家小程序端-货品列表查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param CycleShopSellerGoodsListTopQry 必须 查询参数
  • └ page_no
  • Number
  • 必须
  • 1
  • 页码
  • └ page_size
  • Number
  • 必须
  • 10
  • 页大小
  • └ jm_packid
  • Number
  • 可选
  • 1234123412
  • 闲鱼寄卖包裹Id,查询包裹维度的货品时,需要传入
  • └ shop_userid
  • Number
  • 必须
  • 345312124
  • 门店账号-用户id
  • └ query_status
  • String
  • 必须
  • ALL
  • 查询状态条件【ALL: 全部(默认,删除|初始|待确认 不会返回), SELLING:售卖中,TO-PROCESS:待处理, FINISHED:已完成, TO-CONFIRM: 待卖家确认】

响应参数

名称 类型 示例值 描述
result CommonPageResult 返回结果
  • └ success
  • String
  • true
  • 是否成功
  • └ err_code
  • String
  • PARAM_ERROR
  • 错误码
  • └ err_msg
  • String
  • 参数错误
  • 错误描述
  • └ total
  • Number
  • 87
  • 查询条件命中的货品总数量
  • data
  • CycleShopGoodsSellerListTopVO
  • 货品相关数据
  • goods_list
  • CycleShopGoodsSellerTopVO []
  • 货品列表
  • └ jm_packid
  • Number
  • 1234123412
  • 闲鱼寄卖包裹Id
  • └ goods_id
  • Number
  • 1234325345
  • 闲鱼货品Id
  • └ goods_imgurl_list
  • String []
  • 货品图片数据
  • └ goods_title
  • String
  • iphone苹果手机,5成新
  • 货品标题
  • goods_pv_list
  • CycleShopPropertyTopVO []
  • 货品cpv列表
  • └ cat_id
  • String
  • 3453454
  • 渠道类目Id
  • └ property_id
  • String
  • 6765
  • 属性Id
  • └ property_name
  • String
  • 颜色
  • 属性名称
  • └ value_id
  • String
  • 2334
  • 值Id
  • └ value_name
  • String
  • 红色
  • 值名称
  • └ min_pre_actual
  • Number
  • 1500
  • 预估实收-最低,单位分
  • └ max_pre_actual
  • Number
  • 8000
  • 预估实收-最高,单位分
  • └ can_consign_sale
  • Boolean
  • ture
  • 是否可寄卖
  • └ un_consign_reason
  • String
  • 灯不亮
  • 不可寄卖原因
  • status_info
  • CycleShopGoodsTopStatus
  • 货品状态
  • └ status
  • String
  • 4-5
  • 货品状态【0-0: 录入中(初始状态),1-1: 待确认-可寄卖,1-2: 待确认-不可寄卖,2-1: 卖家确认寄卖后准备中,3-1:寄卖中-出售中,3-2: 寄卖中-已滞销,3-3: 寄卖中-清仓待确认,3-4: 寄卖中-清仓中,3-5: 寄卖中-清仓失败,4-1: 待取回-主动要求取回,4-2: 待取回-超时,4-3:待取回-强制要求取回, 5-1: 已完成-已成交,5-2: 已完成-已取回,5-3: 已完成-已捐赠,100-1: 已删除-商店删除】
  • └ time
  • Number
  • 145352345000
  • 当前状态产生的时间戳,毫秒
  • process_list
  • CycleShopGoodsTopAction []
  • 卖家可操作的状态Action
  • └ event
  • String
  • SELLER_RETRIEVE
  • 卖家可操作事件【SELLER_CONFIRM_CONSIGNMENT:卖家确认寄卖,SELLER_RETRIEVE:卖家要求取回,SELLER_AGREE_CLEARANCE:卖家确认清仓,SELLER_DONATE:卖家确认捐赠】
  • └ desc
  • String
  • 取回
  • 卖家可操作事件描述【SELLER_CONFIRM_CONSIGNMENT:确认,SELLER_RETRIEVE:取回,SELLER_AGREE_CLEARANCE:清仓,SELLER_DONATE:捐赠】
  • └ sale_start_time
  • Number
  • 145352345000
  • 货品开始售卖的时间戳,毫秒
  • └ clear_min_pre_actual
  • Number
  • 2000
  • 清仓预估实收-最低,单位分
  • └ clear_max_pre_actual
  • Number
  • 10000
  • 清仓预估实收-最高,单位分
  • └ sold_price
  • Number
  • 3500
  • 售出的实收款,单位分(未售出时为空)

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaIdleCycleshopSellerGoodslistRequest req = new AlibabaIdleCycleshopSellerGoodslistRequest();
AlibabaIdleCycleshopSellerGoodslistRequest.CycleShopSellerGoodsListTopQry obj1 = new AlibabaIdleCycleshopSellerGoodslistRequest.CycleShopSellerGoodsListTopQry();
obj1.setPageNo(1L);
obj1.setPageSize(10L);
obj1.setJmPackid(1234123412L);
obj1.setShopUserid(345312124L);
obj1.setQueryStatus("ALL");
req.setParam(obj1);
AlibabaIdleCycleshopSellerGoodslistResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_idle_cycleshop_seller_goodslist_response>
    <result>
        <success>true</success>
        <err_code>PARAM_ERROR</err_code>
        <err_msg>参数错误</err_msg>
        <total>87</total>
        <data>
            <goods_list>
                <cycle_shop_goods_seller_top_v_o>
                    <jm_packid>1234123412</jm_packid>
                    <goods_id>1234325345</goods_id>
                    <goods_title>iphone苹果手机,5成新</goods_title>
                    <goods_pv_list>
                        <cycle_shop_property_top_v_o>
                            <cat_id>3453454</cat_id>
                            <property_id>6765</property_id>
                            <property_name>颜色</property_name>
                            <value_id>2334</value_id>
                            <value_name>红色</value_name>
                        </cycle_shop_property_top_v_o>
                    </goods_pv_list>
                    <min_pre_actual>1500</min_pre_actual>
                    <max_pre_actual>8000</max_pre_actual>
                    <can_consign_sale>ture</can_consign_sale>
                    <un_consign_reason>灯不亮</un_consign_reason>
                    <status_info>
                        <status>4-5</status>
                        <time>145352345000</time>
                    </status_info>
                    <process_list>
                        <cycle_shop_goods_top_action>
                            <event>SELLER_RETRIEVE</event>
                            <desc>取回</desc>
                        </cycle_shop_goods_top_action>
                    </process_list>
                    <sale_start_time>145352345000</sale_start_time>
                    <clear_min_pre_actual>2000</clear_min_pre_actual>
                    <clear_max_pre_actual>10000</clear_max_pre_actual>
                    <sold_price>3500</sold_price>
                </cycle_shop_goods_seller_top_v_o>
            </goods_list>
        </data>
    </result>
</alibaba_idle_cycleshop_seller_goodslist_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

返回
顶部