fulfill order for seller
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
service_name | String | 必须 | EMS | Actual logistics service selected by the user (logistics service key: This interface obtains the currently supportable logistics according to all the supportable logistics services listed by api.listLogisticsService. Please visit the forum link http://bbs.seller.aliexpress.com/bbs/read.php?tid=266120&page=1&toread=1#tpc for the detailed list of logistics services supported by the platform.) | |
tracking_website | String | 可选 | www.17track.com | When serviceName=other, fill in the corresponding tracking website. | |
out_ref | String | 必须 | 888877779999 | order ID for delivery by the user | |
send_type | String | 必须 | part | Status including: all shipments (all), part of the delivery (part) | |
description | String | 可选 | memo | Remarks (only in English, and the length is limited to 512 characters) | |
logistics_no | String | 必须 | LA88887777CN | logistics number |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | BaseResult | object | |
|
1 2 3 4 5 6 7 8 9 10 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AliexpressSolutionOrderFulfillRequest req = new AliexpressSolutionOrderFulfillRequest(); req.setServiceName( "EMS" ); req.setTrackingWebsite( "www.17track.com" ); req.setOutRef( "888877779999" ); req.setSendType( "part" ); req.setDescription( "memo" ); req.setLogisticsNo( "LA88887777CN" ); AliexpressSolutionOrderFulfillResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody()); |
1 2 3 4 5 | < aliexpress_solution_order_fulfill_response > < result > < result_success >true</ result_success > </ result > </ aliexpress_solution_order_fulfill_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 > |
错误码 | 错误描述 | 解决方案 |
---|