获取线上发货标签(线上物流发货专用接口)
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
international_logistics_id | String | 必须 | RE700150389CN | internationalLogisticsId is international logistics waybill ID (Required) |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | Json | 通过国际订单号获取的body内容用base64转码后生成运单标签的pdf字节流。 |
1 2 3 4 5 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AliexpressLogisticsRedefiningGetprintinfoRequest req = new AliexpressLogisticsRedefiningGetprintinfoRequest(); req.setInternationalLogisticsId( "RE700150389CN" ); AliexpressLogisticsRedefiningGetprintinfoResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody()); |
1 2 3 | < aliexpress_logistics_redefining_getprintinfo_response > < result ></ result > </ aliexpress_logistics_redefining_getprintinfo_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 > |
错误码 | 错误描述 | 解决方案 |
---|