- 公共分类
- 直播小助手
- 优惠套餐
- 同城配送门店
- 同城配送订单
- 打印机管理
- DIY
- 直播间商品管理
- 自提件点
- 复制商品
- 秒杀商品
- 资金明细
- 预售商品
- 自动标签
- 发票管理
- 助力商品
- 用户管理
- 公告管理
- 拼团商品
- 拼团团队
- 财务管理
- 导入管理
- 保障服务
- Cache
- 分账单
- 分账申请
- 积分管理
- 一号通
- 商品标签
- 商品单位
- 仓库商品
- 身份管理
- 商品管理
- 优惠券
- 对账管理
- 店铺设置
- 导出文件 v1.1.0
- 附件管理
- 附件分类
- 管理员管理
- 配置管理
- 地区管理
- 产品规则模板
- 运费管理
- 客服管理
- 订单管理
- 退款订单
- 商品评价管理
- 统计
- 直播间管理
- 参数模板
- OpenApi
- 系统表单
- 配送员
- 卡密库
- 一次性卡密
- 代客下单
- 预约商品
订单检查接口
开发中
POST
store/behalf/orderCheck
请求参数
Header 参数
x-token
string
可选
默认值:
{{x-token}}
Body 参数multipart/form-data
uid
string
用户id
示例值:
104
cart_ids
array[string]
购物车ids
示例值:
["298","301"]
address_id
string
地址id
示例值:
27
delivery_way
string
必需
示例值:
0
is_free_shipping
string
必需
示例值:
0
use_integral
string
必需
示例值:
0
use_coupon[0]
array[string]
可选
示例值:
["35","28"]
use_coupon[1]
array[string]
可选
示例值:
["44","45"]
use_coupon[2]
array[string]
可选
示例值:
["49","89"]
tourist_unique_key
string
可选
示例值:
cb16abee88343cc6a3b731e36af68816104
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'store/behalf/orderCheck' \
--header 'x-token: {{x-token}}' \
--form 'uid="104"' \
--form 'cart_ids="298"' \
--form 'cart_ids="301"' \
--form 'address_id="27"' \
--form 'delivery_way="0"' \
--form 'is_free_shipping="0"' \
--form 'use_integral="0"' \
--form 'use_coupon[0]="35"' \
--form 'use_coupon[0]="28"' \
--form 'use_coupon[1]="44"' \
--form 'use_coupon[1]="45"' \
--form 'use_coupon[2]="49"' \
--form 'use_coupon[2]="89"' \
--form 'tourist_unique_key="cb16abee88343cc6a3b731e36af68816104"'
返回响应
🟢200成功
application/json
Body
status
integer
必需
message
string
必需
data
object
必需
totalCartNum
integer
购物车商品总数
totalPaymentPrice
integer
实付金额
totalOriginalPrice
number
应付金额
updatedPriceFlag
integer
改价标识
discountDetail
object
优惠明细
couponList
array [object {19}]
优惠券列表
commission_rate
string
必需
commission_switch
integer
必需
integral
object
积分详情
totalShippingAmount
integer
运费
totalDiscountAmount
number
总优惠金额
key
string
订单key
carts
array [object {31}]
购物车信息
address
object
地址信息
usedCoupons
object
已使用优惠券明细
示例
{
"status": 200,
"message": "ok",
"data": {
"totalCartNum": 10,
"totalPaymentPrice": 91.5,
"totalOriginalPrice": 1200,
"discountDetail": {
"updatedDiscountAmount": 120,
"vipDiscountAmount": 0,
"couponsDiscountAmount": 1003
},
"usedCoupons": {
"platform": [
{
"id": 28,
"cartId": 301,
"price": 83.33
},
{
"id": 28,
"cartId": 298,
"price": 916.67
}
],
"merchant": [
{
"id": 45,
"cartId": 301,
"price": 0.01
},
{
"id": 45,
"cartId": 298,
"price": 1.99
}
],
"product": [
{
"id": 49,
"cartId": 301,
"price": 1
}
]
},
"couponList": [
{
"coupon_user_id": 28,
"coupon_id": 19,
"mer_id": 0,
"uid": 104,
"coupon_title": "qqqqq",
"coupon_price": "1000.00",
"use_min_price": 0,
"create_time": "2024-12-18 14:59:42",
"start_time": "2024-12-18 14:59:42",
"end_time": "2025-01-18 14:59:42",
"use_time": null,
"type": "receive",
"send_id": 0,
"status": 0,
"is_fail": 0,
"checked": true,
"product": [],
"coupon": {
"coupon_id": 19,
"mer_id": 0,
"is_timeout": 0,
"start_time": null,
"end_time": null,
"is_limited": 0,
"total_count": 0,
"remain_count": 0,
"send_type": 0,
"full_reduction": "0.00",
"title": "qqqqq",
"coupon_price": "1000",
"use_min_price": 0,
"coupon_type": 0,
"coupon_time": 30,
"use_start_time": null,
"use_end_time": null,
"sort": 0,
"status": 1,
"create_time": "2024-12-04 14:42:19",
"is_del": 0,
"type": 10
},
"disabled": false
},
{
"coupon_user_id": 44,
"coupon_id": 25,
"mer_id": 3,
"uid": 104,
"coupon_title": "3",
"coupon_price": "3.00",
"use_min_price": 0,
"create_time": "2024-12-24 17:23:36",
"start_time": "2024-12-24 17:23:36",
"end_time": "2025-01-24 17:23:36",
"use_time": "2024-12-25 12:00:43",
"type": "receive",
"send_id": 0,
"status": 0,
"is_fail": 0,
"checked": false,
"product": [],
"coupon": {
"coupon_id": 25,
"mer_id": 3,
"is_timeout": 0,
"start_time": null,
"end_time": null,
"is_limited": 0,
"total_count": 0,
"remain_count": 0,
"send_type": 0,
"full_reduction": "0.00",
"title": "3",
"coupon_price": "3",
"use_min_price": 0,
"coupon_type": 0,
"coupon_time": 10,
"use_start_time": null,
"use_end_time": null,
"sort": 0,
"status": 1,
"create_time": "2024-12-18 18:16:55",
"is_del": 0,
"type": 0
},
"disabled": false
},
{
"coupon_user_id": 35,
"coupon_id": 6,
"mer_id": 0,
"uid": 104,
"coupon_title": "测试排序",
"coupon_price": "2.00",
"use_min_price": 0,
"create_time": "2024-12-20 12:03:19",
"start_time": "2024-12-20 12:03:18",
"end_time": "2025-01-09 12:03:18",
"use_time": "2024-12-25 12:00:43",
"type": "receive",
"send_id": 0,
"status": 0,
"is_fail": 0,
"checked": false,
"product": [],
"coupon": {
"coupon_id": 6,
"mer_id": 0,
"is_timeout": 0,
"start_time": null,
"end_time": null,
"is_limited": 0,
"total_count": 0,
"remain_count": 0,
"send_type": 0,
"full_reduction": "0.00",
"title": "测试排序",
"coupon_price": "2",
"use_min_price": 0,
"coupon_type": 0,
"coupon_time": 20,
"use_start_time": null,
"use_end_time": null,
"sort": 0,
"status": 1,
"create_time": "2024-11-14 15:45:48",
"is_del": 0,
"type": 10
},
"disabled": false
},
{
"coupon_user_id": 45,
"coupon_id": 24,
"mer_id": 3,
"uid": 104,
"coupon_title": "2",
"coupon_price": "2.00",
"use_min_price": 0,
"create_time": "2024-12-24 17:23:43",
"start_time": "2024-12-24 17:23:42",
"end_time": "2025-01-23 17:23:42",
"use_time": null,
"type": "receive",
"send_id": 0,
"status": 0,
"is_fail": 0,
"checked": true,
"product": [],
"coupon": {
"coupon_id": 24,
"mer_id": 3,
"is_timeout": 0,
"start_time": null,
"end_time": null,
"is_limited": 0,
"total_count": 0,
"remain_count": 0,
"send_type": 0,
"full_reduction": "0.00",
"title": "2",
"coupon_price": "2",
"use_min_price": 0,
"coupon_type": 0,
"coupon_time": 30,
"use_start_time": null,
"use_end_time": null,
"sort": 0,
"status": 1,
"create_time": "2024-12-18 17:58:35",
"is_del": 0,
"type": 0
},
"disabled": false
},
{
"coupon_user_id": 49,
"coupon_id": 33,
"mer_id": 3,
"uid": 104,
"coupon_title": "大大说的",
"coupon_price": "1.00",
"use_min_price": 0,
"create_time": "2024-12-26 11:29:28",
"start_time": "2024-12-26 11:29:28",
"end_time": "2025-01-17 11:29:28",
"use_time": null,
"type": "receive",
"send_id": 0,
"status": 0,
"is_fail": 0,
"checked": true,
"product": [
{
"product_id": 89,
"coupon_id": 33,
"create_time": "2024-12-26 10:03:56"
},
{
"product_id": 85,
"coupon_id": 33,
"create_time": "2024-12-26 10:03:56"
}
],
"coupon": {
"coupon_id": 33,
"mer_id": 3,
"is_timeout": 0,
"start_time": null,
"end_time": null,
"is_limited": 0,
"total_count": 0,
"remain_count": 0,
"send_type": 0,
"full_reduction": "0.00",
"title": "大大说的",
"coupon_price": "1",
"use_min_price": 0,
"coupon_type": 0,
"coupon_time": 1,
"use_start_time": null,
"use_end_time": null,
"sort": 0,
"status": 1,
"create_time": "2024-12-26 10:03:56",
"is_del": 0,
"type": 1
},
"disabled": false
},
{
"coupon_user_id": 47,
"coupon_id": 36,
"mer_id": 0,
"uid": 104,
"coupon_title": "测试",
"coupon_price": "1.00",
"use_min_price": 0,
"create_time": "2024-12-26 10:38:37",
"start_time": "2024-12-26 10:38:37",
"end_time": "2025-01-17 10:38:37",
"use_time": null,
"type": "receive",
"send_id": 0,
"status": 0,
"is_fail": 0,
"checked": false,
"product": [
{
"product_id": 15,
"coupon_id": 36,
"create_time": "2024-12-26 10:24:39"
},
{
"product_id": 9,
"coupon_id": 36,
"create_time": "2024-12-26 10:24:39"
},
{
"product_id": 8,
"coupon_id": 36,
"create_time": "2024-12-26 10:24:39"
},
{
"product_id": 3,
"coupon_id": 36,
"create_time": "2024-12-26 10:24:39"
},
{
"product_id": 4,
"coupon_id": 36,
"create_time": "2024-12-26 10:24:39"
}
],
"coupon": {
"coupon_id": 36,
"mer_id": 0,
"is_timeout": 0,
"start_time": null,
"end_time": null,
"is_limited": 0,
"total_count": 0,
"remain_count": 0,
"send_type": 0,
"full_reduction": "0.00",
"title": "测试",
"coupon_price": "1",
"use_min_price": 0,
"coupon_type": 0,
"coupon_time": 1,
"use_start_time": null,
"use_end_time": null,
"sort": 1,
"status": 1,
"create_time": "2024-12-26 10:24:40",
"is_del": 0,
"type": 11
},
"disabled": true
},
{
"coupon_user_id": 48,
"coupon_id": 37,
"mer_id": 0,
"uid": 104,
"coupon_title": "跨店券",
"coupon_price": "1.00",
"use_min_price": 0,
"create_time": "2024-12-26 10:38:50",
"start_time": "2024-12-26 10:38:49",
"end_time": "2025-01-24 10:38:49",
"use_time": null,
"type": "receive",
"send_id": 0,
"status": 0,
"is_fail": 0,
"checked": false,
"product": [
{
"product_id": 1,
"coupon_id": 37,
"create_time": "2024-12-26 10:26:53"
}
],
"coupon": {
"coupon_id": 37,
"mer_id": 0,
"is_timeout": 0,
"start_time": null,
"end_time": null,
"is_limited": 0,
"total_count": 0,
"remain_count": 0,
"send_type": 0,
"full_reduction": "0.00",
"title": "跨店券",
"coupon_price": "1",
"use_min_price": 0,
"coupon_type": 0,
"coupon_time": 1,
"use_start_time": null,
"use_end_time": null,
"sort": 0,
"status": 1,
"create_time": "2024-12-26 10:26:53",
"is_del": 0,
"type": 12
},
"disabled": true
}
],
"integral": {
"flag": 1,
"usedNum": 0,
"userIntegral": 200,
"deductionAmount": 20
},
"totalShippingAmount": 14.5,
"totalDiscountAmount": 1123,
"key": "f8ac65cd0001a416344cfe66eb1552f3104",
"carts": [
{
"checkCartProduct": true,
"UserPayCount": true,
"ActiveSku": {
"value_id": 1779,
"product_id": 85,
"detail": {
"颜色": "黑色",
"规格": "整件"
},
"sku": "黑色,整件",
"stock": 11110,
"sales": 0,
"image": "",
"bar_code": "2222222222",
"cost": "0.00",
"ot_price": "10.00",
"price": "10.00",
"volume": "3.00",
"weight": "2.00",
"type": 0,
"extension_one": "0.00",
"extension_two": "0.00",
"unique": "3e78087a39b0",
"svip_price": "0.00",
"library_id": 0,
"bar_code_number": "",
"is_default_select": 0,
"is_show": 1
},
"spu": {
"spu_id": 48,
"store_name": "母鸡啊"
},
"cart_id": 301,
"uid": 104,
"mer_id": 3,
"product_type": 0,
"product_id": 85,
"product_attr_unique": "3e78087a39b0",
"cart_num": 9,
"create_time": "2024-12-26 12:14:03",
"source": 0,
"source_id": 0,
"is_pay": 0,
"is_del": 0,
"is_new": 0,
"is_fail": 0,
"spread_id": 0,
"tourist_unique_key": "",
"totalAmount": 90,
"updatedTotalAmount": 0,
"vipTotalAmount": 0,
"useSvip": 0,
"paymentPrice": 5.66,
"updatedDiscountAmount": 0,
"vipDiscountAmount": 0,
"couponsDiscount": 84.34,
"product": {
"product_id": 85,
"cate_id": 12,
"image": "https://crmebmer.oss-cn-beijing.aliyuncs.com/def/cd997202411271005331641.jpg",
"store_name": "母鸡啊",
"is_show": 1,
"status": 1,
"is_del": 0,
"unit_name": "个",
"price": "10.00",
"mer_status": 1,
"temp_id": 8,
"give_coupon_ids": [],
"is_gift_bag": 0,
"is_used": 1,
"product_type": 0,
"old_product_id": 0,
"integral_rate": -1,
"delivery_way": "2",
"delivery_free": 0,
"type": 0,
"extend": "",
"pay_limit": 0,
"once_max_count": 0,
"once_min_count": 0,
"mer_svip_status": 1,
"svip_price_type": 0,
"refund_switch": 1,
"mer_form_id": 0,
"active_id": 0,
"temp": {
"shipping_template_id": 8,
"name": "莫名其妙",
"type": 0,
"appoint": 1,
"undelivery": 0,
"mer_id": 3,
"is_default": 0,
"sort": 0,
"create_time": "2024-12-18 16:58:31",
"info": "莫名其妙",
"aggregate": 10,
"region": [
{
"shipping_template_region_id": 37,
"temp_id": 8,
"city_id": "/3247/6593/39374/",
"first": "1.00",
"first_price": "10.00",
"continue": "2.00",
"continue_price": "1.00"
}
],
"undelives": null,
"free": []
},
"storeCategory": {
"store_category_id": 12,
"cate_name": "满天星"
}
},
"productAttr": {
"bc_extension_one": 1,
"bc_extension_two": 0.5,
"value_id": 1779,
"image": "",
"extension_one": "0.00",
"extension_two": "0.00",
"product_id": 85,
"stock": 11110,
"price": "10.00",
"unique": "3e78087a39b0",
"sku": "黑色,整件",
"volume": "3.00",
"weight": "2.00",
"ot_price": "10.00",
"cost": "0.00",
"svip_price": "0.00",
"library_id": 0,
"bar_code": "2222222222",
"bar_code_number": "",
"product": {
"product_id": 85,
"mer_id": 3,
"store_name": "母鸡啊",
"store_info": "",
"keyword": "",
"bar_code": "",
"brand_id": 0,
"is_show": 1,
"status": 1,
"is_del": 0,
"mer_status": 1,
"cate_id": 12,
"unit_name": "个",
"sort": 0,
"rank": 0,
"sales": 0,
"price": "10.00",
"cost": "0.00",
"ot_price": "10.00",
"stock": 44440,
"is_hot": 0,
"is_benefit": 0,
"is_best": 0,
"is_new": 0,
"is_good": 0,
"product_type": 0,
"ficti": 0,
"browse": 0,
"code_path": "",
"video_link": "",
"temp_id": 8,
"spec_type": 1,
"extension_type": 0,
"refusal": null,
"rate": "5.0",
"reply_count": 0,
"give_coupon_ids": [],
"is_gift_bag": 0,
"create_time": "2024-12-03 11:29:58",
"care_count": 0,
"is_used": 1,
"old_product_id": 0,
"image": "https://crmebmer.oss-cn-beijing.aliyuncs.com/def/cd997202411271005331641.jpg",
"slider_image": [
"https://crmebmer.oss-cn-beijing.aliyuncs.com/def/def13202411271005347040.jpg"
],
"guarantee_template_id": 0,
"once_max_count": 0,
"once_min_count": 0,
"integral_rate": -1,
"integral_total": 0,
"integral_price_total": "0.00",
"labels": "",
"delivery_way": "2",
"delivery_free": 0,
"type": 0,
"extend": "",
"pay_limit": 0,
"svip_price_type": 0,
"svip_price": 0,
"mer_svip_status": 1,
"param_temp_id": "1",
"refund_switch": 1,
"delete": 0,
"mer_form_id": 0,
"good_ids": [],
"auto_on_time": null,
"auto_off_time": null,
"active_id": 0,
"cate_hot": 0,
"bar_code_number": ""
}
}
},
{
"checkCartProduct": true,
"UserPayCount": true,
"ActiveSku": {
"value_id": 3170,
"product_id": 89,
"detail": {
"颜色": "黑色",
"规格": "单件"
},
"sku": "黑色,单件",
"stock": 111110,
"sales": 0,
"image": "",
"bar_code": "",
"cost": "0.00",
"ot_price": "110.00",
"price": "1110.00",
"volume": "0.00",
"weight": "0.00",
"type": 0,
"extension_one": "0.00",
"extension_two": "0.00",
"unique": "68163abf2240",
"svip_price": "999.00",
"library_id": 0,
"bar_code_number": "",
"is_default_select": 1,
"is_show": 1
},
"spu": {
"spu_id": 52,
"store_name": "1899年"
},
"cart_id": 298,
"uid": 104,
"mer_id": 3,
"product_type": 0,
"product_id": 89,
"product_attr_unique": "68163abf2240",
"cart_num": 1,
"create_time": "2024-12-25 14:53:14",
"source": 0,
"source_id": 89,
"is_pay": 0,
"is_del": 0,
"is_new": 0,
"is_fail": 0,
"spread_id": 0,
"tourist_unique_key": "",
"totalAmount": 1110,
"updatedTotalAmount": 990,
"vipTotalAmount": 0,
"useSvip": 0,
"paymentPrice": 71.34,
"updatedDiscountAmount": 120,
"vipDiscountAmount": 0,
"couponsDiscount": 918.66,
"product": {
"product_id": 89,
"cate_id": 1199,
"image": "https://crmebmer.oss-cn-beijing.aliyuncs.com/def/cd997202411271005331641.jpg",
"store_name": "1899年",
"is_show": 1,
"status": 1,
"is_del": 0,
"unit_name": "个",
"price": "1110.00",
"mer_status": 1,
"temp_id": 8,
"give_coupon_ids": [],
"is_gift_bag": 0,
"is_used": 1,
"product_type": 0,
"old_product_id": 0,
"integral_rate": -1,
"delivery_way": "2,1",
"delivery_free": 0,
"type": 0,
"extend": "",
"pay_limit": 0,
"once_max_count": 0,
"once_min_count": 0,
"mer_svip_status": 1,
"svip_price_type": 1,
"refund_switch": 1,
"mer_form_id": 0,
"active_id": 0,
"temp": {
"shipping_template_id": 8,
"name": "莫名其妙",
"type": 0,
"appoint": 1,
"undelivery": 0,
"mer_id": 3,
"is_default": 0,
"sort": 0,
"create_time": "2024-12-18 16:58:31",
"info": "莫名其妙",
"aggregate": 10,
"region": [
{
"shipping_template_region_id": 37,
"temp_id": 8,
"city_id": "/3247/6593/39374/",
"first": "1.00",
"first_price": "10.00",
"continue": "2.00",
"continue_price": "1.00"
}
],
"undelives": null,
"free": []
},
"storeCategory": null
},
"productAttr": {
"bc_extension_one": 111,
"bc_extension_two": 55.5,
"value_id": 3170,
"image": "",
"extension_one": "0.00",
"extension_two": "0.00",
"product_id": 89,
"stock": 111110,
"price": "1110.00",
"unique": "68163abf2240",
"sku": "黑色,单件",
"volume": "0.00",
"weight": "0.00",
"ot_price": "110.00",
"cost": "0.00",
"svip_price": "999.00",
"library_id": 0,
"bar_code": "",
"bar_code_number": "",
"new_price": "990.00",
"product": {
"product_id": 89,
"mer_id": 3,
"store_name": "1899年",
"store_info": "",
"keyword": "",
"bar_code": "",
"brand_id": 0,
"is_show": 1,
"status": 1,
"is_del": 0,
"mer_status": 1,
"cate_id": 1199,
"unit_name": "个",
"sort": 0,
"rank": 0,
"sales": 0,
"price": "1110.00",
"cost": "0.00",
"ot_price": "110.00",
"stock": 444440,
"is_hot": 0,
"is_benefit": 0,
"is_best": 0,
"is_new": 0,
"is_good": 0,
"product_type": 0,
"ficti": 0,
"browse": 0,
"code_path": "",
"video_link": "",
"temp_id": 8,
"spec_type": 1,
"extension_type": 0,
"refusal": null,
"rate": "5.0",
"reply_count": 0,
"give_coupon_ids": [],
"is_gift_bag": 0,
"create_time": "2024-12-04 16:24:18",
"care_count": 0,
"is_used": 1,
"old_product_id": 0,
"image": "https://crmebmer.oss-cn-beijing.aliyuncs.com/def/cd997202411271005331641.jpg",
"slider_image": [
"https://crmebmer.oss-cn-beijing.aliyuncs.com/def/cd997202411271005331641.jpg"
],
"guarantee_template_id": 0,
"once_max_count": 0,
"once_min_count": 0,
"integral_rate": -1,
"integral_total": 0,
"integral_price_total": "0.00",
"labels": "",
"delivery_way": "2,1",
"delivery_free": 0,
"type": 0,
"extend": "",
"pay_limit": 0,
"svip_price_type": 1,
"svip_price": "999.00",
"mer_svip_status": 1,
"param_temp_id": "2",
"refund_switch": 1,
"delete": 0,
"mer_form_id": 0,
"good_ids": [],
"auto_on_time": null,
"auto_off_time": null,
"active_id": 0,
"cate_hot": 0,
"bar_code_number": ""
}
}
}
],
"address": {
"address_id": 27,
"uid": 104,
"real_name": "weeks",
"phone": "13299998888",
"province": "陕西省",
"province_id": 39374,
"city": "渭南市",
"city_id": 39894,
"district": "白水县",
"district_id": 40000,
"street": "尧禾镇",
"street_id": 40002,
"detail": "hhhhh",
"post_code": 0,
"longitude": "0",
"latitude": "0",
"is_default": 1,
"is_del": 0,
"create_time": "2024-12-19 15:36:27"
}
}
}
修改于 2025-02-12 02:39:20