- 公共分类
- 直播小助手
- 优惠套餐
- 同城配送门店
- 同城配送订单
- 打印机管理
- DIY
- 直播间商品管理
- 自提件点
- 复制商品
- 秒杀商品
- 资金明细
- 预售商品
- 自动标签
- 发票管理
- 助力商品
- 用户管理
- 公告管理
- 拼团商品
- 拼团团队
- 财务管理
- 导入管理
- 保障服务
- Cache
- 分账单
- 分账申请
- 积分管理
- 一号通
- 商品标签
- 商品单位
- 仓库商品
- 身份管理
- 商品管理
- 优惠券
- 对账管理
- 店铺设置
- 导出文件 v1.1.0
- 附件管理
- 附件分类
- 管理员管理
- 配置管理
- 地区管理
- 产品规则模板
- 运费管理
- 客服管理
- 订单管理
- 退款订单
- 商品评价管理
- 统计
- 直播间管理
- 参数模板
- OpenApi
- 系统表单
- 配送员
- 卡密库
- 一次性卡密
- 代客下单
- 预约商品
针对活动添加商品
开发中
POST
/store/seckill_product/create
请求参数
Header 参数
x-token
string
可选
默认值:
{{x-token}}
Body 参数application/json
active_id
integer
活动ID
product_list
array [object {41}]
参与活动的商品列表
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
array[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
可选
params
array[string]
可选
attrValue
array [object {12}]
可选
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
可选
refund_switch
integer
可选
good_ids
array[string]
可选
auto_off_time
string
可选
mer_status
integer
可选
mer_id
integer
可选
示例
{
"active_id": 115,
"product_list": [
{
"product_id": 345,
"mer_id": 82,
"brand_id": 180,
"unit_name": "个",
"spec_type": 0,
"mer_status": 1,
"rate": "5.0",
"reply_count": 1,
"store_info": "测试商品",
"cate_id": 377,
"image": "https://mer1.crmeb.net/uploads/def/20231204/beb85252559767c1040d393352c6c980.png",
"slider_image": [
"https://mer1.crmeb.net/uploads/def/20231204/beb85252559767c1040d393352c6c980.png"
],
"store_name": "测试商品",
"keyword": "",
"sort": 0,
"is_show": 1,
"sales": 1,
"price": "10.00",
"extension_type": 0,
"refusal": "",
"cost": "10.00",
"ot_price": "10.00",
"stock": 0,
"is_gift_bag": 0,
"care_count": 0,
"status": -2,
"is_used": 1,
"create_time": "2023-12-04 11:22:42",
"product_type": 0,
"old_product_id": 345,
"integral_total": 0,
"integral_price_total": "0.00",
"mer_labels": "",
"is_good": 1,
"is_del": 0,
"type": 0,
"param_temp_id": "",
"mer_svip_status": 1,
"svip_price": 0,
"svip_price_type": 0,
"mer_form_id": 0,
"good_ids": [],
"delivery_free": 0,
"delivery_way": "1",
"old_stock": 0,
"sys_labels": [],
"mer_cate_id": [],
"content": "<p><img src=\"https://mer1.crmeb.net/uploads/def/20231204/beb85252559767c1040d393352c6c980.png\"/></p>",
"attr": [],
"attrValue": [
{
"value_id": 6223,
"product_id": 345,
"detail": "",
"sku": "",
"stock": 0,
"sales": 1,
"image": "https://mer1.crmeb.net/uploads/def/20231204/beb85252559767c1040d393352c6c980.png",
"bar_code": "",
"cost": "10.00",
"ot_price": "10.00",
"price": "10.00",
"volume": "0.00",
"weight": "0.00",
"type": 0,
"extension_one": "0.00",
"extension_two": "0.00",
"unique": "8964bf9f24b0",
"svip_price": "0.00",
"old_stock": 0
}
],
"merCateId": [],
"storeCategory": null,
"merchant": {
"is_trader": 0,
"type_id": 3,
"mer_id": 82,
"mer_name": "三只松鼠",
"mer_avatar": "https://qiniu-mer.crmeb.net/def/b7e70202309271456171887.jpg",
"product_score": "5.0",
"service_score": "5.0",
"postage_score": "5.0",
"service_phone": "",
"care_count": 3,
"is_margin": 10,
"category_id": 1,
"type_name": "旗舰店",
"category_name": "美妆护理"
}
}
]
}
示例代码
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 '{
"active_id": 115,
"product_list": [
{
"product_id": 345,
"mer_id": 82,
"brand_id": 180,
"unit_name": "个",
"spec_type": 0,
"mer_status": 1,
"rate": "5.0",
"reply_count": 1,
"store_info": "测试商品",
"cate_id": 377,
"image": "https://mer1.crmeb.net/uploads/def/20231204/beb85252559767c1040d393352c6c980.png",
"slider_image": [
"https://mer1.crmeb.net/uploads/def/20231204/beb85252559767c1040d393352c6c980.png"
],
"store_name": "测试商品",
"keyword": "",
"sort": 0,
"is_show": 1,
"sales": 1,
"price": "10.00",
"extension_type": 0,
"refusal": "",
"cost": "10.00",
"ot_price": "10.00",
"stock": 0,
"is_gift_bag": 0,
"care_count": 0,
"status": -2,
"is_used": 1,
"create_time": "2023-12-04 11:22:42",
"product_type": 0,
"old_product_id": 345,
"integral_total": 0,
"integral_price_total": "0.00",
"mer_labels": "",
"is_good": 1,
"is_del": 0,
"type": 0,
"param_temp_id": "",
"mer_svip_status": 1,
"svip_price": 0,
"svip_price_type": 0,
"mer_form_id": 0,
"good_ids": [],
"delivery_free": 0,
"delivery_way": "1",
"old_stock": 0,
"sys_labels": [],
"mer_cate_id": [],
"content": "<p><img src=\"https://mer1.crmeb.net/uploads/def/20231204/beb85252559767c1040d393352c6c980.png\"/></p>",
"attr": [],
"attrValue": [
{
"value_id": 6223,
"product_id": 345,
"detail": "",
"sku": "",
"stock": 0,
"sales": 1,
"image": "https://mer1.crmeb.net/uploads/def/20231204/beb85252559767c1040d393352c6c980.png",
"bar_code": "",
"cost": "10.00",
"ot_price": "10.00",
"price": "10.00",
"volume": "0.00",
"weight": "0.00",
"type": 0,
"extension_one": "0.00",
"extension_two": "0.00",
"unique": "8964bf9f24b0",
"svip_price": "0.00",
"old_stock": 0
}
],
"merCateId": [],
"storeCategory": null,
"merchant": {
"is_trader": 0,
"type_id": 3,
"mer_id": 82,
"mer_name": "三只松鼠",
"mer_avatar": "https://qiniu-mer.crmeb.net/def/b7e70202309271456171887.jpg",
"product_score": "5.0",
"service_score": "5.0",
"postage_score": "5.0",
"service_phone": "",
"care_count": 3,
"is_margin": 10,
"category_id": 1,
"type_name": "旗舰店",
"category_name": "美妆护理"
}
}
]
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
修改于 2024-04-23 06:40:18