简要描述:

  • 订单详情

请求URL:

  • /pc/Order/GetOrder

请求方式:

  • POST

参数:

参数名 必选 类型 说明
access_token string access_token(通过授权认证获取)
order_id string 订单号

返回示例

{
    "status": 0,
    "data": [
        {
            "form_data": {
                "app_info": {
                    "app_name": "电商",
                    "app_logo": "http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend/static/invitation/images/logo.png"
                },
                "goods_info": [
                    {
                        "goods_id": "12195",
                        "price": "0.01",
                        "stock": "972",
                        "goods_name": "赠品多规格就很烦打开话说块经费换手机壳混分巨兽开户费空数据会看就是几块德芙",
                        "is_integral": "0",
                        "cover": "http://img.zhichiwangluo.com/zcimgdir/album/file_5ad445a5b8ad9.png",
                        "model": "30,33",
                        "max_can_use_integral": "0",
                        "model_id": "15241",
                        "num": "1",
                        "sub_shop_app_id": null,
                        "related_shop_app_id": "0",
                        "mass": "0.000",
                        "volume": "0.000",
                        "express_rule_id": "0",
                        "is_seckill": 2,
                        "code":11111,
                        "model_value": [
                            "红",
                            "辣"
                        ],
                        "model_name": [
                            "颜色",
                            "口味"
                        ],
                        "refunded_num": 0,
                        "delivery_id": 0
                    }
                ],
                "remark": "",
                "sub_shop_info": null,
                "location_id": 0,
                "take_out_info": null,
                "form_id": "the formId is a mock one",
                "buyer_info": {
                    "nickname": "戴戴。",
                    "phone": "18825224153",
                    "message": ""
                },
                "original_price": "0.01",
                "selected_benefit_info":{
                    "benefit_type":0,
                    "discount_type":"coupon",
                    "discount_cut_price":0.03,
                    "name":"mianfi",
                    "title":"mianfi(抵扣10.00元)",
                    "condition":"0.00",
                    "value":"10.00",
                    "discount":0.03,
                    "coupon_id":"6328"
                },
                "selected_benefit": [],
                "original_express_fee": 0,
                "address_info": {
                    "name": "小老虎",
                    "contact": "188255472",
                    "province": {
                        "text": "广东省",
                        "id": "19"
                    },
                    "city": {
                        "text": "深圳市",
                        "id": "233"
                    },
                    "district": {
                        "text": "南山区",
                        "id": "2150"
                    },
                    "detailAddress": "芒果网大厦",
                    "sex": "1",
                    "label": "2",
                    "address_id": "226"
                },
                "tostore_data": {
                    "tostore_order_type": "",
                    "tostore_appointment_time": "",
                    "tostore_buyer_phone": "",
                    "tostore_remark": "",
                    "location_id": 0
                },
                "additional_info": "",
                "id": "8370",
                "order_id": "5b6be64a5ca00779388448111",
                "buyer_id": "b10bb6ebc0488da2ab44968f7507d876",
                "app_id": "y99I4IxB94",
                "transaction_id": "consume_benefit",
                "payment_id": "0",
                "pay_mode_id": "0",
                "status": "1",
                "total_price": "0.00",
                "add_time": "2018-08-09 14:59:22",
                "payment_time": "2018-08-09 14:59:22",
                "refund_time": "0",
                "goods_type": "0",
                "parent_shop_app_id": "0",
                "use_balance": "0.01",
                "is_self_delivery": "0",
                "express_fee": "0.00",
                "discount_cut_price": "0.00",
                "has_seckill": "0",
                "team_token": "",
                "is_group_buy_order": "0",
                "appointment_time": "0",
                "form": "",
                "dispatch_time": 0,
                "order_total_price": "0.01",
                "can_use_benefit": {
                    "status": 0,
                    "data": {
                        "vip_benefit": [],
                        "coupon_benefit": [],
                        "integral_benefit": [],
                        "data": [],
                        "selected_index": 0
                    }
                },
                "is_pay_on_delivery": 0
            },
            "is_deleted": "0",
            "related_shop_app_id": "0",
            "is_integral": "0",
            "is_hide": "0",
            "reverted_sale": "0",
            "is_distribution_order": "0",
            "appointment_goods_id": "0",
            "location_id": "0",
            "third_party_order_id": "",
            "balance": 0,
            "express_fee": 0
        }
    ],
    "is_more": 0,
    "current_page": 1,
    "count": "1",
    "total_page": 1
}

返回参数说明

参数名 类型 说明
status int 0:数据返回正常,1:数据返回异常
form_data.app_info array app信息
form_data.goods_info array 商品信息
form_data.remark string 留言
form_data.sub_shop_info array 子店信息
form_data.take_out_info array 外卖信息
form_data.original_price int 原价
form_data.selected_benefit_info array 优惠信息,详情见备注
form_data.selected_benefit_info.benefit_type int 优惠方式 0减钱 1打折
form_data.selected_benefit_info.discount_type string 优惠类型 vip;coupon;integral
form_data.selected_benefit_info.discount_cut_price float 优惠价格
form_data.selected_benefit_info.name string 优惠券名称
form_data.selected_benefit_info.title string 优惠券描述
form_data.selected_benefit_info.condition float 满减条件金额
form_data.selected_benefit_info.value float 满减金额
form_data.selected_benefit_info.discount float 实际减免金额
form_data.selected_benefit_info.coupon_id int 优惠券id,该字段名称跟所使用的优惠方式有关,详情见备注
form_data.selected_benefit array 已废弃
form_data.order_id string 订单
form_data.buyer_id string 买家用户 user_token
form_data.app_id string appid
form_data.status int 订单状态,0待付款;1待发货;2待收货;3待评价;4退款审核;5退款中;6成功;7关闭;8外卖待接单
form_data.total_price int 实付价格
form_data.add_time int 添加时间
form_data.payment_time int 支付时间
form_data.refund_time int 退款时间

备注

  • 优惠方式统一为商家优惠
  • coupon表示优惠券,integral表示积分 discount_type若为coupon,则优惠券id为coupon_id; discount_type若为vip,则优惠券id为vip_id; discount_type若为integral,则没有优惠券id这个字段

results matching ""

    No results matching ""