- 公共分类
- 直播小助手
- 优惠套餐
- 同城配送门店
- 同城配送订单
- 打印机管理
- DIY
- 直播间商品管理
- 自提件点
- 复制商品
- 秒杀商品
- 资金明细
- 预售商品
- 自动标签
- 发票管理
- 助力商品
- 用户管理
- 公告管理
- 拼团商品
- 拼团团队
- 财务管理
- 导入管理
- 保障服务
- Cache
- 分账单
- 分账申请
- 积分管理
- 一号通
- 商品标签
- 商品单位
- 仓库商品
- 身份管理
- 商品管理
- 优惠券
- 对账管理
- 店铺设置
- 导出文件 v1.1.0
- 附件管理
- 附件分类
- 管理员管理
- 配置管理
- 地区管理
- 产品规则模板
- 运费管理
- 客服管理
- 员工管理
- 订单管理
- 退款订单
- 商品评价管理
- 统计
- 直播间管理
- 参数模板
- OpenApi
- 系统表单
- 配送员
- 卡密库
- 一次性卡密
- 代客下单
- 预约商品
添加
开发中
POST
/store/seckill_product/create
秒杀商品
请求参数
Header 参数
x-token
string
可选
默认值:
{{x-token}}
Body 参数application/json
start_day
string
可选
end_day
string
可选
start_time
string
可选
end_time
string
可选
once_pay_count
string
可选
all_pay_count
string
可选
old_product_id
number
可选
image
string
可选
slider_image
array[string]
可选
store_name
string
可选
store_info
string
可选
keyword
string
可选
brand_id
number
可选
cate_id
number
可选
mer_cate_id
array[number]
可选
unit_name
string
可选
sort
number
可选
is_good
number
可选
temp_id
number
可选
attr
array[string]
可选
extension_type
number
可选
content
string
可选
spec_type
number
可选
give_coupon_ids
array[string]
可选
is_gift_bag
number
可选
attrValue
array [object {17}]
可选
product_id
number
可选
detail
string
可选
sku
string
可选
stock
number
可选
sales
number
可选
image
string
可选
bar_code
string
可选
cost
string
可选
ot_price
string
可选
price
string
可选
volume
string
可选
weight
string
可选
type
number
可选
extension_one
string
可选
extension_two
string
可选
unique
string
可选
value0
string
可选
示例
{
"start_day": "string",
"end_day": "string",
"start_time": "string",
"end_time": "string",
"once_pay_count": "string",
"all_pay_count": "string",
"old_product_id": 0,
"image": "string",
"slider_image": [
"string"
],
"store_name": "string",
"store_info": "string",
"keyword": "string",
"brand_id": 0,
"cate_id": 0,
"mer_cate_id": [
0
],
"unit_name": "string",
"sort": 0,
"is_good": 0,
"temp_id": 0,
"attr": [
"string"
],
"extension_type": 0,
"content": "string",
"spec_type": 0,
"give_coupon_ids": [
"string"
],
"is_gift_bag": 0,
"attrValue": [
{
"product_id": 0,
"detail": "string",
"sku": "string",
"stock": 0,
"sales": 0,
"image": "string",
"bar_code": "string",
"cost": "string",
"ot_price": "string",
"price": "string",
"volume": "string",
"weight": "string",
"type": 0,
"extension_one": "string",
"extension_two": "string",
"unique": "string",
"value0": "string"
}
]
}
示例代码
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/seckill_product/create' \
--header 'x-token: {{x-token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"start_day": "string",
"end_day": "string",
"start_time": "string",
"end_time": "string",
"once_pay_count": "string",
"all_pay_count": "string",
"old_product_id": 0,
"image": "string",
"slider_image": [
"string"
],
"store_name": "string",
"store_info": "string",
"keyword": "string",
"brand_id": 0,
"cate_id": 0,
"mer_cate_id": [
0
],
"unit_name": "string",
"sort": 0,
"is_good": 0,
"temp_id": 0,
"attr": [
"string"
],
"extension_type": 0,
"content": "string",
"spec_type": 0,
"give_coupon_ids": [
"string"
],
"is_gift_bag": 0,
"attrValue": [
{
"product_id": 0,
"detail": "string",
"sku": "string",
"stock": 0,
"sales": 0,
"image": "string",
"bar_code": "string",
"cost": "string",
"ot_price": "string",
"price": "string",
"volume": "string",
"weight": "string",
"type": 0,
"extension_one": "string",
"extension_two": "string",
"unique": "string",
"value0": "string"
}
]
}'
返回响应
🟢200successful operation
application/json
Body
object {0}
示例
{}
修改于 2022-08-30 10:23:46