- App/H5对接流程:
- API开放接口对接流程
- 小程序对接流程v1.1
- 数据推送说明
- 基础信息
- 电影票接口
- 卡券接口
- 点餐接口
订单详情
GET
/api/gift_card/order_detail
GiftCard
请求参数
Query 参数
id
string
可选
示例值:
dbc58f67-97f9-4480-9491-5d657762061f
返回响应
🟢200Success
application/json
Body
code
integer <int32>
code
message
string | null
message
data
object (GiftCardOrderDto)
可选
id
string <uuid>
可选
epUserId
string <uuid>
归属企业用户id
epParentId
string <uuid> | null
归属企业用户父id
epUserName
string | null
可选
userId
string <uuid>
用户ID
giftCardId
string <uuid>
商品ID
orderName
string | null
订单名称
userMobile
string | null
用户手机
userName
string | null
用户昵称
avatarUrl
string | null
用户头像
originPrice
number <double>
原票价单价
totalSupplierPrice
number <double>
供应商总价
totalDistributionPrice
number <double>
分销商总价
totalCommission
number <double>
佣金合计
epParentCommission
number <double>
上级代理佣金
epCommission
number <double>
代理佣金
totalUserPrice
number <double>
用户总价
createTime
string <date-time>
创建时间
paidTime
string <date-time> | null
支付时间
finishTime
string <date-time> | null
完成时间
updateTime
string <date-time> | null
更新时间
orderState
enum<integer> <int32>
可选
0:ReadyToPay,等待支付;
1:Paid,订单已付;
2:ReadyToLock,等待抢单;
3:Locked,正在充值;
4:Success,订单成功;
5:Failed,订单失败;
6:Canceled,订单取消;
7:Refunded,订单退款;
8:NopayCancel,未付取消;
枚举值:
012345678
orderStateName
string | null
订单状态
supplierId
string <uuid> | null
供应商ID
giftCardText
string | null
订单详细文字说明
orderPayId
string | null
外部平台支付凭证号
orderRefundId
string | null
外部平台退款凭证号
couponId
string <uuid> | null
优惠券ID
orderCustomId
string | null
自定义订单号
appId
string | null
所属APPId
count
integer <int32>
数量
cardType
enum<integer> <int32>
可选
0:Recharge,充值;
1:CardPassword,卡密;
2:Entity,实物;
枚举值:
012
cardTypeName
string | null
卡类型
platformId
enum<integer> <int32>
可选
0:YouKa,友卡权益;
1:OKaMi,易售部;
2:AiShang,爱尚;
枚举值:
012
platformName
string | null
平台名称
platformGoodsId
string | null
平台商品ID
platformOrderId
string | null
平台订单ID
isChannelPay
boolean
是否渠道收款
payAppId
string | null
支付Appid
payTranId
string | null
支付流水号
remark
string | null
可选
autoBuy
boolean
可选
entPara
string | null
可选
entUserId
string | null
可选
pushUrl
string | null
可选
payUrl
string | null
可选
giftCardLogo
string | null
可选
giftAmount
number <double>
礼金
useGift
boolean
是否使用礼金模式
epCostPrice
number
订单成本价
示例
{
"code": 0,
"message": "string",
"data": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"epUserId": "f6922f56-2635-4dc5-9821-536548cc4172",
"epParentId": "c45a9505-bd3e-4c6a-becf-eae1056d362d",
"epUserName": "string",
"userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
"giftCardId": "9c83b4f5-280c-4968-8797-b9fdb3bd911c",
"orderName": "string",
"userMobile": "string",
"userName": "string",
"avatarUrl": "string",
"originPrice": 0,
"totalSupplierPrice": 0,
"totalDistributionPrice": 0,
"totalCommission": 0,
"epParentCommission": 0,
"epCommission": 0,
"totalUserPrice": 0,
"createTime": "2019-08-24T14:15:22Z",
"paidTime": "2019-08-24T14:15:22Z",
"finishTime": "2019-08-24T14:15:22Z",
"updateTime": "2019-08-24T14:15:22Z",
"orderState": 0,
"orderStateName": "string",
"supplierId": "e01eb4c4-8eb9-4fb7-b625-61f58c6148db",
"giftCardText": "string",
"orderPayId": "string",
"orderRefundId": "string",
"couponId": "15d6ce74-0176-4a4d-819b-7e460f30be6a",
"orderCustomId": "string",
"appId": "string",
"count": 0,
"cardType": 0,
"cardTypeName": "string",
"platformId": 0,
"platformName": "string",
"platformGoodsId": "string",
"platformOrderId": "string",
"isChannelPay": true,
"payAppId": "string",
"payTranId": "string",
"remark": "string",
"autoBuy": true,
"entPara": "string",
"entUserId": "string",
"pushUrl": "string",
"payUrl": "string",
"giftCardLogo": "string",
"giftAmount": 0,
"useGift": true,
"epCostPrice": 0
}
}
修改于 2024-11-07 02:49:59