外部回收商针对自有回收订单的履行
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
param0 | RecycleOrderSynDto | 可选 | 订单同步入参 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | Result | result | |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaIdleRecycleOrderFulfillmentRequest req = new AlibabaIdleRecycleOrderFulfillmentRequest(); AlibabaIdleRecycleOrderFulfillmentRequest.RecycleOrderSynDto obj1 = new AlibabaIdleRecycleOrderFulfillmentRequest.RecycleOrderSynDto(); AlibabaIdleRecycleOrderFulfillmentRequest.Attribute obj2 = new AlibabaIdleRecycleOrderFulfillmentRequest.Attribute(); obj2.setConfirmFee( "200" ); obj2.setReason( "价格协商不一致" ); obj2.setMailNo( "334021234" ); obj2.setRateGrade( "1" ); obj2.setRateContent( "卖家很诚信" ); obj2.setArrearageFee( "70" ); obj2.setAgreementNo( "字段已废弃" ); obj2.setAlipayUserId( "字段已废弃" ); obj2.setQuantity( "2" ); obj2.setAlipayTradeNo( "1192933859293682879" ); obj2.setContactName( "小明" ); obj2.setContactMobile( "18011111111" ); obj2.setRecycleSupplierId( "11223343342" ); obj2.setIsvReceiveTime( "2021-10-16 12:00:00" ); obj2.setRealModel( "123" ); obj2.setSpuMatch( "true" ); obj2.setCloseReasonCode( "CANCEL_BY_SELLER_DEMAND" ); obj2.setRefundLogisticsFee( "1200" ); obj2.setCompensationFee( "100" ); obj2.setAgreeUseAddressChange( "true" ); obj2.setShipTime( "取件时间" ); obj2.setSellerPhone( "1233434" ); obj2.setSellerName( "test" ); obj2.setSellerAddressDetail( "杭州市" ); obj2.setReportUrl( "质检报告url" ); obj2.setDetectionFee( "100" ); obj2.setFreightFee( "100" ); obj2.setQuotationFee( "100" ); obj2.setHandlingFee( "100" ); obj2.setGoldPrice( "100" ); obj2.setAdditionalInfo( "xxx" ); obj2.setGoldTotalPrice( "100" ); obj2.setHandlingTotalFee( "100" ); obj2.setShipTimeEnd( "2021-10-16 12:00:00" ); obj2.setEngineerPicUrl( "2154351354" ); obj1.setAttribute(obj2); obj1.setBizOrderId( "330212345" ); obj1.setOrderStatus( "2" ); obj1.setPartnerKey( "1234" ); req.setParam0(obj1); AlibabaIdleRecycleOrderFulfillmentResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 | < alibaba_idle_recycle_order_fulfillment_response > < result > < success >true</ success > </ result > </ alibaba_idle_recycle_order_fulfillment_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 > |
错误码 | 错误描述 | 解决方案 |
---|---|---|
Remote service error | 服务异常 | 重试 |
false | 订单状态异常、请查看返回信息 | 订单状态异常、请查看返回信息 |