orderFullInfoGetPaging (分页查询订单详情)


接口信息

协议 请求方式 请求地址
HTTPS POST https://open.mengdian.com/api/mname/WE_MALL/cname/orderFullInfoGetPaging?accesstoken=ACCESS_TOKEN

请求参数

备注内容

必须设置下单时间(create_begin_time,create_end_time)或更新时间(update_begin_time,update_end_time)中的一对,允许查询任何时间点,但查询的时间跨度不能超过24小时。

请求示例

{
  "order_type": "1",
  "order_source": null,
  "order_status": "1",
  "pay_status": null,
  "delivery_status": null,
  "create_begin_time": "2014-01-01 10:00:00",
  "create_end_time": "2014-01-01 11:00:00",
  "update_begin_time": "2014-01-01 10:00:00",
  "update_end_time": "2014-01-01 11:00:00",
  "page_size": 20,
  "page_no": 1,
  "order_nos": [
    "1232333",
    "11111222"
  ]
}

响应参数

响应示例

{
 "row_count":100,
 "page_no":1,
 "page_size":20,
 "page_count":5,
 "page_data":[
   {
     "order_id":2288282,
     "order_no":"155015050729417",
     "member_id":"7107359a-19bb-4c52-a95c-2f6ddb7a441c",
     "open_id":"ogPxqs7wsZvHVfL4jKj01lReDoB4",
     "order_source":1,
     "order_type":1,
     "order_status":0,
     "create_time":"2015-04-0523:11:12",
     "create_man":"bigken",
     "update_time":"2015-04-0523:11:12",
     "update_man":"bigken",
     "is_delete":false,
     "discount_amount":10,
     "discount_detail":{
       "sku_codes":[
         "358000201406300511295889"
       ],
       "discount_id":1145633445,
       "discount_name":"满包邮",
       "discount_desc":"包邮",
       "discount_type":1,
       "discount_condition":200,
       "discount_amount":0,
       "is_shipping_free":true
     },
     "coupon_amount":100,
     "coupon_detail":{
       "coupon_id":78233,
       "coupon_name":"一等奖",
       "coupon_use_amount":200,
       "coupon_discount_amount":10,
       "coupon_type":86,
       "coupon_code_id":69122
     },
     "point_use":100,
     "point_amount":10,
     "real_amount":10,
     "is_onlinepay":true,
     "pay_status":0,
     "pay_time":null,
     "payment_id":"1099",
     "payment_code":"tenpay",
     "payment_name":"财付通(微盟支付)",
     "payment_thirdno":"18383828181818188181",
     "delivery_amount":10,
     "delivery_status":0,
     "delivery_type":"平邮",
     "carrier_name":"申通",
     "express_no":"123456",
     "receiver_address":"上海上海市宝山区逸仙路2816号华滋奔腾大厦A栋14楼",
     "receiveraddress_remark":1,
     "receiver_region":{
       "province":"上海",
       "city":"上海市",
       "district":"宝山区",
       "address":"逸仙路2816号"
     },
     "receiver_name":"蔡松",
     "receiver_tel":"13800138000",
     "sender_address":"上海上海市宝山区逸仙路2816号华滋奔腾大厦A栋14楼",
     "sender_name":"蔡松",
     "sender_tel":"13800138000",
     "delivery_time":"2015-04-0523:11:12",
     "receive_time":"2015-04-0523:11:12",
     "order_flag":1,
     "order_flag_memo":"1123",
     "remark":"发SF",
     "sku_qty":5,
     "goods_amount":10,
     "order_details":[
       {
         "order_detail_id":155015033121917440,
         "spu_code":"358000201406300511295889",
         "sku_code":"6786778",
         "sku_name":"IPHONE5S-白色-128G",
         "qty":2,
         "sale_price":100,
         "sale_amount":200,
         "price":90,
         "amount":180,
         "is_delete":false,
         "inventory_type":0,
         "return_id":0,
         "return_qty":0,
         "return_type":0,
         "return_status":0
       }
     ],
     "distribution_info":{
       "deliveragent_id":200000031,
       "deliveragent_name":"一级发货分销商(数据全)",
       "agent_id":100000030,
       "agent_name":"二级不发货分销商"
     },
     "buyerinfo":{
       "idcard_name":"王大坑",
       "idcard_no":"130522198312340619"
     },
     "ship_city_info":{
       "ship_city_id":1,
       "ship_city_name":"宁波空港保税仓",
       "shop_record":"123123123"
     }
   }
 ]
}

全局返回码

返回码 描述 解决方案
-1 系统繁忙
0 请求成功
8000001 获取access_token失败,不经常发生
8000002 目标地址不合法
8000003 非法的参数
8000004 非法的参数格式
8000005 需要以get方式请求
8000006 需要以post方式请求
8000007 需要https请求
8000008 Xml/Json格式解析错误
8000101 不可用的accessToken
8000102 未被授权的API
8000103 超过了API调用次数
8000104 指定mname和cname没有对应的API
8000105 accessToken过期
8000106 转发超时
8000199 转发系统错误,请联系我们
8000901 全局系统错误,请联系我们
8000902 未被配置的API转发,请联系我们
8000903 其他accessToken生成错误,请联系我们