文档
测试

生成订单

POST
https://youxuanvip.vip/api/order/confirm

接口描述

订单确认接口 ------ 已开始默认的提货卡是goodsCard 参数里的数据

请求头

参数名
类型
描述
必填
authori-zation
string
示例:Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ5b3V4dWFudmlwLnZpcCIsImF1ZCI6InlvdXh1YW52aXAudmlwIiwiaWF0IjoxNjE2MjE5NTQyLCJuYmYiOjE2MTYyMTk1NDIsImV4cCI6MTYxNjIzMDM0MiwianRpIjp7ImlkIjoxNDk3MTMsInR5cGUiOiJ1c2VyIn19.cFZxaVgsBwhzF6rZdnH6SLNA5I5-vu4qphy-yLkhiNQ
必填

请求参数

参数名
类型
描述
必填
cartId
int
示例:7674
必填

响应参数

参数名
类型
描述
必填
status
int
示例:200
必填
msg
string
示例:ok
必填
data
object
数据字典
必填
deduction
boolean
示例:false
必填
usableCoupon
object
示例:null
必填
addressInfo
object
数据字典
必填
id
int
示例:5367
必填
real_name
string
示例:123123
必填
phone
string
示例:18230559183
必填
province
string
示例:辽宁省
必填
city
string
示例:葫芦岛市
必填
city_id
int
示例:131738
必填
district
string
示例:连山区
必填
detail
string
示例:123123
必填
post_code
int
示例:0
必填
longitude
string
示例:0
必填
latitude
string
示例:0
必填
is_default
int
示例:1
必填
seckill_id
int
示例:0
必填
combination_id
int
示例:0
必填
bargain_id
int
示例:0
必填
cartInfo
array
数据列表
必填
id
int
示例:7674
必填
type
string
示例:product
必填
product_id
int
示例:1113
必填
product_attr_unique
string
示例:5c8191d8
必填
cart_num
int
示例:1
必填
combination_id
int
示例:0
必填
seckill_id
int
示例:0
必填
bargain_id
int
示例:0
必填
is_jifen_type
int
示例:2
必填
product_type
int
示例:2
必填
productInfo
object
数据字典
必填
id
int
示例:1113
必填
image
string
示例:https://zhangweimall.shop//uploads/attach/2020/pic_file//20201229/a6668e4eb36f00a124ca4dd574d17964.jpg
必填
price
string
示例:1699.00
必填
ot_price
string
示例:2999.00
必填
vip_price
string
示例:0.00
必填
postage
string
示例:0.00
必填
give_integral
string
示例:0.00
必填
sales
int
示例:44
必填
stock
int
示例:129
必填
store_name
string
示例:康佳牌 暖风机(对流取暖器)家用取暖器大功率电暖器立式电暖风 KH-DL1902R
必填
brand_id
int
示例:0
必填
is_sb
int
示例:0
必填
is_sb_type
int
示例:0
必填
unit_name
string
示例:件
必填
is_postage
int
示例:0
必填
cost
string
示例:165.00
必填
is_sub
int
示例:0
必填
temp_id
int
示例:1
必填
is_jifen_type
int
示例:1
必填
points
int
示例:999
必填
is_benefit
int
示例:0
必填
attrInfo
object
数据字典
必填
product_id
int
示例:1113
必填
suk
string
示例:默认
必填
stock
int
示例:129
必填
sales
int
示例:21
必填
price
string
示例:1699.00
必填
image
string
示例:https://zhangweimall.shop//uploads/attach/2020/pic_file//20201229/a6668e4eb36f00a124ca4dd574d17964.jpg
必填
unique
string
示例:5c8191d8
必填
cost
string
示例:165.00
必填
bar_code
string
示例:
必填
ot_price
string
示例:2999.00
必填
weight
string
示例:0.00
必填
volume
string
示例:0.00
必填
brokerage
string
示例:0.00
必填
brokerage_two
string
示例:0.00
必填
type
int
示例:0
必填
quota
int
示例:0
必填
quota_show
int
示例:0
必填
pickup
string
示例:0.00
必填
truePrice
int
示例:1699
必填
vip_truePrice
int
示例:0
必填
trueStock
int
示例:129
必填
costPrice
string
示例:165.00
必填
points_num
int
示例:999
必填
price_num
int
示例:1300
必填
product_type
int
示例:2
必填
priceGroup
object
数据字典
必填
storePostage
int
示例:0
必填
storeFreePostage
int
示例:1000
必填
totalPrice
string
示例:1699.00
必填
costPrice
string
示例:165.00
必填
vipPrice
string
示例:0.00
必填
orderKey
string
示例:ecb89cba1b2dca55a97f47751ece58e2
必填
offlinePostage
string
示例:0
必填
userInfo
object
数据字典
必填
uid
int
示例:149713
必填
account
string
示例:18230559183
必填
real_name
string
示例:贾月寒
必填
birthday
int
示例:0
必填
card_id
string
示例:4309212001030661515
必填
partner_id
int
示例:0
必填
group_id
int
示例:0
必填
nickname
string
示例:3d04616ba6b1
必填
avatar
string
示例:/static/images/userPhoto.png
必填
phone
string
示例:18230559183
必填
now_money
string
示例:0.00
必填
brokerage_price
string
示例:0.00
必填
integral
string
示例:5262.00
必填
sign_num
int
示例:0
必填
level
int
示例:0
必填
spread_level
int
示例:0
必填
spread_uid
int
示例:0
必填
spread_time
int
示例:0
必填
user_type
string
示例:h5
必填
is_promoter
int
示例:1
必填
pay_count
int
示例:2
必填
spread_count
int
示例:0
必填
addres
string
示例:地球 -- 中国
必填
adminid
int
示例:0
必填
login_type
string
示例:
必填
path
string
示例:user
必填
first_shop
int
示例:0
必填
city
string
示例:地球
必填
qu_phone
string
示例:
必填
is_promoter_type
int
示例:1
必填
weixin
string
示例:
必填
vip_type
int
示例:0
必填
clientid
string
示例:3da01492201944c42ec96233b339c137
必填
agreement
int
示例:1
必填
vip
boolean
示例:false
必填
integralRatio
string
示例:1
必填
offline_pay_status
int
示例:2
必填
store_self_mention
int
示例:1
必填
system_store
array
数据列表
必填
is_sb
object
示例:null
必填
goodsCard
object
数据字典
必填
id
int
示例:60267
必填
cart_number
string
示例:DI4BUXYP
必填
price
int
示例:3980
必填
cart_password
string
示例:
必填
coupon_time
int
示例:365
必填
cart_name
string
示例:京东提货卡
必填
bind_time
string
示例:2021-03-19 15:56:16
必填
isBonuspoints
int
示例:0
必填