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

alibaba.idle.cycleshop.seller.goodspush (闲鱼循环商店-卖家推进货品状态)

闲鱼循环商店-卖家推进货品状态

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param CycleShopGoodsStatusUpdateTopCmd 必须 请求参数
  • └ goods_ids
  • Number []
  • 必须
  • [4563242134323]
  • 货品Id
  • └ event
  • String
  • 必须
  • SELLER_DONATE
  • 推进的状态事件【SELLER_CONFIRM_CONSIGNMENT:卖家确认寄卖,SELLER_RETRIEVE:卖家要求取回,SELLER_AGREE_CLEARANCE:卖家确认清仓,SELLER_DONATE:卖家确认捐赠】

响应参数

名称 类型 示例值 描述
result CommonResult 返回结果
  • └ success
  • Boolean
  • true
  • 是否成功
  • └ err_code
  • String
  • PARAM_ERROR
  • 错误码
  • └ err_msg
  • String
  • 参数错误
  • 错误描述
  • data
  • CycleShopGoodsStatusUpdateTopVO
  • 返回数据
  • └ success_count
  • Number
  • 2
  • 状态推进成功数量
  • └ success_goodids
  • Number []
  • 推送成功的货品id,批量的时候会返回
  • └ fail_goodids
  • Number []
  • 推送失败的货品id,批量的时候会返回

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaIdleCycleshopSellerGoodspushRequest req = new AlibabaIdleCycleshopSellerGoodspushRequest();
AlibabaIdleCycleshopSellerGoodspushRequest.CycleShopGoodsStatusUpdateTopCmd obj1 = new AlibabaIdleCycleshopSellerGoodspushRequest.CycleShopGoodsStatusUpdateTopCmd();
obj1.setGoodsIds(new Long[] { 4563242134323 };
);
obj1.setEvent("SELLER_DONATE");
req.setParam(obj1);
AlibabaIdleCycleshopSellerGoodspushResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_idle_cycleshop_seller_goodspush_response>
    <result>
        <success>true</success>
        <err_code>PARAM_ERROR</err_code>
        <err_msg>参数错误</err_msg>
        <data>
            <success_count>2</success_count>
        </data>
    </result>
</alibaba_idle_cycleshop_seller_goodspush_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

返回
顶部