基于飞猪订单ID查询视频号订单详情
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| wechat_shop_order_detail_request | WechatShopOrderDetailRequest | 必须 | 数据包装类 | ||
|
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| is_success | Boolean | true | success |
| result_code | String | SUCCESS | resultCode |
| model | Model | model | |
|
|||
| result_message | String | 查询成功 | 查询成功 |
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaFliggyWxOrderDetailsRequest req = new AlibabaFliggyWxOrderDetailsRequest();
AlibabaFliggyWxOrderDetailsRequest.WechatShopOrderDetailRequest obj1 = new AlibabaFliggyWxOrderDetailsRequest.WechatShopOrderDetailRequest();
obj1.setOrderId("3731143156156xxxxx");
req.setWechatShopOrderDetailRequest(obj1);
AlibabaFliggyWxOrderDetailsResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
<alibaba_fliggy_wx_order_details_response>
<is_success>true</is_success>
<result_code>SUCCESS</result_code>
<model>
<order>
<unionid>UNIONID_USER_001</unionid>
<order_id>1234567890</order_id>
<openid>OPENID_USER_001</openid>
<aftersale_detail>
<aftersale_order_list>
<aftersale_order_list>
<aftersale_order_id>3001</aftersale_order_id>
<status>1</status>
</aftersale_order_list>
</aftersale_order_list>
<on_aftersale_order_cnt>1</on_aftersale_order_cnt>
</aftersale_detail>
<is_present>false</is_present>
<present_order_id_str>0</present_order_id_str>
<update_time>1696233600</update_time>
<present_order_id>0</present_order_id>
<present_giver_openid>presentGiverOpenid</present_giver_openid>
<create_time>1696147200</create_time>
<present_note>presentNote</present_note>
<present_giver_unionid>presentGiverUnionid</present_giver_unionid>
<order_detail>
<delivery_info>
<delivery_product_info>
<delivery_product_info>
<delivery_id>SF</delivery_id>
<delivery_time>1696233600</delivery_time>
<product_infos>
<product_infos>
<product_id>10001</product_id>
<product_cnt>2</product_cnt>
<sku_id>20001</sku_id>
</product_infos>
</product_infos>
<waybill_id>SF1234567890</waybill_id>
<delivery_name>顺丰速运</delivery_name>
<deliver_type>1</deliver_type>
</delivery_product_info>
</delivery_product_info>
<ewaybill_order_code>EWAYBILL_CODE_001</ewaybill_order_code>
<address_info>
<national_code>86</national_code>
<postal_code>100000</postal_code>
<house_number>101</house_number>
<detail_info>某某街道某某小区1号楼101室</detail_info>
<user_name>张三</user_name>
<use_tel_number>1</use_tel_number>
<tel_number>13800138000</tel_number>
<city_name>北京市</city_name>
<hash_code>HASH_ADDRESS_001</hash_code>
<tel_number_ext_info>
<get_virtual_tel_cnt>1</get_virtual_tel_cnt>
<virtual_tel_number>17000000000</virtual_tel_number>
<virtual_tel_expire_time>1696406400</virtual_tel_expire_time>
<real_tel_number>138****8000</real_tel_number>
</tel_number_ext_info>
<virtual_order_tel_number>17000000000</virtual_order_tel_number>
<province_name>北京市</province_name>
<county_name>朝阳区</county_name>
</address_info>
<recharge_info>
<wx_openid>OPENID_123456</wx_openid>
<account_no>13800138000</account_no>
<account_type>phone_number</account_type>
</recharge_info>
<deliver_method>0</deliver_method>
<address_apply_time>1696150000</address_apply_time>
<address_under_review>
<national_code>86</national_code>
<postal_code>100001</postal_code>
<house_number>202</house_number>
<detail_info>某某路某某大厦2号楼202室</detail_info>
<user_name>李四</user_name>
<use_tel_number>1</use_tel_number>
<tel_number>13900139000</tel_number>
<city_name>北京市</city_name>
<hash_code>HASH_ADDRESS_002</hash_code>
<tel_number_ext_info>
<get_virtual_tel_cnt>1</get_virtual_tel_cnt>
<virtual_tel_number>17100000000</virtual_tel_number>
<virtual_tel_expire_time>1696406400</virtual_tel_expire_time>
<real_tel_number>139****9000</real_tel_number>
</tel_number_ext_info>
<virtual_order_tel_number>17100000000</virtual_order_tel_number>
<province_name>北京市</province_name>
<county_name>海淀区</county_name>
</address_under_review>
<dropship_flag>3</dropship_flag>
<ship_done_time>1696320000</ship_done_time>
<quality_inspect_type>1</quality_inspect_type>
<quality_inspect_info>
<inspect_status>1</inspect_status>
</quality_inspect_info>
</delivery_info>
<agent_info>
<agent_finder_id>AGENT_FINDER_001</agent_finder_id>
<agent_finder_nickname>授权视频号昵称</agent_finder_nickname>
</agent_info>
<coupon_info>
<user_coupon_id>USER_COUPON_001</user_coupon_id>
</coupon_info>
<greeting_card_info>
<giver_name>送礼人姓名</giver_name>
<receiver_name>收礼人姓名</receiver_name>
<greeting_message>祝你生日快乐!</greeting_message>
</greeting_card_info>
<sharer_info>
<sharer_openid>SHARER_OPENID_001</sharer_openid>
<share_scene>5</share_scene>
<handling_progress>1</handling_progress>
<sharer_type>0</sharer_type>
<sharer_unionid>SHARER_UNIONID_001</sharer_unionid>
</sharer_info>
<custom_info>
<custom_word>定制文字内容</custom_word>
<custom_type>1</custom_type>
<custom_preview_img_url>https://example.com/preview.jpg</custom_preview_img_url>
<custom_img_url>https://example.com/custom.jpg</custom_img_url>
</custom_info>
<commission_infos>
<commission_infos>
<amount>1000</amount>
<talent_id>TALENT_001</talent_id>
<nickname>达人昵称</nickname>
<openfinderid>OPEN_FINDER_001</openfinderid>
<agency_id>AGENCY_001</agency_id>
<type>0</type>
<finder_id>FINDER_001</finder_id>
<sku_id>20001</sku_id>
<status>2</status>
</commission_infos>
</commission_infos>
<sku_sharer_infos>
<sku_sharer_infos>
<sharer_openid>SKU_SHARER_OPENID_001</sharer_openid>
<share_scene>5</share_scene>
<sharer_type>0</sharer_type>
<sharer_unionid>SKU_SHARER_UNIONID_001</sharer_unionid>
<sku_id>20001</sku_id>
<from_wecom>false</from_wecom>
</sku_sharer_infos>
</sku_sharer_infos>
<ext_info>
<merchant_notes>已备注</merchant_notes>
<vip_order_session_id>VIP_SESSION_001</vip_order_session_id>
<customer_notes>请尽快发货</customer_notes>
<confirm_receipt_time>1696406400</confirm_receipt_time>
<order_scene>2</order_scene>
<finder_id>FINDER_001</finder_id>
<live_id>LIVE_001</live_id>
<commission_handling_progress>1</commission_handling_progress>
</ext_info>
<settle_info>
<predict_wecoin_commission>100</predict_wecoin_commission>
<wecoin_commission>100</wecoin_commission>
<commission_fee>500</commission_fee>
<settle_time>1696492800</settle_time>
<predict_commission_fee>500</predict_commission_fee>
</settle_info>
<price_info>
<is_discounted>true</is_discounted>
<is_change_freight>false</is_change_freight>
<change_down_price>0</change_down_price>
<bulkbuy_discounted_price>150</bulkbuy_discounted_price>
<vip_discounted_price>100</vip_discounted_price>
<original_order_price>19800</original_order_price>
<merchant_receieve_price>18000</merchant_receieve_price>
<estimate_product_price>19800</estimate_product_price>
<deduction_price>0</deduction_price>
<finder_discounted_price>200</finder_discounted_price>
<national_subsidy_discounted_price>100</national_subsidy_discounted_price>
<discounted_price>500</discounted_price>
<use_deduction>false</use_deduction>
<merchant_discounted_price>500</merchant_discounted_price>
<order_price>18500</order_price>
<change_freight>0</change_freight>
<cash_coupon_discounted_price>350</cash_coupon_discounted_price>
<product_price>19800</product_price>
</price_info>
<source_infos>
<source_infos>
<account_id>ACCOUNT_001</account_id>
<sale_channel>0</sale_channel>
<account_type>1</account_type>
<content_id>CONTENT_001</content_id>
<account_nickname>带货账号昵称</account_nickname>
<promoter_head_supplier_id>PROMOTER_001</promoter_head_supplier_id>
<original_id>ORIGINAL_001</original_id>
<content_type>1</content_type>
<sku_id>20001</sku_id>
</source_infos>
</source_infos>
<product_infos>
<product_infos>
<is_discounted>true</is_discounted>
<on_aftersale_sku_cnt>0</on_aftersale_sku_cnt>
<market_price>12900</market_price>
<free_gift_info>
<main_product_list>
<main_product_list>
<product_id>10001</product_id>
<gift_cnt>1</gift_cnt>
<task_id>5001</task_id>
<sku_id>20001</sku_id>
</main_product_list>
</main_product_list>
</free_gift_info>
<is_free_gift>0</is_free_gift>
<title>示例商品标题</title>
<deduction_price>0</deduction_price>
<finder_discounted_price>200</finder_discounted_price>
<delivery_deadline>1696406400</delivery_deadline>
<out_warehouse_id>WAREHOUSE_001</out_warehouse_id>
<national_subsidy_discounted_price>100</national_subsidy_discounted_price>
<sku_attrs>
<sku_attrs>
<attr_key>颜色</attr_key>
<attr_value>红色</attr_value>
</sku_attrs>
</sku_attrs>
<dropship_info>
<ds_order_id>7001</ds_order_id>
</dropship_info>
<merchant_discounted_price>500</merchant_discounted_price>
<sku_cnt>2</sku_cnt>
<extra_service>
<seven_day_return>1</seven_day_return>
<freight_insurance>1</freight_insurance>
</extra_service>
<sku_id>20001</sku_id>
<change_sku_info>
<new_sku_id>20002</new_sku_id>
<ddl_time_stamp>1696320000</ddl_time_stamp>
<preshipment_change_sku_state>4</preshipment_change_sku_state>
<old_sku_id>20001</old_sku_id>
</change_sku_info>
<product_id>10001</product_id>
<sale_price>9900</sale_price>
<order_product_coupon_info_list>
<order_product_coupon_info_list>
<discounted_price>500</discounted_price>
<coupon_type>1</coupon_type>
<user_coupon_id>COUPON_USER_001</user_coupon_id>
<coupon_id>COUPON_001</coupon_id>
</order_product_coupon_info_list>
</order_product_coupon_info_list>
<bulkbuy_discounted_price>150</bulkbuy_discounted_price>
<vip_discounted_price>100</vip_discounted_price>
<thumb_img>https://example.com/thumb.jpg</thumb_img>
<out_product_id>OUT_PRODUCT_001</out_product_id>
<product_unique_id>UNIQUE_PRODUCT_001</product_unique_id>
<is_change_price>false</is_change_price>
<finish_aftersale_sku_cnt>0</finish_aftersale_sku_cnt>
<use_deduction>false</use_deduction>
<change_price>0</change_price>
<out_sku_id>OUT_SKU_001</out_sku_id>
<estimate_price>9900</estimate_price>
<sku_deliver_info>
<stock_type>0</stock_type>
<full_payment_presale_delivery_type>0</full_payment_presale_delivery_type>
<predict_delivery_time>1696320000</predict_delivery_time>
</sku_deliver_info>
<sku_code>SKU001</sku_code>
<real_price>9900</real_price>
</product_infos>
</product_infos>
<refund_info>
<refund_freight>500</refund_freight>
</refund_info>
<pay_info>
<pay_time>1696147300</pay_time>
<payment_method>1</payment_method>
<transaction_id>TXN_123456789</transaction_id>
</pay_info>
</order_detail>
<present_send_type>0</present_send_type>
<order_present_info>
<present_giver_openid>PRESENT_GIVER_OPENID_001</present_giver_openid>
<present_note>礼物留言</present_note>
<is_b2c_free_present>false</is_b2c_free_present>
<present_giver_unionid>PRESENT_GIVER_UNIONID_001</present_giver_unionid>
<present_order_id_str>4001</present_order_id_str>
<present_send_type>1</present_send_type>
</order_present_info>
<status>100</status>
</order>
</model>
<result_message>查询成功</result_message>
</alibaba_fliggy_wx_order_details_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|