修改拍卖商品
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
param0 | UpdateRequest | 可选 | 参数 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
data | Number | 1234 | 变更的商品id |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); PaimaiAuctionEditRequest req = new PaimaiAuctionEditRequest(); PaimaiAuctionEditRequest.UpdateRequest obj1 = new PaimaiAuctionEditRequest.UpdateRequest(); obj1.setIncrement(1L); obj1.setCeilPrice(20L); obj1.setStatus(1L); obj1.setDelayInMinutes(5L); obj1.setForegift(1L); obj1.setEndTime(StringUtils.parseDateTime( "2018-07-12 20:00:00" )); obj1.setType(1L); obj1.setItemId(1234L); obj1.setStartPrice(10L); obj1.setFloorPrice(5L); obj1.setStartTime(StringUtils.parseDateTime( "2018-07-12 10:00:00" )); obj1.setQuantity(1L); obj1.setRepeatTimes(1L); req.setParam0(obj1); PaimaiAuctionEditResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody()); |
1 2 3 | < paimai_auction_edit_response > < data >1234</ data > </ paimai_auction_edit_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|