简要描述:

  • 接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2026-01-27

请求URL:

请求方式:

  • GET

请求头:

参数名 是否必须 类型 说明
token string 凭证

请求参数:

参数名 是否必须 类型 说明
source string 1=pos 2=线上点餐 3=Ubereats 4=Foodpanda 5=自助點餐
store_id string 凭证
desk_id string 桌号 order_type=1
person_num string 大人人数 order_type=1
children_num string 小孩人数 order_type=1
is_in_tinyint string 是否在店 order_type=1
order_type string 订单类型【1=内用,2=外带】
pickup_time string 取货时间 order_type=2;2026-01-28 12:00
username string 取货人姓名 order_type=2
mobile string 联系电话 order_type=2
remark string 备注 order_type=2
is_need_tableware string 是否需要餐具【1=需要,2=不需要】
pay_method string 支付方式 Cash=现金 LinePay=LinePay Credit=信用卡
pay_method_msg string 支付方式信息
pay_type string ‘pc’, ‘public’, ‘small’, ‘app’, ‘h5’
unified_number string 统一编号
vehicle_id string 载具id
ids string 线上点餐-购物车部分id
pos_json.request_good_content_id string pos
pos_json.option_ids string pos
pos_json.number string pos

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "下单成功",
    "data": {
        "order_id": 1,
        "order_num": "202601272006085885311954"
    },
    "other": []
}

错误时返回:

{
    "status": 0,
    "msg": "验证错误"
}

返回参数说明:

参数名 类型 说明
order_id string 订单id
order_num string 订单号

备注:

作者:admin  创建时间:2026-01-27 20:07
最后编辑:admin  更新时间:2026-03-25 13:59
上一篇:
下一篇: