良票开放平台 v2.0
  1. 业务侧-影票代订-api
良票开放平台 v2.0
  • 业务端
    • 第三方业务服务商-对接必读
    • 业务侧-影票代订-api
      • 获取城市列表
        POST
      • 获取区县列表
        POST
      • 获取院线列表
        POST
      • 获取在映影片列表
        POST
      • 获取影片详情
        POST
      • 获取影院列表
        POST
      • 获取影院详情
        POST
      • 获取影院场次信息
        POST
      • 获取座位信息(已弃用)
        POST
      • 获取座位信息V2
        POST
      • 创建订单
        POST
      • 支付提交订单
        POST
    • 影票-询价提单场景api
      • 获取预估/一口价-出票价格
      • 创建订单(联动使用)
  1. 业务侧-影票代订-api

创建订单

POST
/api/film/order/submitOrder
最后修改时间:2025-03-26 02:53:29

请求参数

Query 参数

Body 参数application/json

示例
{
    "showId": "1167046042641293321L",
    "changeSeat": "1",
    "callbackUrl": "",
    "outOrderNumber": "123456",
    "channel": "2",
    "inputLimitPrice":"50000",
    "matchChannel": "3",
    "slaveMatchChannel": "5",
    "seats": [
        {
            "row": "7",
            "col": "3",
            "seatName": "7排3号"
        },
        {
            "row": "7",
            "col": "2",
            "seatName": "7排2号"
        }
    ]
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/film/order/submitOrder?appId=&sign=&timestamp=' \
--header 'Content-Type: application/json' \
--data-raw '{
    "showId": "1167046042641293321L",
    "changeSeat": "1",
    "callbackUrl": "",
    "outOrderNumber": "123456",
    "channel": "2",
    "inputLimitPrice":"50000",
    "matchChannel": "3",
    "slaveMatchChannel": "5",
    "seats": [
        {
            "row": "7",
            "col": "3",
            "seatName": "7排3号"
        },
        {
            "row": "7",
            "col": "2",
            "seatName": "7排2号"
        }
    ]
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "state": 200,
    "message": "",
    "data": {
        "callbackUrl": "",
        "changeSeatStatus": 1,
        "channel": 2,
        "cinemaAddress": "晋江市安海镇上悦城3楼",
        "cinemaCode": "35050321",
        "cinemaId": 1166372010777931800,
        "cinemaName": "横店电影城安海上悦城店(全激光影厅)",
        "cityCode": 350500,
        "cityName": "泉州市",
        "filmId": 1166400785188339700,
        "filmName": "拯救嫌疑人",
        "filmPic": "https://gw.alicdn.com/i3/O1CN011KgNi71g4oP2sXZV2_!!6000000004089-0-alipicbeacon.jpg_480x480Q30s150.jpg",
        "filmShowTime": 1699013700000,
        "finishTime": 0,
        "id": 1169667879470702600,
        "limitPrice": 4395,
        "limitPriceAll": 8790,
        "orderNumber": "2023110200023",
        "orderStatus": 1,
        "orderType": 2,
        "outOrderNumber": "aa",
        "payStatus": 0,
        "payTime": 0,
        "price": 4400,
        "priceAll": 8800,
        "realPrice": 4390,
        "realPriceAll": 8780,
        "receiveTime": 0,
        "receiveUserId": 0,
        "receiveUserName": "",
        "roundBeginTime": 0,
        "roundEndTime": 0,
        "roundIndex": 0,
        "seatCount": 2,
        "seatType": 1,
        "seats": [
            {
                "col": "3",
                "row": "7",
                "seatName": "7排3号"
            },
            {
                "col": "2",
                "row": "7",
                "seatName": "7排2号"
            }
        ],
        "showId": 1167046042641293300,
        "showName": "1号电影党课主题厅(3D影片建议您自备眼镜)",
        "submitTime": 1698912153844,
        "userId": 1715213770677637000,
        "userName": "13931933190"
    },
    "result": true,
    "token": null
}
修改于 2025-03-26 02:53:29
上一页
获取座位信息V2
下一页
支付提交订单
Built with