参数 | 类型 | 长度 | 是否必须 | 说明 及 示例 |
---|---|---|---|---|
tid | string | 16 | Y | 订单号 (20140218196737) |
成功:
data 为json数据 Array ( [rsp] => succ [data] => {"rsp":"succ","data":null,"res":"\u8be5\u8bf7\u6c42\u5df2\u7ecf\u5904\u7406\uff0c\u4e0d\u80fd\u5728\u5904\u7406\u4e86\uff01"}{"rsp":"succ","data":{"tid":"20140218196737","title":"Order Create","created":"2014-02-18 19:01:10","modified":"2014-02-18 19:01:18","lastmodify":"2014-02-18 19:01:18","status":"TRADE_ACTIVE","pay_status":"PAY_FINISH","ship_status":"SHIP_NO","has_invoice":false,"invoice_title":"","invoice_fee":"0.000","total_goods_fee":"88.20","total_trade_fee":"44.200","discount_fee":"0.000","goods_discount_fee":"0.000","orders_discount_fee":"0.000","payed_fee":"44.200","currency":"CNY","currency_rate":"1.0000","total_currency_fee":"44.200","buyer_obtain_point_fee":"0.000","point_fee":"44.000","total_weight":"0.000","receiver_time":"\u4efb\u610f\u65e5\u671f\u4efb\u610f\u65f6\u95f4\u6bb5","shipping_tid":"1","shipping_type":"\u5feb\u9012","shipping_fee":"0.000","is_protect":"false","protect_fee":"0.000","payment_tid":"deposit","payment_type":"\u9884\u5b58\u6b3e","is_cod":"false","receiver_name":"123","receiver_email":"","receiver_mobile":"123","receiver_state":"\u4e0a\u6d77","receiver_city":"\u4e0a\u6d77\u5e02","receiver_district":"\u6768\u6d66\u533a","receiver_address":"\u4e0a\u6d77\u5e02\u6768\u6d66\u533a123","receiver_zip":"","receiver_phone":"","pay_cost":"0.000","buyer_memo":"","orders_number":1,"buyer_uname":"demo","buyer_name":"","buyer_address":"","buyer_mobile":"","buyer_phone":"","buyer_email":"demo@demo.2","buyer_zip":null,"orders":{"order":[{"oid":"31","orders_bn":"P4C92CFA31E88A","type":"goods","type_alias":"\u5546\u54c1\u533a\u5757","iid":"31","title":"\u5168\u68c9\u4e94\u5206\u8896\u7ed1\u7ef3\u8fde\u5e3d\u77ed\u6b3e\u9488\u7ec7\u886b","items_num":1,"order_status":"SHIP_NO","price":"88.200","total_order_fee":88.2,"sale_price":88.2,"discount_fee":0,"consign_time":"","order_items":{"item":[{"sku_id":"303","iid":"47","bn":"P4C92CFA31E88A","name":"\u5168\u68c9\u4e94\u5206\u8896\u7ed1\u7ef3\u8fde\u5e3d\u77ed\u6b3e\u9488\u7ec7\u886b","sku_properties":"\u989c\u8272:\u9ed1\u8272;\u5c3a\u7801:S","weight":null,"score":"0","price":"88.200","num":"1","sendnum":"0","total_item_fee":88.2,"sale_price":"88.200","item_type":"product","item_status":"normal","discount_fee":0}]},"weight":"0"}]},"trade_memo":null},"res":""} [res] => )
失败:
Array ( [rsp] => fail [data] => "xxx错误" [res] => "错误码" )