- 商城侧 - 后台
- 用户
- 商品
- 设置
- 营销
- 订单
- 分销
- 回调
- 供应商
- 门店
- 系统
- 财务
- 商城侧 - 门店
- 商城侧 - 收银台
- 商城侧 - 供应商
- 商城侧 - 客服
保存拼团活动
POST
/adminapi/marketing/combination/{id}
请求参数
Authorization
在 header 添加参数
Authori-Zation
示例:
Authori-Zation: ********************
Path 参数
id
string
必需
Body 参数application/json
id
integer
必需
type
integer
必需
product_id
integer
必需
product_type
integer
必需
relation_id
integer
必需
mer_id
integer
必需
image
string
必需
images
array[string]
必需
title
string
必需
attr
string
必需
people
integer
必需
info
string
必需
price
integer
必需
sort
integer
必需
sales
integer
必需
stock
integer
必需
add_time
string
必需
is_host
integer
必需
is_show
integer
必需
is_del
integer
必需
combination
integer
必需
mer_use
integer
必需
is_postage
integer
必需
postage
integer
必需
effective_time
integer
必需
cost
integer
必需
browse
integer
必需
unit_name
string
必需
temp_id
integer
必需
weight
integer
必需
volume
integer
必需
num
integer
必需
once_num
integer
必需
quota
integer
必需
quota_show
integer
必需
virtual
integer
必需
is_support_refund
integer
必需
delivery_type
array[string]
必需
freight
integer
必需
custom_form
array[string]
必需
system_form_id
integer
必需
applicable_type
enum<integer>
适用门店类型
枚举值:
012
applicable_store_id
array[string]
必需
store_label_id
array[integer]
必需
ensure_id
array[string]
必需
specs
array[string]
必需
section_time
array[string]
必需
description
string
必需
attrs
array [object {17}]
必需
value1
string
可选
detail
object
可选
pic
string
可选
price
integer
可选
cost
integer
可选
ot_price
integer
可选
stock
integer
可选
quota
integer
可选
code
string
可选
bar_code
string
可选
weight
integer
可选
volume
integer
可选
brokerage
integer
可选
brokerage_two
integer
可选
_checked
boolean
可选
r_price
integer
可选
id
integer
可选
peopleNum
integer
必需
items
array [object {4}]
必需
value
string
可选
detailValue
string
可选
attrHidden
string
可选
detail
array[string]
可选
示例
{
"id": 0,
"type": 0,
"product_id": 0,
"product_type": 0,
"relation_id": 0,
"mer_id": 0,
"image": "string",
"images": [
"string"
],
"title": "string",
"attr": "string",
"people": 0,
"info": "string",
"price": 0,
"sort": 0,
"sales": 0,
"stock": 0,
"add_time": "string",
"is_host": 0,
"is_show": 0,
"is_del": 0,
"combination": 0,
"mer_use": 0,
"is_postage": 0,
"postage": 0,
"effective_time": 0,
"cost": 0,
"browse": 0,
"unit_name": "string",
"temp_id": 0,
"weight": 0,
"volume": 0,
"num": 0,
"once_num": 0,
"quota": 0,
"quota_show": 0,
"virtual": 0,
"is_support_refund": 0,
"delivery_type": [
"string"
],
"freight": 0,
"custom_form": [
"string"
],
"system_form_id": 0,
"applicable_type": 0,
"applicable_store_id": [
"string"
],
"store_label_id": [
0
],
"ensure_id": [
"string"
],
"specs": [
"string"
],
"section_time": [
"string"
],
"description": "string",
"attrs": [
{
"value1": "string",
"detail": {
"规格": "string"
},
"pic": "string",
"price": 0,
"cost": 0,
"ot_price": 0,
"stock": 0,
"quota": 0,
"code": "string",
"bar_code": "string",
"weight": 0,
"volume": 0,
"brokerage": 0,
"brokerage_two": 0,
"_checked": true,
"r_price": 0,
"id": 0
}
],
"peopleNum": 0,
"items": [
{
"value": "string",
"detailValue": "string",
"attrHidden": "string",
"detail": [
"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 '/adminapi/marketing/combination/' \
--header 'Content-Type: application/json' \
--header 'Authori-Zation;' \
--data-raw '{
"id": 0,
"type": 0,
"product_id": 0,
"product_type": 0,
"relation_id": 0,
"mer_id": 0,
"image": "string",
"images": [
"string"
],
"title": "string",
"attr": "string",
"people": 0,
"info": "string",
"price": 0,
"sort": 0,
"sales": 0,
"stock": 0,
"add_time": "string",
"is_host": 0,
"is_show": 0,
"is_del": 0,
"combination": 0,
"mer_use": 0,
"is_postage": 0,
"postage": 0,
"effective_time": 0,
"cost": 0,
"browse": 0,
"unit_name": "string",
"temp_id": 0,
"weight": 0,
"volume": 0,
"num": 0,
"once_num": 0,
"quota": 0,
"quota_show": 0,
"virtual": 0,
"is_support_refund": 0,
"delivery_type": [
"string"
],
"freight": 0,
"custom_form": [
"string"
],
"system_form_id": 0,
"applicable_type": 0,
"applicable_store_id": [
"string"
],
"store_label_id": [
0
],
"ensure_id": [
"string"
],
"specs": [
"string"
],
"section_time": [
"string"
],
"description": "string",
"attrs": [
{
"value1": "string",
"detail": {
"规格": "string"
},
"pic": "string",
"price": 0,
"cost": 0,
"ot_price": 0,
"stock": 0,
"quota": 0,
"code": "string",
"bar_code": "string",
"weight": 0,
"volume": 0,
"brokerage": 0,
"brokerage_two": 0,
"_checked": true,
"r_price": 0,
"id": 0
}
],
"peopleNum": 0,
"items": [
{
"value": "string",
"detailValue": "string",
"attrHidden": "string",
"detail": [
"string"
]
}
]
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}