文档
测试

订单 - 下单

POST
https://chaofen.zhongbochanghong.cn/addons/yun_shop/api.php?i=1&uuid=0&type=5&mid=2&version=v1.1.137&route=plugin.store-cashier.frontend.store.food-create-order

请求参数

参数名
类型
描述
必填
goods
array
[{"goods_id":34,"total":2,"option_id":0}]
必填
store_id
int
门店id
必填
seat_id
int
餐位id
必填
order_type
int
2立即就餐 3预约订餐
必填
reservation
varchar
预约的 时间戳
必填

说明 / 示例

{ "result": 1, "msg": "成功", "data": { "order_ids": "144" } }