保存产品接口
POST
https://micro-gfyx-api.b2btst.com/v1/cloud-shop/content/product-save
最后修改时间:2024-05-09 03:34:13
责任人:翁果
请求参数
Header 参数
access_token
string
必需
示例值:
{{pc登录态}}
Body 参数application/json
id
integer
产品id
name
string
产品名称
model
string
产品型号
brand
string
品牌
supply_cycle
integer
供货周期
categories
array [object {2}]
服务分类
category_code
string
分类code
category_name
string
分类名称
publish_year
integer
发布年份
advantage
string
独特卖点
business_model_ids
array[integer]
产品业态
attribute
string
产品属性
{"自定义属性":"自定义属性的值"}
remark
string
产品描述
pictures
array [object {1}]
产品图片
file_id
integer
必需
videos
array [object {1}]
产品视频
file_id
integer
必需
示例
{
"id": 0,
"name": "string",
"model": "string",
"brand": "string",
"supply_cycle": 0,
"categories": [
{
"category_code": "string",
"category_name": "string"
}
],
"publish_year": 0,
"advantage": "string",
"business_model_ids": [
0
],
"attribute": "string",
"remark": "string",
"pictures": [
{
"file_id": 0
}
],
"videos": [
{
"file_id": 0
}
]
}
返回响应
🟢200成功
application/json
Body
success
boolean
必需
error_code
integer
必需
message
string
必需
data
object | null
必需
id
integer
业态id
示例
{
"success": true,
"error_code": 0,
"message": "操作成功",
"data": {
"id": 1
}
}
修改于 2024-05-09 03:34:13