- App/H5对接流程:
- API开放接口对接流程
- 小程序对接流程v1.1
- 数据推送说明
- 基础信息
- 电影票接口
- 卡券接口
- 点餐接口
订单列表
POST
/api/kfc/order_list
Kfc
请求参数
Body 参数application/json
pageIndex
integer <int32>
必需
pageSize
integer <int32>
必需
exportExcel
boolean
可选
orderCustomId
string | null
订单号
title
string | null
标题
userName
string | null
用户姓名
userMobile
string | null
用户手机
userId
string <uuid> | null
用户id
orderState
enum<integer> <int32>
可选
0等待支付
1订单已付
2等待出码
3订单成功
4订单失败
5订单取消
6订单退款
7未付取消
8部分退款
9订单锁定
10客服处理中
11等待配送
12配送中
枚举值:
012345678910111213
orderType
enum<integer> <int32>
可选
1:Kfc,肯德基;
2:MDL,麦当劳;
4:XBK,星巴克;
8:NXDC,奈雪的茶;
16:RXKF,瑞幸咖啡;
32:XC,喜茶;
64:KD,库迪;
枚举值:
1248163264128
queryType
integer <int32>
可选
startTime
string <date-time> | null
起始时间
endTime
string <date-time> | null
截至时间
appId
string | null
appid
示例
{
"pageIndex": 0,
"pageSize": 0,
"exportExcel": true,
"orderCustomId": "string",
"title": "string",
"userName": "string",
"userMobile": "string",
"userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
"orderState": 0,
"orderType": 1,
"queryType": 0,
"startTime": "2019-08-24T14:15:22Z",
"endTime": "2019-08-24T14:15:22Z",
"appId": "string"
}
返回响应
🟢200Success
application/json
Body
code
integer <int32>
code
message
string | null
message
data
object (KfcOrderChannelDtoPageData)
可选
pageIndex
integer <int32>
可选
pageSize
integer <int32>
可选
pageCount
integer <int32>
可选
total
integer <int32>
可选
fileId
string | null
可选
data
array[object (KfcOrderChannelDto) {75}] | null
可选
示例
{
"code": 0,
"message": "string",
"data": {
"pageIndex": 0,
"pageSize": 0,
"pageCount": 0,
"total": 0,
"fileId": "string",
"data": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"epUserId": "f6922f56-2635-4dc5-9821-536548cc4172",
"epParentId": "c45a9505-bd3e-4c6a-becf-eae1056d362d",
"userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
"shopId": "70542939-296f-4335-b0b1-f4e5a2513ef7",
"shopCode": "string",
"shopName": "string",
"cityId": 0,
"cityName": "string",
"platformCityId": "string",
"orderName": "string",
"eatType": 0,
"eatTypeName": "string",
"orderSign": "string",
"userMobile": "string",
"userName": "string",
"avatarUrl": "string",
"productsInfo": "string",
"refundProducts": [
{
"pId": "string",
"productId": "string",
"linkId": "string",
"quantity": 0,
"nameCn": "string",
"imageUrl": "string",
"selPrice": 0,
"orgPrice": 0,
"settlePrice": 0,
"channelPrice": 0,
"ChannelCostMode": 0,
"hasRefund": true,
"refundAmount": 0,
"refundCount": 0,
"selected": [
{
"round": 0,
"products": [
{
"productId": "string",
"linkId": "string",
"quantity": 0
}
]
}
],
"orderId": "string",
"orderSn": "string",
"spec": "string",
"index": 0
}
],
"remark": "string",
"originPrice": 0,
"totalDistributionPrice": 0,
"epParentCommission": 0,
"epCommission": 0,
"refundAmount": 0,
"refundTime": "2019-08-24T14:15:22Z",
"imageUrl": "string",
"info": "string",
"totalUserPrice": 0,
"epCostPrice": 0,
"costMode": "string",
"orderState": 0,
"orderStateName": "string",
"createTime": "2019-08-24T14:15:22Z",
"updateTime": "2019-08-24T14:15:22Z",
"paidTime": "2019-08-24T14:15:22Z",
"successTime": "2019-08-24T14:15:22Z",
"platformOrderId": "string",
"codes": "string",
"qrCodes": "string",
"payType": 0,
"isChannelPay": true,
"orderPayId": "string",
"payTranId": "string",
"orderCustomId": "string",
"appId": "string",
"payAppId": "string",
"count": 0,
"address": "string",
"lat": 0,
"lon": 0,
"recAddress": "string",
"pushUrl": "string",
"entPara": "string",
"entUserId": "string",
"payUrl": "string",
"epUserName": "string",
"mealTime": 0,
"tableWare": true,
"offsetPrice": 0,
"waitTime": 0,
"queueSize": 0,
"supplierId": "e01eb4c4-8eb9-4fb7-b625-61f58c6148db",
"biddingEndTime": "2019-08-24T14:15:22Z",
"biddingCount": 0,
"orderType": 1,
"orderTypeName": "string",
"mode": 0,
"supplierRemark": "string",
"supplierName": "string",
"supplierAvatarUrl": "string",
"makeMealSeconds": 0,
"deliveryPrice": 0,
"courierLocationH5": "string",
"recAddr": {
"orderId": "string",
"userId": "string",
"contact": "string",
"gender": "string",
"phone": "string",
"addr": "string",
"number": "string",
"lat": 0,
"lon": 0,
"createTime": "string",
"id": "string"
}
}
]
}
}
修改于 2024-10-30 03:48:01