优品AI查询订单信息
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| openid | String | 必须 | 11 | 用户id | |
| trade_order_center_query_param | TradeOrderCenterQueryParam | 可选 | 查询参数 | ||
|
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| suc | Boolean | true | success |
| model | AllTradeOrderDTO | model | |
|
|||
| msg_info | String | xxx | msgInfo |
| msg_code | String | xx | msgCode |
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallTmypAiQueryorderdetailRequest req = new TmallTmypAiQueryorderdetailRequest();
req.setOpenid("11");
TmallTmypAiQueryorderdetailRequest.TradeOrderCenterQueryParam obj1 = new TmallTmypAiQueryorderdetailRequest.TradeOrderCenterQueryParam();
obj1.setSubTradeOrderIdList(new Long[] { 4501731024002019129,4501731024002019128 };
);
obj1.setTradeOrderQueryScene("fullOrder");
obj1.setMainTradeOrderId(4501731024002019129L);
req.setTradeOrderCenterQueryParam(obj1);
TmallTmypAiQueryorderdetailResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
<tmall_tmyp_ai_queryorderdetail_response>
<suc>true</suc>
<model>
<sell_out_trade_order_dto>
<tp_trade_order_dto>
<state>WAIT_BUYER_CONFIRM_GOODS</state>
<last_modify_date>1767060607000</last_modify_date>
<delivery_date_change>false</delivery_date_change>
<reduce_inv>2</reduce_inv>
<taobao_order_id>4977240589155755000</taobao_order_id>
<mail_n_o>SF3268560601392</mail_n_o>
<ct_guide_info>xxx</ct_guide_info>
<parent_taobao_order_id>4977240589155755000</parent_taobao_order_id>
<refund_status>9</refund_status>
<logistic_status>2</logistic_status>
<zfbt_ysf>1</zfbt_ysf>
<shop_ali_w_w>天猫优品官方旗舰店</shop_ali_w_w>
<create_date>1767023850000</create_date>
<post_fee>0</post_fee>
<os_date>2025-11-11</os_date>
<division_code>321203</division_code>
<cuntao>2</cuntao>
<insurance_fee>0</insurance_fee>
<os_range>09:00</os_range>
<discount_fee>0</discount_fee>
<pay_time>1767023857000</pay_time>
<part_confirm_fee>0</part_confirm_fee>
<ct_tm_yp_order>1</ct_tm_yp_order>
<consign_time>1767060075000</consign_time>
<details>
<details>
<outer_id_p>8009971681487</outer_id_p>
<root_cat_name>111</root_cat_name>
<inv_store_type>6</inv_store_type>
<ext_service_biz_id>111</ext_service_biz_id>
<item_name>【优品自营】任天堂Nintendo switch 2游戏主机新款二代单机版NS2港版体感多语言家用游戏机便携掌机</item_name>
<item_actual_price>367900</item_actual_price>
<store_coupon_type>1</store_coupon_type>
<brand_name>xx</brand_name>
<promotion_source>xx</promotion_source>
<yp_ori_sp_t>xx</yp_ori_sp_t>
<est_con_time>2_2</est_con_time>
<sc_item_id>11</sc_item_id>
<real_root_cat_name>xx</real_root_cat_name>
<service_order_tag>xx</service_order_tag>
<real_root_cat>20</real_root_cat>
<taobao_order_id>4977240589155755000</taobao_order_id>
<item_id>975036147762</item_id>
<brand_id>1548011117</brand_id>
<ct_guide_info>xx</ct_guide_info>
<supplier_id>11</supplier_id>
<ctg_sto_id>xx</ctg_sto_id>
<parent_taobao_order_id>4977240589155755000</parent_taobao_order_id>
<ct_re_id>xx</ct_re_id>
<after_refund_status>0</after_refund_status>
<refund_status>9</refund_status>
<order_status>WAIT_BUYER_CONFIRM_GOODS</order_status>
<logistic_status>2</logistic_status>
<root_cat>50017906</root_cat>
<item_s_k_u_desc>版本类型:港版;颜色分类:Switch 2游戏机【单机 标准版】</item_s_k_u_desc>
<yp_arr_tm>11</yp_arr_tm>
<amount>367900</amount>
<quantity>1</quantity>
<post_fee>0</post_fee>
<poid>106737450998139-106737450998139</poid>
<item_sku_id>5929018560310</item_sku_id>
<ct_guider>xx</ct_guider>
<item_price>499900</item_price>
<pay_status>2</pay_status>
<item_image_url>i4/3402329517/O1CN01fSE8mQ2KAqRmjxck1_!!3402329517.png</item_image_url>
<fsst>1_2026-01-01</fsst>
</details>
</details>
<estime>1</estime>
<ct_org_sta_id>0</ct_org_sta_id>
<zfbt_zt>FIN_TMYPTK7</zfbt_zt>
<est_con_time>2_2</est_con_time>
<ttid>10001401@taobao_android_10.56.3</ttid>
<total_amount>367900</total_amount>
<store_code>SZXZ0001</store_code>
<biz_type>200</biz_type>
<zfbt22>2</zfbt22>
<shop_name>天猫优品官方旗舰店</shop_name>
<second_post_fee>0</second_post_fee>
<ending_time>205-11-11</ending_time>
<transport_type>EXPRESS</transport_type>
<fsst>2_2</fsst>
<logistic_status_desc>CONSIGNED</logistic_status_desc>
<out_logistics_id>788290998779</out_logistics_id>
<mail_company>顺丰速运</mail_company>
<mail_company_code>SF</mail_company_code>
<total_fee>367900</total_fee>
<zfbt09>14716</zfbt09>
<pay_status>2</pay_status>
<zfbt06>1</zfbt06>
<zfbt07>14716</zfbt07>
<promotion>Tmall$tmallDPromotion-121128561488_2612863170199</promotion>
</tp_trade_order_dto>
<fulfil_order_dto_map>xxx</fulfil_order_dto_map>
<attributes>xxx</attributes>
<logistics_detail_dto_map>xx</logistics_detail_dto_map>
<warehouse_dto>
<code>cc</code>
<name>xx</name>
<area>xx</area>
</warehouse_dto>
</sell_out_trade_order_dto>
</model>
<msg_info>xxx</msg_info>
<msg_code>xx</msg_code>
</tmall_tmyp_ai_queryorderdetail_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|