电影票小程序/插件相关
电影票小程序/插件订单接口
基本信息:

获取电影票小程序或电影票插件下产生的订单数据,包含未支付订单,实时获取交易状态。

接口说明
请求方式: POST
接口参数
参数名称 参数类型 是否必须 示例 备注
apikey string 接口秘钥,请登录个人中心获取
orderStatus Number 订单状态:0-未支付,2-受理中,3-待出票,4-已出票待结算,5-已结算,10-订单关闭/退款
sid String 渠道id
channel String 渠道扩展参数,插件专属
start_time Datetime 开始时间, 默认查下单时间
end_time Datetime 结束时间, 默认查下单时间
query_type Number 时间查询类型,1:支付时间、2:更新时间、3、下单时间
page Number 1 页码,默认1
pageSize Number 20 页大小,默认20,最大100
返回参数
名称 类型 示例值 说明
orderNo String 订单号
shareRate String 佣金比率,百分比,0.1 代表1%
shareFee String 佣金
pub_id Number 聚推客联盟id
orderStatus Number 订单状态:0-未支付,2-受理中,3-待出票,4-已出票待结算,5-已结算,10-订单关闭/退款
payTime Datetime 付款时间
payPrice String 付款金额
isSoon Number 0 0: 特惠出票 1:快速出票
orderNum Number 1 购票数量
closeCause String 订单关闭说明
pic String 电影封面图
hallName String 影厅
filmName String 电影名称
cinemaName String 影城名称
language String 语言
showTime Datetime 开场时间
createTime Datetime 下单时间
ticketCode String[] 出票码
updateTime Datetime 订单更新时间
refundTime Datetime 退款时间
refundPrice Datetime 退款金额
返回示例
{
    "code": 1,
    "msg": "success",
    "data": {
        "total": 3,
        "per_page": 20,
        "current_page": 1,
        "last_page": 1,
        "data": [
            {
                "orderNo": "2022103050979754",
                "shareRate": "0.00",
                "shareFee": "0.00",
                "pub_id": 26,
                "sid": "26",
                "channel": "",
                "orderStatus": "10",
                "payTime": "",
                "payPrice": "0.00",
                "isSoon": 0,
                "seat": "5排12座",
                "orderNum": "1",
                "closeCause": "超时未付款,自动关闭订单",
                "pic": "https://gw.alicdn.com/tfscom/i3/O1CN01Kqv0vW1xNRsv3US64_!!6000000006431-0-alipicbeacon.jpg_160x240.jpg",
                "hallName": "7号高亮激光巨幕影厅(每日22点后特价场次)(需24小时内核酸证明)",
                "filmName": "哥,你好",
                "cinemaName": "中影巨幕星光影城(巩义豪布斯卡店)",
                "language": "",
                "showTime": "2022-10-31 14:20:00",
                "createTime": "2022-10-30 21:53:54",
                "ticketCode": null,
                "updateTime": null,
                "refundTime": null,
                "refundPrice": "0.00"
            },
            {
                "orderNo": "2022103054545010",
                "shareRate": "0.00",
                "shareFee": "0.00",
                "pub_id": 26,
                "sid": "26",
                "channel": "",
                "orderStatus": "10",
                "payTime": "",
                "payPrice": "0.00",
                "isSoon": 0,
                "seat": "6排13座",
                "orderNum": "1",
                "closeCause": "超时未付款,自动关闭订单",
                "pic": "https://gw.alicdn.com/tfscom/i1/O1CN01zRsC1M1NCcLcTH06M_!!6000000001534-0-alipicbeacon.jpg_160x240.jpg",
                "hallName": "1号高亮激光巨幕杜比全景声厅(每日22点后特价场次)(巩义独家)",
                "filmName": "万里归途",
                "cinemaName": "中影巨幕星光影城(巩义豪布斯卡店)",
                "language": "",
                "showTime": "2022-10-31 14:30:00",
                "createTime": "2022-10-30 21:52:22",
                "ticketCode": null,
                "updateTime": null,
                "refundTime": null,
                "refundPrice": "0.00"
            },
            {
                "orderNo": "2022103097515410",
                "shareRate": "0.00",
                "shareFee": "0.00",
                "pub_id": 26,
                "sid": "26",
                "channel": "",
                "orderStatus": "10",
                "orderPrice": 3306,
                "payTime": "",
                "payPrice": "0.00",
                "isSoon": 0,
                "seat": "4排06座",
                "orderNum": "1",
                "closeCause": "超时未付款,自动关闭订单",
                "pic": "https://gw.alicdn.com/tfscom/i1/O1CN01zRsC1M1NCcLcTH06M_!!6000000001534-0-alipicbeacon.jpg_160x240.jpg",
                "hallName": "2号高亮激光厅(每日22点后特价场次)(需24小时内核酸证明)",
                "filmName": "万里归途",
                "cinemaName": "中影巨幕星光影城(巩义豪布斯卡店)",
                "language": "",
                "showTime": "2022-10-31 15:05:00",
                "createTime": "2022-10-30 21:44:26",
                "ticketCode": null,
                "updateTime": null,
                "refundTime": null,
                "refundPrice": "0.00"
            }
        ]
    }
}