ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# 查看订单详情 ----------------------------- 接口: /open/waimai/order/query_get_order 参数: | 参数 | 名称 | | --- | --- | | app_id | 开发者ID | | timestamp | 请求时间戳 | | access_token | 授权访问的access_token | | order_number | 订单编号 | 响应: | 参数 | 名称 | | --- | --- | | head | 状态信息 | | body | 响应信息 | head字段说明: | 参数 | 名称 | | --- | --- | | code | 状态码 200=成功 | | msg | 状态说明 | body字段说明: | 参数 | 名称 | | --- | --- | | shop_id | 微播餐饮店id | | data | 消息数据 | data字段说明: | 参数 | 名称 | | --- | --- | | number | 订单号 | | type | 订单类型 1=堂食 2=外卖 3=自提 | | order_type | 订单状态 1=新订单 2=已接单 3=配送中 4=已完成 5=订单取消 | | status | 订单支付状态 1=未付款 2=已付款 3=用户申请退款 4=已完成 7=支付超时 8=商家已退款 | | price | 订单金额 | | real_price | 订单实付金额 | | business_price | 商家实收金额 | | box_price | 餐盒费 | | delivery_price | 配送费 | | user_note | 用户备注 | | record_number | 门店当天的订单流水号(每天流水号从1开始) | | delivery_name | 收货人姓名 | | delivery_mobile | 收货人联系电话 | | delivery_address | 北京市东城区正义路2号 | | delivery_latitude | 配送纬度 | | delivery_longitude | 配送经度 | | created_at | 下单时间 | | detail | 订单商品详情 | | delivery_type | 可选配送方式 0=商家配送 1=达达配送 2=闪送 3=微播专送 | | is_invoice | 是否需要发票 1=是 0=否 | | invoice_desc | 发票抬头 | | tax_no | 发票税号 | | dm_name | 骑手名称 | | dm_mobile | 骑手电话 | | xklj_discount | 新客立减活动金额 | | food_discount | 折扣商品减免总金额 | | discount_price | 订单折扣金额 | | coupon_price | 优惠券金额 | | less_price | 满减活动金额 | detail字段说明: | 参数 | 名称 | | --- | --- | | food_id | 商品id | | name | 商品名称 | | img | 商品图片 | | specification | 商品规格 | | attribute | 商品属性 | | price | 商品单价 | | count | 商品数量 | | category_id | 分类id | | group_name | 分组名称 | | category_name | 分类名称 | | sku_id | 规格id | 响应示例: ~~~ {   "head":{     "code":200,     "msg":"success"   },   "body":{     "shop_id":0,     "data":{       "number":"18012717393401368485737714",       "type":"2",       "order_type":"5",       "status":"2",       "price":"7601",       "real_price":"5321", "business_price":"5321",       "box_price":"0",       "delivery_type":"1",       "delivery_price":"1",       "user_note":"",       "record_number":"6",       "delivery_name":"齐 (先生)",       "delivery_mobile":"13666666666",       "delivery_address":"北京市西城区 西直门内大街132号 A座三层",       "delivery_latitude":null,       "delivery_longitude":null,       "is_invoice":"0",       "invoice_desc":"",       "tax_no":"",       "dm_name":null,       "dm_mobile":null,       "created_at":"2018-01-27 17:39:34",       "xklj_discount":"0",       "food_discount":"5320",       "discount_price":"2280",       "coupon_price":"0",       "less_price":"0",       "detail":[         {           "food_id":"80190",           "name":"榛果拿铁咖啡",           "img":null,           "specification":"榛果拿铁咖啡",           "attribute":"热饮",           "price":"2500",           "count":"1",           "category_id":"8945",           "group_name":null,           "sku_id":"485",           "category_name":"咖啡"         },         {           "food_id":"80193",           "name":"可可拿铁",           "img":null,           "specification":"可可拿铁",           "attribute":"热饮,十分",           "price":"1800",           "count":"1",           "category_id":"8945",           "group_name":null,           "sku_id":"487",           "category_name":"咖啡"         },         {           "food_id":"80200",           "name":"经典原味奶茶",           "img":null,           "specification":"经典原味奶茶",           "attribute":"热饮,十分",           "price":"1500",           "count":"1",           "category_id":"8576",           "group_name":null,           "sku_id":"497",           "category_name":"奶茶.奶盖茶"         },         {           "food_id":"80197",           "name":"奶盖金萱乌龙",           "img":null,           "specification":"奶盖金萱乌龙",           "attribute":"无糖,热饮",           "price":"1800",           "count":"1",           "category_id":"8576",           "group_name":null,           "sku_id":"494",           "category_name":"奶茶.奶盖茶"         }       ]     }   } } ~~~ **测试一下** ```bash curl -d "timestamp=1533051543&app_id=10001999&order_number=18071711432501381808810726&access_token=11d38e2d0122096d2d41c82c0978ac48962cade6" https://apib7.wboll.com/open/waimai/order/query_get_order ```