提交购票需求生成订单
POST
/serve
请求参数
Body 参数application/json
service
string
movie
endpoint
string
/api/movie/order/submit
params
object
必需
allowChanged
boolean
是否允许换座
channelOrderNo
string
渠道订单号
cinemaId
string
影院id
mobile
string
手机号
movieId
string
影片id
seatIds
array[string]
座位id列表
showId
string
场次id
示例
{
"service": "movie",
"endpoint": "/api/movie/order/submit",
"params": {
"channelOrderNo": "ZSY9281083399190061851",
"cinemaId": "ff8080818795e9f70187983563c80a15",
"movieId": "ff8080818c4eb907018c5f6d34f10b0c",
"seatIds": [
"000000029588-1-2",
"000000029588-1-3"
],
"showId": "510100-4-ff8080818795e9f70187983563c80a15-e51406ce2d27395772fb805a3f82aa5f-66687-0"
}
}
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
必需
data
object (OrderData)
必需
channelOrderNo
string
渠道订单单号
completeTime
integer
完成时间
createTime
integer
下单时间
orderDesc
string
订单描述
orderSubTitle
string
订单副标题
orderTitle
string
订单标题
originPrice
number
原价
outOrderNo
string
三方订单单号
quantity
integer
购买数量
salePrice
number
销售价
settlePrice
integer
结算价格
status
integer
订单状态
ticketTime
integer
出票时间
totalSettleAmount
integer
总结算金额
request_id
string
必需
示例
{
"code": 0,
"message": "ok",
"data": {
"channelOrderNo": "ZSY9281083399190061851",
"completeTime": 0,
"createTime": 1746100253601,
"orderDesc": "05月03日 23:35开场\r\n7号厅 VIP厅|赠爆米花可乐\r\n1排7座 1排6座",
"orderSubTitle": "承光影界(COSMO店)",
"orderTitle": "水饺皇后 2张",
"originPrice": 108.9,
"outOrderNo": "20250501195053683443",
"quantity": 2,
"salePrice": 106.9,
"settlePrice": 0,
"status": 0,
"ticketTime": 0,
"totalSettleAmount": 0
},
"request_id": "01968bb1-f377-7086-9c78-66257ef3d837"
}