一盘货商家单个查询采购单信息
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
user_role_type | Number | 可选 | 2 | 当前查询用户的角色 当不指定时,默认为供应商 供应商:2,分销商:1 | |
purchase_order_id | Number | 必须 | 38894321109601 | 采购单id,单个查询此参数必填 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
purchase_order | PurchaseOrder | null | 返回的采购单对象 |
|
|||
result_code | String | SYSTEM_EXCEPTION | 返回错误码 |
remark | String | 系统错误 | 返回错误信息 |
opt_time | Date | 2000-01-01 00:00:00 | 操作时间 |
1 2 3 4 5 6 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); FenxiaoYphOrderGetRequest req = new FenxiaoYphOrderGetRequest(); req.setUserRoleType(2L); req.setPurchaseOrderId(38894321109601L); FenxiaoYphOrderGetResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | < fenxiao_yph_order_get_response > < purchase_order > < pay_order_id >null</ pay_order_id > < logistics_id >LP00171160470913-1</ logistics_id > < pay_time >2000-01-01 00:00:00</ pay_time > < memo >null</ memo > < buyer_actual_pay_yuan >0.00</ buyer_actual_pay_yuan > < pay_type >102</ pay_type > < consign_time >2000-01-01 00:00:00</ consign_time > < shipping >2</ shipping > < logistics_company_name >这是一条物流公司名称</ logistics_company_name > < alipay_order_no >null</ alipay_order_no > < distributor_nick >商家测试帐号86</ distributor_nick > < postage_yuan >0.00</ postage_yuan > < supplier_memo >null</ supplier_memo > < biz_order_id >38894321109601</ biz_order_id > < sub_order_detail_yph_list > < sub_order_detail > < refund_fee >0</ refund_fee > < buyer_pay_price >0</ buyer_pay_price > < buy_num >1</ buy_num > < discount_fee_yuan >0.00</ discount_fee_yuan > < discount_fee >0</ discount_fee > < sub_tc_order_id >909290401055549000</ sub_tc_order_id > < sku_property_val >颜色分类:仅共享</ sku_property_val > < confirm_paid_fee >0</ confirm_paid_fee > < distributor_pay_price_yuan >0.00</ distributor_pay_price_yuan > < bill_fee >0</ bill_fee > < title >【测试,请不要拍】测试专用,勿动,请自重-多SKU-03</ title > < real_auction_id >613697976491</ real_auction_id > < refund_fee_yuan >0.00</ refund_fee_yuan > < real_auction_sku_id >4496911555141</ real_auction_sku_id > < sub_order_id >0</ sub_order_id > < price >0</ price > < tc_discount_fee >0</ tc_discount_fee > < confirm_paid_fee_yuan >0.00</ confirm_paid_fee_yuan > < buyer_pay_price_yuan >0.00</ buyer_pay_price_yuan > < old_sku_property_val >颜色分类:仅共享</ old_sku_property_val > < alipay_order_no >123131241</ alipay_order_no > < promotion_type >0</ promotion_type > < snap_path >https://gongxiao.tmall.com/product/product_snapshot.htm?subOrderId=38894321109601</ snap_path > < distributor_price >0</ distributor_price > < sc_item_id >613702760269</ sc_item_id > < fenxiao_id >38894321109601</ fenxiao_id > < tc_adjust_fee >0</ tc_adjust_fee > < gmt_create >2000-01-01 00:00:00</ gmt_create > < auction_seller_sku_id >null</ auction_seller_sku_id > < auction_id >613694296654</ auction_id > < tc_preferential_type >聚划算</ tc_preferential_type > < auction_sku_id >4493468966531</ auction_sku_id > < bill_fee_yuan >100</ bill_fee_yuan > < auction_price >0.01</ auction_price > < price_yuan >0.00</ price_yuan > < order_200_status >TRADE_FINISHED</ order_200_status > < distributor_pay_price >0</ distributor_pay_price > < distributor_price_yuan >0.00</ distributor_price_yuan > < status >TRADE_FINISHED</ status > < refund_status_code >RF_STATUS_NO_REFUND</ refund_status_code > < refund_status >9</ refund_status > < sub_order_status >70</ sub_order_status > < sub_order_status_code >DELIVERED</ sub_order_status_code > < auction_out_id >OUT1100000</ auction_out_id > < secondary_supplier_id >1000000000012345</ secondary_supplier_id > < tp_create_time_price >9.00</ tp_create_time_price > < features > < feature_d_o > < attr_key >123</ attr_key > < attr_value >222</ attr_value > </ feature_d_o > </ features > < auction_out_sku_id >5555</ auction_out_sku_id > </ sub_order_detail > </ sub_order_detail_yph_list > < gmt_modified >2000-01-01 00:00:00</ gmt_modified > < total_price >0</ total_price > < tc_order_id >909290401055549000</ tc_order_id > < order_status_code >TRADE_FINISHED</ order_status_code > < confirm_paid_fee >0</ confirm_paid_fee > < supplier_flag >1</ supplier_flag > < distributor_pay_price_yuan >0.00</ distributor_pay_price_yuan > < supplier_nick >商家测试帐号42</ supplier_nick > < confirm_paid_fee_yuan >0.00</ confirm_paid_fee_yuan > < trade_type >1</ trade_type > < channel_code >302</ channel_code > < buyer_actual_pay >0</ buyer_actual_pay > < fenxiao_id >38894321109601</ fenxiao_id > < gmt_create >1585130279000</ gmt_create > < postage >0</ postage > < supplier_from_sys >1</ supplier_from_sys > < distributor_from_sys >taobao</ distributor_from_sys > < end_time >2000-01-01 00:00:00</ end_time > < distributor_pay_price >0</ distributor_pay_price > < total_price_yuan >0.00</ total_price_yuan > < order_status >6</ order_status > < refund_status >9</ refund_status > < refund_status_code >ORDER_RF_NO_REFUND</ refund_status_code > < logis_type >菜鸟仓</ logis_type > < logis_type_code >0</ logis_type_code > < dp_buyer_detail > < area >余杭区</ area > < address >收货地址</ address > < mobile_phone >12345678910</ mobile_phone > < post >610000</ post > < city >杭州市</ city > < phone >123456</ phone > < full_name >收货人全名</ full_name > < prov >浙江省</ prov > < oaid >xxxxxxx</ oaid > </ dp_buyer_detail > < features > < feature_d_o > < attr_key >123</ attr_key > < attr_value >111</ attr_value > </ feature_d_o > </ features > </ purchase_order > < result_code >SYSTEM_EXCEPTION</ result_code > < remark >系统错误</ remark > < opt_time >2000-01-01 00:00:00</ opt_time > </ fenxiao_yph_order_get_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 > |
错误码 | 错误描述 | 解决方案 |
---|