- 基础接口
- apple登陆POST
- 主题类型GET
- 获取个人中心菜单GET
- 图片上传POST
- 获取登录授权logoGET
- 获取网站基础配置GET
- 获取配置是否强制绑定手机号GET
- 门店自提开启状态GET
- 公众号支付回调GET
- 小程序支付回调GET
- 支付回调GET
- 图片验证码GET
- 获取发短信的codeGET
- 验证码发送POST
- 手机号注册POST
- 手机号验证码登录POST
- 账号密码登陆POST
- 手机号修改密码POST
- 绑定手机号POST
- 记录用户分享POST
- 分享配置GET
- 获取图片base64POST
- 海报二维码GET
- 优惠券列表_copy(已废弃)GET
- 添加登录用户的访问记录POST
- 用户关键字分享GET
- 复制口令接口GET
- 获取多语言类型列表GET
- 获取当前语言jsonGET
- 首页
- 文章
- 商品
- 优惠券
- 签到
- 秒杀
- 拼团
- 预售
- 砍价
- 购物车
- 积分商城
- 订单
- 微信
- 用户
- 客服
- 个人中心->付费会员
- 个人中心->发票管理
- 个人中心->积分中心
- 个人中心->我的等级
- 个人中心->统计管理
- 个人中心->我的推广
- 个人中心->地址信息
- 个人中心->我的收藏
- 个人中心->消息中心
- 个人中心->我的余额
- PC端
订单确认
POST
/order/confirm
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/x-www-form-urlencoded
Body 参数multipart/form-data
cartId
必需
示例值:
1
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/order/confirm' \
--form 'cartId="1"'
返回响应
🟢200成功
application/json
Body
status
number
可选
msg
string
可选
data
object
可选
deduction
boolean
订单是否是活动订单
addressInfo
object
用户默认地址
seckill_id
number
秒杀ID
combination_id
number
拼团ID
bargain_id
number
砍价ID
cartInfo
array [object {20}]
购物车信息
priceGroup
object
金额信息
orderKey
string
订单key
offlinePostage
string
线下付款运费
userInfo
object
用户信息
integralRatio
string
积分开关
offline_pay_status
number
线下付款开关
yue_pay_status
number
余额开关
pay_weixin_open
number
微信支付开关
store_self_mention
number
可选
ali_pay_status
boolean
支付宝开关
system_store
array[string]
到店自提店铺
invoice_func
boolean
可选
special_invoice
boolean
可选
示例
{
"status": 0,
"msg": "string",
"data": {
"deduction": true,
"addressInfo": {
"id": 0,
"uid": 0,
"real_name": "string",
"phone": "string",
"province": "string",
"city": "string",
"city_id": 0,
"district": "string",
"detail": "string",
"post_code": 0,
"longitude": "string",
"latitude": "string",
"is_default": 0
},
"seckill_id": 0,
"combination_id": 0,
"bargain_id": 0,
"cartInfo": [
{
"id": 0,
"uid": 0,
"type": "string",
"product_id": 0,
"product_attr_unique": "string",
"cart_num": 0,
"add_time": 0,
"is_pay": 0,
"is_del": 0,
"is_new": 0,
"combination_id": 0,
"seckill_id": 0,
"bargain_id": 0,
"status": 0,
"productInfo": {
"id": 0,
"mer_id": 0,
"image": "string",
"recommend_image": "string",
"slider_image": [
"string"
],
"store_name": "string",
"store_info": "string",
"keyword": "string",
"bar_code": "string",
"cate_id": "string",
"price": "string",
"vip_price": "string",
"ot_price": "string",
"postage": "string",
"unit_name": "string",
"sort": 0,
"sales": 0,
"stock": 0,
"is_show": 0,
"is_hot": 0,
"is_benefit": 0,
"is_best": 0,
"is_new": 0,
"add_time": 0,
"is_postage": 0,
"is_del": 0,
"mer_use": 0,
"give_integral": "string",
"cost": "string",
"is_seckill": 0,
"is_bargain": null,
"is_good": 0,
"is_sub": 0,
"is_vip": 0,
"ficti": 0,
"browse": 0,
"code_path": "string",
"soure_link": "string",
"video_link": "string",
"temp_id": 0,
"spec_type": 0,
"activity": "string",
"spu": "string",
"label_id": "string",
"command_word": "string",
"attrInfo": {
"product_id": 0,
"suk": "string",
"stock": 0,
"sales": 0,
"price": "string",
"image": "string",
"unique": "string",
"cost": "string",
"bar_code": "string",
"ot_price": "string",
"vip_price": "string",
"weight": "string",
"volume": "string",
"brokerage": "string",
"brokerage_two": "string",
"type": 0,
"quota": 0,
"quota_show": 0
}
},
"attrStatus": true,
"costPrice": "string",
"trueStock": 0,
"truePrice": "string",
"vip_truePrice": 0
}
],
"priceGroup": {
"storePostage": "string",
"storeFreePostage": 0,
"totalPrice": "string",
"costPrice": "string",
"vipPrice": "string",
"storePostageDiscount": 0
},
"orderKey": "string",
"offlinePostage": "string",
"userInfo": {
"uid": 0,
"real_name": "string",
"birthday": 0,
"card_id": "string",
"mark": "string",
"partner_id": 0,
"group_id": 0,
"nickname": "string",
"avatar": "string",
"phone": "string",
"add_time": 0,
"last_time": 0,
"now_money": "string",
"brokerage_price": "string",
"integral": 0,
"exp": "string",
"sign_num": 0,
"status": 0,
"level": 0,
"spread_open": 0,
"spread_uid": 0,
"spread_time": 0,
"user_type": "string",
"is_promoter": 0,
"pay_count": 0,
"spread_count": 0,
"addres": "string",
"adminid": 0,
"login_type": "string",
"record_phone": "string",
"is_money_level": 0,
"is_ever_level": 0,
"overdue_time": 0,
"uniqid": "string",
"vip": true,
"vip_id": 0,
"discount": 0
},
"integralRatio": "string",
"offline_pay_status": 0,
"yue_pay_status": 0,
"pay_weixin_open": 0,
"store_self_mention": 0,
"ali_pay_status": true,
"system_store": [
"string"
],
"invoice_func": true,
"special_invoice": true
}
}
修改于 2022-05-05 08:15:40