预支付订单信息
开发中
直播-测试环境
http://htb-api-test.bangbanghu.com.cn/htb-live-api
直播-测试环境
http://htb-api-test.bangbanghu.com.cn/htb-live-api
POST
/htb-java-global-api/order/prepareOrderInfo
最后修改时间:2025-06-05 02:47:04
请求参数
Header 参数
Authorization
string
可选
默认值:
{{user-3718}}
token
string
可选
默认值:
{{后台用户}}
app_version
string
可选
默认值:
7.1.005-debug-282
app_info
string
可选
默认值:
Android15(35)-WIFI
app_code
string
可选
默认值:
bbh-app
user-agent
string
可选
默认值:
Mozilla/5.0 (Linux; Android 15; 23127PN0CC Build/AQ3A.240627.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/128.0.6613.127 Mobile Safari/537.36 uni-app Html5Plus/1.0 (Immersed/38.666668)
Body 参数application/json
biz_goods_id_list
array[string]
必需
global_order_type
string
业务类型
示例
{
"biz_goods_id_list": [
"5230"
],
"global_order_type": "40"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://htb-api-test.bangbanghu.com.cn/htb-live-api/htb-java-global-api/order/prepareOrderInfo' \
--header 'Authorization: {{user-3718}}' \
--header 'token: {{后台用户}}' \
--header 'app_version: 7.1.005-debug-282' \
--header 'app_info: Android15(35)-WIFI' \
--header 'app_code: bbh-app' \
--header 'user-agent: Mozilla/5.0 (Linux; Android 15; 23127PN0CC Build/AQ3A.240627.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/128.0.6613.127 Mobile Safari/537.36 uni-app Html5Plus/1.0 (Immersed/38.666668)' \
--header 'Content-Type: application/json' \
--data-raw '{
"biz_goods_id_list": [
"5230"
],
"global_order_type": "40"
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
data
object
必需
group_list
array [object {6}]
必需
total_goods_price
integer
必需
total_need_pay_amount
integer
必需
total_service_amount
integer
必需
total_channel_amount
number
必需
fenbei
integer
必需
if_vip
boolean
必需
if_annual_fee_vip
boolean
必需
vip_level
integer
必需
can_deduction_fenbei
boolean
必需
deduction_fenbei_count
integer
必需
deduction_fenbei_amount
number
必需
over_deduction_fenbei_amount
integer
必需
vip_max_deduction_fenbei_count
integer
必需
vip_max_deduction_fenbei_amount
number
必需
vip_deduction_id
integer
会员抵扣金ID,为null代表无法抵扣
vip_deduction
number
会员抵扣金余额
used_deduction_vip_count
number
必需
can_deduction_vip_count
number
必需
offline_pay_deduct_fenbei_per_match
integer
必需
offline_pay_total_deduct_fenbei
integer
必需
offline_pay_match_count
integer
必需
offline_pay_vip_deduct_fenbei_per_match
integer
必需
offline_pay_default_deduct_fenbei_per_match
integer
必需
trace_id
string
必需
示例
{
"code": 200,
"msg": "操作成功",
"data": {
"group_list": [
{
"org_id": 1551,
"org_name": null,
"logo_url": "https://bang-file.oss-cn-shanghai.aliyuncs.com/htb/htb-backround-v3/11.png",
"org_type": 2,
"org_last_sell_at": "2025-06-05 09:17:24",
"goods_list": [
{
"id": 5230,
"biz_goods_id": 5230,
"global_goods_id": 358191,
"biz_id": 425,
"created_at": null,
"goods_name": "精致绗缝工艺打造细腻纹理,优质皮革触感柔软,可调节肩带设计,简约百搭,适合日常各种穿搭。",
"original_price": null,
"current_price": null,
"sell_price": 300.00,
"sell_at": null,
"quality": "B",
"img_url_list": null,
"video_url_list": null,
"logo_url": "https://bang-file.oss-cn-shanghai.aliyuncs.com/htb/htb-backround-v3/11.png",
"org_name": "维也奢品",
"seller_org_id": 1551,
"org_type": 2,
"buyer_seat_id": 721,
"buyer_org_id": 382,
"buyer_show_name": null,
"buyer_auction_code": "79581",
"buyer_avatar": "https://bang-file.oss-cn-shanghai.aliyuncs.com/htb/headimg/15.png",
"buyer_service_rate": null,
"buyer_service_amount": 0.00,
"channel_amount": 1.80,
"buyer_org_name": null,
"buyer_org_logo_url": null,
"buyer_name": "测试账户",
"buyer_nick_name": "",
"goods_price": null,
"belong_type": null,
"end_at": null,
"pt_goods_num": "8",
"independent_code": "",
"quality_inspection_agency": "",
"auction_name": null,
"auction_type": null,
"start_at": null,
"actual_end_at": null,
"pt_goods_type": 2
}
]
}
],
"total_goods_price": 300.00,
"total_need_pay_amount": 300.00,
"total_service_amount": 0.00,
"total_channel_amount": 1.80,
"fenbei": 238,
"if_vip": true,
"if_annual_fee_vip": true,
"vip_level": 1,
"can_deduction_fenbei": true,
"deduction_fenbei_count": 8,
"deduction_fenbei_amount": 1.80,
"over_deduction_fenbei_amount": 0,
"vip_max_deduction_fenbei_count": 8,
"vip_max_deduction_fenbei_amount": 1.80,
"vip_deduction_id": 18,
"vip_deduction": 6130.40,
"used_deduction_vip_count": 57.60,
"can_deduction_vip_count": 1.80,
"offline_pay_deduct_fenbei_per_match": 20,
"offline_pay_total_deduct_fenbei": 20,
"offline_pay_match_count": 1,
"offline_pay_vip_deduct_fenbei_per_match": 20,
"offline_pay_default_deduct_fenbei_per_match": 0
},
"trace_id": "f347d4cc281b4fcdb0b185aa027a1b7f"
}
修改于 2025-06-05 02:47:04