- 公共分类
- 直播小助手
- 优惠套餐
- 同城配送门店
- 同城配送订单
- 打印机管理
- DIY
- 直播间商品管理
- 自提件点
- 复制商品
- 秒杀商品
- 资金明细
- 预售商品
- 自动标签
- 发票管理
- 助力商品
- 用户管理
- 公告管理
- 拼团商品
- 拼团团队
- 财务管理
- 导入管理
- 保障服务
- Cache
- 分账单
- 分账申请
- 积分管理
- 一号通
- 商品标签
- 商品单位
- 仓库商品
- 身份管理
- 商品管理
- 优惠券
- 对账管理
- 店铺设置
- 导出文件 v1.1.0
- 附件管理
- 附件分类
- 管理员管理
- 配置管理
- 地区管理
- 产品规则模板
- 运费管理
- 客服管理
- 员工管理
- 订单管理
- 退款订单
- 商品评价管理
- 统计
- 直播间管理
- 参数模板
- OpenApi
- 系统表单
- 配送员
- 卡密库
- 一次性卡密
- 代客下单
- 预约商品
预约商品新增
开发中
POST
/store/reservation/product/create
请求参数
Header 参数
x-token
string
可选
默认值:
{{x-token}}
Body 参数application/json
image
string
必需
slider_image
array[string]
必需
store_name
string
必需
store_info
string
必需
keyword
string
必需
brand_id
integer
必需
cate_id
integer
必需
mer_cate_id
array[integer]
必需
param_temp_id
string
必需
unit_name
string
必需
sort
integer
必需
once_max_count
integer
必需
is_good
integer
必需
temp_id
integer
必需
video_link
string
必需
guarantee_template_id
string
必需
delivery_way
array[string]
必需
mer_labels
array[string]
必需
delivery_free
integer
必需
pay_limit
integer
必需
once_min_count
integer
必需
svip_price_type
integer
必需
refund_switch
integer
必需
params
array[string]
必需
attrValue
array [object {15}]
必需
image
string
可选
price
integer
可选
cost
integer
可选
ot_price
integer
可选
svip_price
null
可选
select
boolean
可选
stock
integer
可选
cdkey
object
可选
library_name
string
可选
library_id
string
可选
bar_code
string
可选
bar_code_number
string
可选
weight
integer
可选
volume
integer
可选
reservation
array [object {3}]
预约规格信息
attr
array[string]
必需
extension_type
integer
必需
integral_rate
integer
必需
content
string
必需
spec_type
integer
必需
give_coupon_ids
array[string]
必需
is_gift_bag
integer
必需
couponData
array[string]
必需
extend
array[string]
必需
type
integer
必需
product_type
integer
必需
is_show
integer
必需
good_ids
array[string]
必需
auto_off_time
string
必需
reservation_time_type
integer
预约时段划分类型
reservation_start_time
string
预约开始时间
reservation_end_time
string
预约结束时间
reservation_time_interval
integer
时间跨度
time_period
array [object {3}]
时间段数组
start
string
开始时段
end
string
结束时段
is_show
integer
是否展示
reservation_type
integer
预约类型
sale_time_type
integer
可售日期
sale_time_start_day
string
可售日期自定义开始
sale_time_end_day
string
可售日期自定义结束
sale_time_week
array[integer]
可售日期周数据
show_reservation_days
integer
显示日期范围
show_num_type
integer
是否展示可约数量
is_advance
integer
是否提前预约
advance_time
integer
提前预约时间
is_cancel_reservation
integer
是否可取消预约
cancel_reservation_time
integer
取消预约提前时间
reservation_form_type
integer
预约表单类型
示例
{
"image": "https://crmebmer.oss-cn-beijing.aliyuncs.com/attach/2025/04/14/89c5a389d242dd73b6aa6cd7730eed6d.png",
"slider_image": [
"https://crmebmer.oss-cn-beijing.aliyuncs.com/attach/2025/04/14/2e51e27b3718a5200219d770dab94840.png",
"https://crmebmer.oss-cn-beijing.aliyuncs.com/attach/2025/04/14/89c5a389d242dd73b6aa6cd7730eed6d.png",
"https://crmebmer.oss-cn-beijing.aliyuncs.com/attach/2025/04/14/7b5c4023d0115f3fdd9be4b820b27972.jpg",
"https://crmebmer.oss-cn-beijing.aliyuncs.com/attach/2025/04/14/0dff638bb7bb70bfe94415fb0f6e7e6a.jpg",
"https://crmebmer.oss-cn-beijing.aliyuncs.com/attach/2025/04/14/0ef689fd9639ba5839fcfdbc93e86bb5.jpg",
"https://crmebmer.oss-cn-beijing.aliyuncs.com/attach/2025/04/14/0ef689fd9639ba5839fcfdbc93e86bb5.jpg",
"https://crmebmer.oss-cn-beijing.aliyuncs.com/attach/2025/03/28/f7c3d9bd4d5a5275e90fa6d283f076ca.jpg"
],
"store_name": "预约服务dasdasd",
"store_info": "",
"keyword": "",
"brand_id": 7,
"cate_id": 12,
"mer_cate_id": [
19
],
"param_temp_id": "",
"unit_name": "次",
"sort": 0,
"once_max_count": 0,
"is_good": 1,
"temp_id": 1,
"video_link": "",
"guarantee_template_id": "",
"delivery_way": [
"1",
"2"
],
"mer_labels": [],
"delivery_free": 0,
"pay_limit": 0,
"once_min_count": 0,
"svip_price_type": 0,
"refund_switch": 1,
"params": [],
"attrValue": [
{
"image": "https://crmebmer.oss-cn-beijing.aliyuncs.com/attach/2025/04/14/89c5a389d242dd73b6aa6cd7730eed6d.png",
"price": 100,
"cost": 89,
"ot_price": 999,
"svip_price": null,
"select": false,
"stock": 2,
"cdkey": {},
"library_name": "",
"library_id": "",
"bar_code": "",
"bar_code_number": "",
"weight": 0,
"volume": 0,
"reservation": [
{
"start_time": "10:00",
"end_time": "10:00",
"stock": "10"
},
{
"start_time": "10:00",
"end_time": "10:00",
"stock": "10"
}
]
}
],
"attr": [],
"extension_type": 0,
"integral_rate": -1,
"content": "<p>2dasd啊</p>",
"spec_type": 0,
"give_coupon_ids": [],
"is_gift_bag": 0,
"couponData": [],
"extend": [],
"type": 4,
"product_type": 0,
"is_show": 1,
"good_ids": [],
"auto_off_time": "",
"reservation_time_type": 1,
"reservation_start_time": "10:00",
"reservation_end_time": "11:00",
"reservation_time_interval": 10,
"time_period": [
{
"start": "10:00",
"end": "11:00",
"is_show": 1
},
{
"start": "11:00",
"end": "12:00",
"is_show": 1
},
{
"start": "12:00",
"end": "13:00",
"is_show": 1
},
{
"start": "13:00",
"end": "14:00",
"is_show": 1
}
],
"reservation_type": 1,
"sale_time_type": 2,
"sale_time_start_day": "2025-4-21",
"sale_time_end_day": "2025-4-21",
"sale_time_week": [
1,
2,
3,
4,
5,
6,
7
],
"show_reservation_days": 10,
"show_num_type": 1,
"is_advance": 1,
"advance_time": 1,
"is_cancel_reservation": 1,
"cancel_reservation_time": 2
}
示例代码
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/reservation/product/create' \
--header 'x-token: {{x-token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"image": "https://crmebmer.oss-cn-beijing.aliyuncs.com/attach/2025/04/14/89c5a389d242dd73b6aa6cd7730eed6d.png",
"slider_image": [
"https://crmebmer.oss-cn-beijing.aliyuncs.com/attach/2025/04/14/2e51e27b3718a5200219d770dab94840.png",
"https://crmebmer.oss-cn-beijing.aliyuncs.com/attach/2025/04/14/89c5a389d242dd73b6aa6cd7730eed6d.png",
"https://crmebmer.oss-cn-beijing.aliyuncs.com/attach/2025/04/14/7b5c4023d0115f3fdd9be4b820b27972.jpg",
"https://crmebmer.oss-cn-beijing.aliyuncs.com/attach/2025/04/14/0dff638bb7bb70bfe94415fb0f6e7e6a.jpg",
"https://crmebmer.oss-cn-beijing.aliyuncs.com/attach/2025/04/14/0ef689fd9639ba5839fcfdbc93e86bb5.jpg",
"https://crmebmer.oss-cn-beijing.aliyuncs.com/attach/2025/04/14/0ef689fd9639ba5839fcfdbc93e86bb5.jpg",
"https://crmebmer.oss-cn-beijing.aliyuncs.com/attach/2025/03/28/f7c3d9bd4d5a5275e90fa6d283f076ca.jpg"
],
"store_name": "预约服务dasdasd",
"store_info": "",
"keyword": "",
"brand_id": 7,
"cate_id": 12,
"mer_cate_id": [
19
],
"param_temp_id": "",
"unit_name": "次",
"sort": 0,
"once_max_count": 0,
"is_good": 1,
"temp_id": 1,
"video_link": "",
"guarantee_template_id": "",
"delivery_way": [
"1",
"2"
],
"mer_labels": [],
"delivery_free": 0,
"pay_limit": 0,
"once_min_count": 0,
"svip_price_type": 0,
"refund_switch": 1,
"params": [],
"attrValue": [
{
"image": "https://crmebmer.oss-cn-beijing.aliyuncs.com/attach/2025/04/14/89c5a389d242dd73b6aa6cd7730eed6d.png",
"price": 100,
"cost": 89,
"ot_price": 999,
"svip_price": null,
"select": false,
"stock": 2,
"cdkey": {},
"library_name": "",
"library_id": "",
"bar_code": "",
"bar_code_number": "",
"weight": 0,
"volume": 0,
"reservation":[
{
"start_time":"10:00",
"end_time":"10:00",
"stock":"10"
},
{
"start_time":"10:00",
"end_time":"10:00",
"stock":"10"
}
]
}
],
"attr": [],
"extension_type": 0,
"integral_rate": -1,
"content": "<p>2dasd啊</p>",
"spec_type": 0,
"give_coupon_ids": [],
"is_gift_bag": 0,
"couponData": [],
"extend": [],
"type": 4,
"product_type": 0,
"is_show": 1,
"good_ids": [],
"auto_off_time": "",
"reservation_time_type":1,
"reservation_start_time":"10:00",
"reservation_end_time":"11:00",
"reservation_time_interval":10,
"time_period":[
{"start":"10:00", "end":"11:00", "is_show":1},
{"start":"11:00", "end":"12:00", "is_show":1},
{"start":"12:00", "end":"13:00", "is_show":1},
{"start":"13:00", "end":"14:00", "is_show":1}
],
"reservation_type":1,
"sale_time_type":2,
"sale_time_start_day":"2025-4-21",
"sale_time_end_day":"2025-4-21",
"sale_time_week":[1,2,3,4,5,6,7],
"show_reservation_days":10,
"show_num_type":1,
"is_advance":1,
"advance_time":1,
"is_cancel_reservation":1,
"cancel_reservation_time":2
}'
返回响应
🟢200成功
application/json
Body
status
integer
必需
message
string
必需
data
integer
必需
示例
{
"status": 200,
"message": "创建成功",
"data": 381
}