TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); OpenAccountDeleteRequest req = new OpenAccountDeleteRequest(); req.setOpenAccountIds("123,456"); req.setIsvAccountIds("\"123,456\""); OpenAccountDeleteResponse rsp = client.execute(req); System.out.println(rsp.getBody());
响应示例
<open_account_delete_response> <datas> <openaccount_void> <message>SUCCESS</message> <successful>true</successful> <code>1</code> </openaccount_void> </datas> </open_account_delete_response>
异常示例
<error_response> <code>50</code> <msg>Remote service error</msg> <sub_code>isv.invalid-parameter</sub_code> <sub_msg>非法参数</sub_msg> </error_response>