- App/H5对接流程:
- API开放接口对接流程
- 小程序对接流程v1.1
- 数据推送说明
- 基础信息
- 电影票接口
- 卡券接口
- 点餐接口
订单详情
GET
/api/kfc/order_detail
Kfc
请求参数
Query 参数
id
string
订单ID
返回响应
🟢200Success
application/json
Body
code
integer <int32>
code
message
string | null
message
data
object (KfcOrderChannelDto)
可选
id
string <uuid>
可选
epUserId
string <uuid>
归属企业用户id
epParentId
string <uuid>
归属企业用户父id
userId
string <uuid>
用户ID
shopId
string <uuid>
店铺ID
shopCode
string | null
店铺code
shopName
string | null
店铺
cityId
integer <int32>
城市id
cityName
string | null
城市名称
platformCityId
string | null
平台城市id
orderName
string | null
订单名称
eatType
enum<integer> <int32>
可选
1:takeout,打包;
2:delivery,外卖; 目前外卖产品api对接的方式正在开发当中,上线后另行通知
枚举值:
012
eatTypeName
string | null
只读可选
orderSign
string | null
订单签名
userMobile
string | null
用户手机
userName
string | null
用户姓名
avatarUrl
string | null
用户头像
productsInfo
string | null
可选
refundProducts
array[object (KfcOrderProduct) {19}] | null
可选
remark
string | null
备注
originPrice
number <double>
订单原价(市场价)
totalDistributionPrice
number <double>
可选
epParentCommission
number <double>
可选
epCommission
number <double>
本订单佣金
refundAmount
number <double>
退款金额
refundTime
string <date-time> | null
退款时间
totalEpPrice
string
企业总价
epRefundAmount
string
企业退款总额
imageUrl
string | null
图片地址
info
string | null
订单说明
totalUserPrice
number <double>
可选
epCostPrice
number
必需
costMode
string
必需
orderState
enum<integer> <int32>
可选
1:Paid,订单已付;
2:WaitCode,等待出码;
3:Success,订单成功;
4:Failed,订单失败;
5:Canceled,订单取消;
6:Refunded,订单退款;
7:NopayCancel,未付取消;
8:PartRefunded,订单成功(部分退款);
9:Locked,订单锁定;
10:WaitCustomer,客服处理中;
11:WaitDelivery,等待配送;
12:Deliverying,配送中;
13:WaitKfc,正在出餐;
枚举值:
012345678910111213
orderStateName
string | null
订单状态
createTime
string <date-time>
创建时间
updateTime
string <date-time> | null
更新时间
paidTime
string <date-time> | null
支付时间
successTime
string <date-time> | null
订单成功时间
platformOrderId
string | null
平台订单ID
codes
string | null
可选
qrCodes
string | null
可选
payType
integer <int32>
支付方式
isChannelPay
boolean
是否渠道收款
orderPayId
string | null