该合作企业伙伴(商家)批量操作下单前可以看到的预览信息,通过展示下单时的预览信息及营销内容提升寄件转化率
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| biz_type | String | 可选 | GuoGuoSMB |
|
提供给合作伙伴使用的商家域业务类型 |
| mobile | String | 可选 | 13817778888 | 下单操作人的手机号,用作联系,可以不填写 | |
| package_info_list | GuoGuoPackageInfo [] | 必须 |
|
批量下单时包裹信息列表,最多传30个 | |
|
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| result | TdOpenServiceResult | {} | 返回对象 |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
CainiaoPickupBusinessPreorderviewGetRequest req = new CainiaoPickupBusinessPreorderviewGetRequest();
req.setBizType("GuoGuoSMB");
req.setMobile("13817778888");
List<CainiaoPickupBusinessPreorderviewGetRequest.GuoGuoPackageInfo> list2 = new ArrayList<CainiaoPickupBusinessPreorderviewGetRequest.GuoGuoPackageInfo>();
CainiaoPickupBusinessPreorderviewGetRequest.GuoGuoPackageInfo obj3 = new CainiaoPickupBusinessPreorderviewGetRequest.GuoGuoPackageInfo();
list2.add(obj3);
obj3.setPackageId("taobao_order_123");
obj3.setWeight("1000");
CainiaoPickupBusinessPreorderviewGetRequest.BusinessCustomer obj5 = new CainiaoPickupBusinessPreorderviewGetRequest.BusinessCustomer();
obj5.setName("张三");
obj5.setMobile("13799998888");
obj5.setFullAddressDetail("浙江省杭州市西湖区文一西路西溪首座小邮局");
obj5.setAreaId("330100");
CainiaoPickupBusinessPreorderviewGetRequest.EncryptedCustomerInfo obj6 = new CainiaoPickupBusinessPreorderviewGetRequest.EncryptedCustomerInfo();
obj6.setOaid("adu7d82eb");
obj6.setTaobaoOrderId("123456");
obj5.setEncryptedCustomerInfo(obj6);
list4.setReceiver(obj5);
CainiaoPickupBusinessPreorderviewGetRequest.BusinessCustomer obj8 = new CainiaoPickupBusinessPreorderviewGetRequest.BusinessCustomer();
obj8.setName("张三");
obj8.setMobile("13799998888");
obj8.setFullAddressDetail("浙江省杭州市西湖区文一西路西溪首座小邮局");
obj8.setAreaId("330100");
list7.setSender(obj8);
obj3.setItemId("138_small_b");
req.setPackageInfoList(list2);
CainiaoPickupBusinessPreorderviewGetResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());
<cainiao_pickup_business_preorderview_get_response>
<result>
<data>
<promotion_infos>
<promotioninfos>
<promotion_copy>下单立减</promotion_copy>
<promotion_price>350</promotion_price>
<promotion_type>0</promotion_type>
</promotioninfos>
</promotion_infos>
<coupon_price>1000</coupon_price>
<total_actual_price>2000</total_actual_price>
<total_origin_price>3000</total_origin_price>
<pre_order_info_list>
<guo_guo_pre_order_info>
<estimate_origin_price>1200</estimate_origin_price>
<coupon_price>200</coupon_price>
<estimate_actual_price>1000</estimate_actual_price>
<no_service_reason>当前区域无服务</no_service_reason>
<can_service>false</can_service>
<package_id>67893874673892</package_id>
</guo_guo_pre_order_info>
</pre_order_info_list>
<estimation_weight_desc>1公斤内预估</estimation_weight_desc>
<sender_address_desc>浙江省杭州市西湖区文一西路西溪首座小邮局</sender_address_desc>
<order_preview_desc>
<display_info>当日已寄件(含本次)14单,再下3单可享受每票2元</display_info>
<select_type>本字段暂时无效</select_type>
<href_desc>具体请查看XXX</href_desc>
<link_url>http://xxx.com</link_url>
<high_lights>
<string>[14单</string>
<string>3单</string>
<string>2元]</string>
</high_lights>
<tooltip>提示</tooltip>
<link_type>LINK</link_type>
</order_preview_desc>
<order_ads_desc>
<display_info>今日17点前揽收,当日揽收,17点后下单,次日揽收,晚到必赔</display_info>
<select_type>Default</select_type>
<href_desc>查看裹裹服务协议</href_desc>
<link_url>http://xxx.com</link_url>
<high_lights>
<string>同意《裹裹服务协议》</string>
</high_lights>
<link_type>LINK</link_type>
<tooltip>提示</tooltip>
</order_ads_desc>
<order_benefit_desc_list>
<order_benefit_item>
<key>CompensationForLate</key>
<name>晚揽必赔</name>
<desc>千元内免保价</desc>
<ori_price>10元/票</ori_price>
<current_price>1元/票、赠送</current_price>
<show_condition>AlwaysShow</show_condition>
<use_condition>NoCondition</use_condition>
<select_type>Default</select_type>
<tooltip>17:00前下单快递员当日上门揽收,揽收超时可向在线客服申请赔付</tooltip>
</order_benefit_item>
</order_benefit_desc_list>
<external_order_fees>
<external_order_fee>
<fee_desc>一单加价</fee_desc>
<fee_price>100</fee_price>
<fee_status>Removed</fee_status>
<fee_status_reason>VIP专享:免收权益</fee_status_reason>
<suggest_display_info>
<tooltip>提示</tooltip>
<link_type>资源地址的类型</link_type>
<link_url>http://xxx</link_url>
<href_desc>点击查看xxx</href_desc>
<high_lights>
<string>优惠100元</string>
</high_lights>
<display_info>本订单优惠100元</display_info>
</suggest_display_info>
<suggest_display_info_for_mobile>
<display_info>本订单优惠100元</display_info>
<high_lights>
<string>优惠100元</string>
</high_lights>
<href_desc>点击查看xxx</href_desc>
<link_url>http://xxx</link_url>
<link_type>资源地址的类型</link_type>
<tooltip>提示</tooltip>
</suggest_display_info_for_mobile>
</external_order_fee>
</external_order_fees>
<price_tag>网点专属报价</price_tag>
</data>
<success>true</success>
<retry>false</retry>
<status_message>系统错误</status_message>
<status_code>SYS_ERROIR</status_code>
</result>
</cainiao_pickup_business_preorderview_get_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|