自提訂單詳情信息

簡要描述
  • 獲取自提訂單詳情信息,僅門店店員有權限訪問該接口
請求url
  • https://www.商城域名.com/index.php?s=/api/shop.order/detail
請求方式
  • GET
是否需授權登錄
請求header
參數名 類型 是否必須 示例值 說明
storeId int 必填 10001 商城ID
platform string 必填 H5 當前請求的客戶端(APP、小程序、H5等)
Access-Token string 選填 - 當前登錄用戶的 Token
請求參數
參數名 類型 是否必須 示例值 說明
orderId int 必填 10203 訂單ID
返回示例
{
    "status": 200,
    "message": "success",
    "data": {
        "order": {
            "order_id": 10203,
            "order_no": "2022022550539857",
            "total_price": "32.14",
            "order_price": "32.14",
            "coupon_id": 0,
            "coupon_money": "0.00",
            "points_money": "0.00",
            "points_num": 0,
            "pay_price": "32.14",
            "update_price": {
                "symbol": "+",
                "value": "0.00"
            },
            "buyer_remark": "",
            "pay_type": 20,
            "pay_method": "balance",
            "pay_status": 20,
            "pay_time": "2022-02-25 22:46:28",
            "trade_id": 0,
            "delivery_type": 20,
            "extract_shop_id": 10003,
            "extract_clerk_id": 0,
            "express_price": "0.00",
            "express_id": 0,
            "express_no": "",
            "delivery_status": 10,
            "delivery_time": "",
            "receipt_status": 10,
            "receipt_time": "",
            "order_status": 10,
            "points_bonus": 1,
            "is_comment": 0,
            "order_source": 10,
            "order_source_id": 0,
            "platform": "H5",
            "user_id": 10125,
            "create_time": "2022-02-25 22:46:26",
            "isAllowRefund": false,
            "goods": [{
                "order_goods_id": 10206,
                "goods_id": 10019,
                "goods_name": "清野の木 56L灰色特大號 塑料收納箱整理箱環保加厚儲物箱",
                "image_id": 10364,
                "deduct_stock_type": 10,
                "spec_type": 10,
                "goods_sku_id": "0",
                "goods_props": null,
                "goods_no": "",
                "goods_price": "32.80",
                "line_price": "0.00",
                "goods_weight": 0,
                "is_user_grade": 1,
                "grade_ratio": 10,
                "grade_goods_price": "32.14",
                "grade_total_money": "0.66",
                "coupon_money": "0.00",
                "points_money": "0.00",
                "points_num": 0,
                "points_bonus": 1,
                "total_num": 1,
                "total_price": "32.14",
                "total_pay_price": "32.14",
                "delivery_status": 10,
                "delivery_num": 0,
                "is_comment": 0,
                "order_id": 10203,
                "user_id": 10125,
                "goods_source_id": 0,
                "goods_image": "2a6e0c0ea7d1e5f0f2ac3e406198850c.jpg",
                "refund": null
            }],
            "extract_shop": {
                "shop_id": 10003,
                "shop_name": "魯峰街同心超市百貨",
                "logo_image_id": 10389,
                "linkman": "詹先生",
                "phone": "15312341234",
                "shop_hours": "10:00-17:30",
                "province_id": 1925,
                "city_id": 1926,
                "region_id": 1928,
                "address": "下曲家魯峰街同心超市",
                "longitude": "121.258163",
                "latitude": "37.497197",
                "geohash": "wwwjr61mpbp",
                "summary": "11",
                "sort": 127,
                "is_check": 1,
                "status": 1,
                "cascader": [1925, 1926, 1928],
                "region": {
                    "province": "廣東省",
                    "city": "廣州市",
                    "region": "越秀區"
                },
                "full_address": "廣東省廣州市越秀區下曲家魯峰街同心超市",
                "coordinate": "37.497197,121.258163"
            },
            "delivery": [],
            "address": null,
            "state_text": "待發貨"
        },
        "setting": {
            "points_name": "積分"
        }
    }
}
返回參數
參數名 類型 示例值 說明
status int 200 請求狀態(200:請求成功;500:請求錯誤/失敗)
message string success 請求結果的信息,默認為 success
data object - 返回的業務數據
data 參數
參數名 類型 示例值 說明
order object - 訂單信息(請參考“訂單詳情”API)
setting object - 系統設置(請參考“訂單詳情”API)