百福得开放平台 百福得开放平台
  • H5输出
  • 供应链输出
  • 三方供应商接入
  • H5输出
  • 供应链输出
  • 三方供应商接入
  • 开发指南

  • 一、免密登录

  • 二、组织架构同步

  • 三、积分对接

  • 四、订单

    • 4.1 批量查询支付单明细
    • 4.2 查询订单详情
      • 4.3 查询对账单
      • 4.4 查询订单最新一条物流轨迹
      • 4.5 查询电影演出二维码
      • 4.6 分页查询订单列表
      • 4.7 分页查询支付单
    • 五、小程序现金支付

    • 六、用户资金

    • 七、差旅

    • 八、勋章

    • 九、消息对接

    • 十、客户定制

    • 十一、其它

    • 附录

    • 接口文档
    • 四、订单
    2023-11-13
    目录

    4.2 查询订单详情

    # 4.2 查询订单详情

    # 接口URL

    {开放平台域名地址}/openApi/open/order/getOrderInfo

    # HTTP请求方式

    POST

    # 公共参数

    字段 类型 是否必填 中文意描述
    access_token String 是 授权访问凭证
    timestamp String 是 毫秒级时间戳 防止重复攻击
    sign String 是 签名
    version String 否 业务接口版本号,如1.0.0

    # body参数

    字段 类型 是否必填 中文意描述
    orderNo String 是 订单号
    terminal String 否 终端(出参返回的东福订单详情链接区分),百福得PC端=bfd_pc;百福得H5=bfd_h5,默认百福得H5

    # 请求示例

    POST /openApi/open/order/getOrderInfo?access_token=abc&timestamp=1597300776947&sign=fa66cb4d8604413b8fb30afd32e3e73e HTTP/1.1
    Content-Type: application/json
    Cache-Control: no-cache
    {
         "orderNo": "21231102161100027740"
    }
    
    1
    2
    3
    4
    5
    6

    # 返回参数说明

    参数名称 参数说明 类型
    code 返回码 string
    data 数据 OrderListDetail
      acceptTime 司机接单时间 yyyy-MM-dd HH:mm string
      address 收货地址 string
      afterNum 可售后数量 integer(int64)
      airlineLogo 航空公司图片 string
      arrivePoint 到达地点 string
      arriveTime 车次/航班/司机到达时间 yyyy-MM-dd HH:mm string
      auditAt 审核通过/驳回时间 yyyy-MM-dd HH:mm:ss string(date-time)
      auditFlag 审核标记:0不用审核,1需要审核 integer(int32)
      auditRejectedReason 审核驳回的原因 string
      auditStatus 审核状态, audit:待审核,pass:通过,rejected:驳回,timeout:超时 string
      auditStatusText 审核状态描述 string
      auditTimeoutAt 审核超时时间截点 yyyy-MM-dd HH:mm:ss string(date-time)
      beginChargeTime 开始计价时间 yyyy-MM-dd HH:mm string
      brandName 品牌名称(电子券和随心兑) string
      buyNum 购买数量 integer(int32)
      cancelFlag 取消订单标记 boolean
      companyPayment 是否企付费 0否 1 是 string
      companyServiceFee 企业服务费 number
      companyServiceFeeRate 企业承担服务费率 number
      consignee 收货人姓名 string
      consigneeDetail 收件人详情信息,含省/市/区/街道 ConsigneeDetail
        address 收货地址
        addressId 地址Id
        city 市
        cityId 市Id
        consignee 收件人姓名
        district 区
        districtId 区Id
        mobile 收件人联系方式
        province 省
        provinceId 省Id
        street 街道
        streetId 街道Id
      creationTime 创建时间 string(date-time)
      deleteFlag 是否可以删除 boolean
      departPoint 出发地点 string
      departTime 出发时间 yyyy-MM-dd HH:mm string
      expiredTime 过期时间 string
      finishTime 行程结束时间 yyyy-MM-dd HH:mm string
      freight 运费 number
      goodsList 商品列表 array
        buyType 体检订单 商品 与 加项包区别 1是商品,2是加项包
        categoryId 产品类型 ID
        channel 商品频道
        channelId 商品频道,只有电子券用这个字段
        cityName 所在城市
        dimensional 影片维度
        endDateTime 结束放映时间
        endTime 结束放映时间
        giftType 商品类型
        goodsId 商品ID
        goodsImgGuide 商品图片
        goodsImgGuideH5 商品图片-h5
        goodsInfoUrl 商品详情地址
        goodsName 商品名称
        goodsNameEn 商品名称-英文
        goodsPrice 商品单价
        hallName 影厅名称
        includeEquityNames 包含权益名称
        language 影片语言
        placeName 场所名称(影院/剧院/酒店)
        quantity 数量
        showDate 放映日期/场次
        showDateTime 放映日期/场次
        specValue 规格
        startDateTime 开始放映时间
        startTime 开始放映时间
        ticketName 门票名称
      h5ReadingReportUrl H5预设报告解读地址 string
      h5ReportUrl H5预设报告查看地址 string
      hasDelivery 是否已发货,是否已有物流信息 boolean
      healthGiftUrl PC到检有礼 URL string
      healthGiftUrlH5 H5到检有礼 URL string
      isShowGift 是否展示-到检有礼 boolean
      isShowPrice 是否显示价格 string
      isShowReport 是否显示-查看报告 boolean
      mktLotteryId 活动id integer(int32)
      offerRedirectUrl 使用权益URL string
      orderDeliveryDetailUrlH5 查看物流 string
      orderDetailUrlH5 订单详情连接(h5) string
      orderDetailUrlPc 订单详情连接(Pc) string
      orderNo 订单号 string
      orderStatus 订单状态 1-待支付 2-待收货 3-待使用 4-已完成 5-已取消 integer(int32)
      orderStatusName 订单状态名 string
      orderStatusNameEn 订单状态名-英文 string
      orderStatusSource 订单原状态 integer(int32)
      orderStatusSourceName 订单原状态名称 string
      orderStatusSourceNameEn 订单原状态名称-英文 string
      orderSubStatus 订单子状态 integer(int32)
      orderSubStatusDesc 订单子状态描述 string
      orderSubStatusName 订单子状态名称 string
      orderSubStatusNameEn 订单子状态英文名称 string
      orderType 订单类型1-随心兑 2-实体 3-饿了么 4-光明随心订 5-食堂充值 6-美团外卖 7-电影 8-电子券 9-享道出行 10-叮咚买菜 11-薄荷健康 12-高德打车13-药联 14-话费充值 15-美团餐饮 16-美团休闲娱乐 17-美团酒店 18-鲜花订单 19- 20-景点订单 21-玩乐订单 22-演出 23-一企学 24-奈雪的茶 28-健康体检 29-健康权益 integer(int32)
      orderTypeImg 订单类型图标 string
      orderTypeName 订单类型名称 string
      orderTypeNameEn 订单类型名称-英文 string
      orderTypeSourceName 业态系统订单类型名称,由业态系统接口返回 string
      orderUserName 下单人/预订人姓名 string
      outOrderNo 外部订单号 string
      passengerName 乘坐人,多个时英文逗号分割 string
      payExpiredAt 支付超时时间 string(date-time)
      payLeftTime 剩余支付时间 integer(int64)
      payOrderNo 支付单号 string
      payStatus 是否已支付 integer(int32)
      payUrlH5 未支付完成订单的支付链接h5 string
      payUrlPc 未支付完成订单的支付链接pc string
      pcReadingReportUrl PC预设报告解读地址 string
      pcReportUrl PC预设报告查看地址 string
      prizeFlag 是否奖品订单 1 是 0不是 integer(int32)
      receiveFlag 确认收货标记 boolean
      receiverMobile 收货人手机号 string
      refund 是否已退款 1=已退款 integer(int32)
      refundDesc 退换描述 string
      refundDescEn 退换英文描述 string
      rightStatus 权益状态 string
      rightStatusName 权益状态名称 string
      seatLevel 座位席别,例如:二等座/商务舱 string
      serviceFee 用户服务费 number
      serviceFeeRate 用户承担服务费率 number
      showBuyAgainFlag 是否展示再次购买or再来一单按钮,0不展示,1展示 integer(int32)
      showReport boolean
      storeId 自动核销商家的门店id integer(int32)
      tagList 标签信息 array
        desc 文案
        enDesc 英文文案
        support 是否支持 true-支持 false-不支持
      tips 预约提示 array
      totalAmount 订单总金额 number
      totalPaid 实付金额 number
      transportSupplier 供应商信息,比如:高德打车/曹操出行等 string
      transportType 车型,例如:经济型/舒适型 string
      travelToolNo 车牌号/车次号/航班号 string
      union 工会code string
      unpaidAmount 待支付金额 number
      userId 东福用户Id integer(int64)
      verificationSheet 是否已核销 boolean
    msg 返回附加信息 string

    # 返回示例

    success:

    {
      "code": "0",
      "data": {
        "orderNo": "21231102161100027740",
        "outOrderNo": null,
        "orderType": 2,
        "orderTypeName": "购物订单",
        "orderTypeNameEn": "Physical store shopping",
        "orderTypeImg": "https://image.dongfangfuli.com/mall/upload/image_temp/2022-04/679e4157-8f62-420b-8ac4-128bf1ef2de7.png",
        "payOrderNo": "216989127136336309084473444",
        "refundDesc": null,
        "refundDescEn": null,
        "orderStatus": 6,
        "orderStatusSource": 2,
        "orderStatusSourceName": null,
        "orderStatusSourceNameEn": null,
        "orderStatusName": "已支付",
        "orderStatusNameEn": "Paid",
        "orderSubStatus": null,
        "orderSubStatusName": null,
        "orderSubStatusNameEn": null,
        "buyNum": 6,
        "totalAmount": 369,
        "totalPaid": 369,
        "unpaidAmount": null,
        "serviceFee": null,
        "serviceFeeRate": null,
        "companyServiceFee": null,
        "companyServiceFeeRate": null,
        "deleteFlag": false,
        "cancelFlag": false,
        "verificationSheet": false,
        "expiredTime": null,
        "orderDetailUrlPc": "http://www.{union}.stage.dongfangfuli.com/shop/order/detail/21231102161100027740?union=ztwb&city=145",
        "orderDetailUrlH5": "http://corp.m.stage.dongfangfuli.com/tmall/order/shopping/details/21231102161100027740?union=ztwb&city=145",
        "payLeftTime": 0,
        "refund": null,
        "payStatus": null,
        "consignee": "测试",
        "address": "上海市,上海,长宁区,华阳路街道,IBP国际",
        "freight": 7,
        "payExpiredAt": "2023-11-02 16:41",
        "payUrlPc": null,
        "payUrlH5": null,
        "brandName": null,
        "afterNum": null,
        "storeId": null,
        "creationTime": "2023-11-02 16:11",
        "receiverMobile": "151****5678",
        "goodsList": [
          {
            "goodsId": 2284909,
            "goodsImgGuide": "https://oss-scm-goods-prd.dongfangfuli.com/merchantSpu/picture/55cddb783234495893dc45118da0f9c2.png",
            "goodsImgGuideH5": "https://oss-scm-goods-prd.dongfangfuli.com/merchantSpu/picture/55cddb783234495893dc45118da0f9c2.png",
            "goodsName": "普通橘子-zh001",
            "goodsNameEn": null,
            "specValue": "规格3",
            "quantity": 4,
            "goodsPrice": 88,
            "showDateTime": null,
            "startDateTime": null,
            "endDateTime": null,
            "showDate": null,
            "startTime": null,
            "endTime": null,
            "dimensional": null,
            "language": null,
            "placeName": null,
            "cityName": null,
            "giftType": 0,
            "categoryId": 1000005,
            "hallName": null,
            "goodsInfoUrl": "",
            "channel": 2,
            "channelId": null,
            "buyType": null,
            "includeEquityNames": null,
            "ticketName": null
          },
          {
            "goodsId": 2244725,
            "goodsImgGuide": "https://scm-goods-dev.oss-cn-shanghai.aliyuncs.com/merchantSpu/picture/9c63ce0c7b514359b255d580d9e47b05.jpg",
            "goodsImgGuideH5": "https://scm-goods-dev.oss-cn-shanghai.aliyuncs.com/merchantSpu/picture/9c63ce0c7b514359b255d580d9e47b05.jpg",
            "goodsName": "【2022必测】普通商品多规格",
            "goodsNameEn": null,
            "specValue": "唯一",
            "quantity": 2,
            "goodsPrice": 5,
            "showDateTime": null,
            "startDateTime": null,
            "endDateTime": null,
            "showDate": null,
            "startTime": null,
            "endTime": null,
            "dimensional": null,
            "language": null,
            "placeName": null,
            "cityName": null,
            "giftType": 0,
            "categoryId": 1000355,
            "hallName": null,
            "goodsInfoUrl": "",
            "channel": 2,
            "channelId": null,
            "buyType": null,
            "includeEquityNames": null,
            "ticketName": null
          }
        ],
        "mktLotteryId": null,
        "orderSubStatusDesc": null,
        "auditFlag": null,
        "auditStatus": null,
        "auditStatusText": null,
        "auditRejectedReason": null,
        "auditTimeoutAt": null,
        "auditAt": null,
        "prizeFlag": 0,
        "showBuyAgainFlag": 0,
        "pcReportUrl": null,
        "h5ReportUrl": null,
        "pcReadingReportUrl": null,
        "h5ReadingReportUrl": null,
        "healthGiftUrl": null,
        "healthGiftUrlH5": null,
        "companyPayment": null,
        "tips": null,
        "offerRedirectUrl": null,
        "rightStatus": null,
        "rightStatusName": null,
        "tagList": null,
        "orderDeliveryDetailUrlH5": null,
        "receiveFlag": false,
        "hasDelivery": false,
        "userId": 63090844,
        "union": "ztwb",
        "consigneeDetail": {
          "addressId": 3555410,
          "provinceId": 9,
          "province": "上海市",
          "cityId": 145,
          "city": "上海",
          "districtId": 1228,
          "district": "长宁区",
          "streetId": 16848,
          "street": "华阳路街道",
          "address": "IBP国际",
          "consignee": "测试",
          "mobile": "15112345678"
        },
        "departPoint": null,
        "arrivePoint": null,
        "departTime": null,
        "travelToolNo": null,
        "passengerName": null,
        "seatLevel": null,
        "airlineLogo": null,
        "transportType": null,
        "transportSupplier": null,
        "orderTypeSourceName": null,
        "arriveTime": null,
        "acceptTime": null,
        "beginChargeTime": null,
        "finishTime": null,
        "orderUserName": null,
        "showReport": false,
        "isShowPrice": "1",
        "isShowReport": false,
        "isShowGift": null
      },
      "msg": "success",
      "errMsg": null
    }
    
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173

    fail:

    {
      "code": "10016",
      "data": null,
      "msg": "签名错误"
    }
    
    1
    2
    3
    4
    5

    ← 4.1 批量查询支付单明细 4.3 查询对账单→

    Theme by Vdoing
    • 跟随系统
    • 浅色模式
    • 深色模式
    • 阅读模式