药房 - 自营商城(V3.0) API
  1. 拼团
药房 - 自营商城(V3.0) API
  • 商城侧 - 后台
    • 用户
      • 用户等级
        • 导入商品数据
        • 添加/修改会员等级
        • 获取等级会员信息
      • 用户登录
      • 获取用户信息
      • 编辑用户信息
      • 获取会员等级记录
    • 商品
      • 商品导入
        • 佣金导入
        • 会员价导入
      • 商品审核
        • 获取商品审核列表
        • 导入商品审核表
        • 导出商品审核
        • 重新审核
        • 更新
      • 新建或修改商品
      • 获取商品详细信息
      • 获取商品列表
      • 导出商品规格信息
      • 弹窗-商品列表
    • 设置
      • 同城配送
        • 获取配送记录
      • 获取全局设置
      • 订单设置
      • 获取订单设置 
    • 营销
      • 秒杀活动
        • 保存秒杀活动
        • 获取秒杀活动列表
        • 获取秒杀详情
        • 获取秒杀商品列表
      • 抽奖活动
        • 导出中奖记录
      • 拼团
        • 保存拼团活动
          POST
        • 获取拼团详情
          GET
        • 拼团活动参与人列表
          GET
        • 拼团活动订单
          GET
      • 砍价
        • 保存砍价
        • 砍价活动详情
        • 砍价商品列表
        • 砍价统计活动参与人
        • 砍价活动订单
        • 砍价列表
    • 订单
      • 售后订单
        • 导出售后订单数据
        • 获取售后订单列表
        • 售后订单筛选类型/状态参数
        • 售后订单详情
      • 订单发送货
      • 订单核销
      • 重新推送
      • 订单售后退款
      • 获取订单详情
      • 补齐订单佣金流水
      • 导出订单
    • 分销
      • 一级分销员列表
      • 分销头部统计
    • 回调
      • UU、达达回调
    • 供应商
      • 订单
        • 售后订单
          • 售后订单筛选类型/状态参数
          • 售后订单列表
          • 售后订单详情
        • 获取订单详情
    • 门店
      • 订单
        • 获取订单详情
        • 订单列表
      • 财务
        • 门店流水
        • 门店流水导出
        • 门店流水检索条件
      • 不同产品的适配门店列表
      • 获取店铺列表
      • 获取门店分类
      • 门店列表
    • 系统
      • 获取Erp日志
      • 获取小程序设置
    • 财务
      • 提现列表导出
  • 商城侧 - 门店
    • 用户
      • 获取用户列表
      • 检索用户列表
    • 订单
      • 售后订单
        • 导出售后订单数据
        • 订单售后
        • 售后订单筛选类型/状态参数
        • 售后订单列表
      • 获取订单详情
      • 付费会员订单
      • 导出订单
      • 获取配送员列表
      • 批量自动发货
      • 批量手动发货
    • 财务
      • 门店流水检索条件
      • 门店流水
    • 获取店铺配置
      GET
    • 获取店铺配置
      GET
  • 商城侧 - 收银台
    • 获取活动商品统计
      GET
    • 获取活动商品列表
      GET
    • 获取用户列表
      GET
  • 商城侧 - 供应商
    • 订单
      • 售后订单
        • 售后订单筛选类型/状态参数
        • 获取售后订单列表
        • 同意退款
        • 同意退货
      • 获取订单详情
    • 获取配置
  • 商城侧 - 客服
    • 订单
      • 订单列表
      • 同意退款
      • 订单详情
  1. 拼团

保存拼团活动

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}
示例
{}
上一页
导出中奖记录
下一页
获取拼团详情
Built with