订单取消
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
channel_order_id | String | 必须 | 1234 | 渠道订单id |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
data | OrderResponse | true | 结果 |
|
|||
msg_info | String | 请求成功 | 错误信息 |
msg_code | String | SUCCESS | 错误码 |
1 2 3 4 5 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaAlihealthMedicalChannelOrderCancelRequest req = new AlibabaAlihealthMedicalChannelOrderCancelRequest(); req.setChannelOrderId( "1234" ); AlibabaAlihealthMedicalChannelOrderCancelResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 | < alibaba_alihealth_medical_channel_order_cancel_response > < data > < channel_order_id >123123</ channel_order_id > < status >TO_BE_PAID</ status > < status_desc >待支付</ status_desc > </ data > < msg_info >请求成功</ msg_info > < msg_code >SUCCESS</ msg_code > </ alibaba_alihealth_medical_channel_order_cancel_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 > |
错误码 | 错误描述 | 解决方案 |
---|