- 后台接口
- 客服
- 消息列表
- 客服会话
- im配置
- 会员等级
- 会员消息管理
- 会员企业认证
- 会员管理
- 会员留言
- 订单配置
- 配送类型
- 运费模板
- 地区管理
- 消息分类
- 邮箱模板管理
- 配送方式配置信息
- 许可证
- 相册图片管理
- 相册管理
- 友情链接
- 配置管理
- 区号管理
- 库存日志
- 分销商品
- 分销业绩订单结算
- 分销员分组
- 分销内容管理
- 分销模式设置
- 素材分类
- 微信直播
- 限时折扣
- 积分签到
- 限时秒杀
- 充值余额
- 营销管理
- 满减活动
- 活动赠品
- 积分商品
- 优惠券
- 商品服务
- 商品分组
- 商品
- 商品属性模板
- 电子卡券组
- 电子卡券
- 评价管理
- 商品分类
- 品牌
- 订单商品
- 订单管理
- 售后管理
- 管理员消息
- 商家账户表
- 店铺商品分类表
- 店铺表
- 商家表
- 入驻申请
- 商户账户
- 登录控制器
- 翻译管理
- 语言关联
- 语言列表
- 货币管理
- 提现申请
- 充值记录
- 发票资质
- 退款记录
- 退款申请
- 交易日志
- 发票申请
- 示例
- 首页分类栏
- 售后申请表
- 装修组件
- 页面管理
- 文章分类
- 文章
- 供应商管理
- 权限
- 管理员列表
- 角色
- 文件访问控制器
- 会员积分日志
- 访问统计控制器
- 销售统计控制器
- 面板控制器
- 店铺资金变化
- 账户总览
- 管理员日志
- 店铺员工管理
- 店铺订单配置
- 视频相册信息后台管理接口
- 视频相册后台管理接口
- 商品询价
- 客户端接口
商品详情
GET
/adminapi/product/product/detail
商品
请求参数
Query 参数
id
integer <int32>
必需
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/adminapi/product/product/detail?id'
返回响应
🟢200成功
*/*
Body
商品详情参数
productId
integer <int32>
商品ID
productName
string
商品名称
productSn
string
商品货号
productTsn
string
商品条形码
productStock
integer <int32>
商品库存
productPrice
number
商品价格
marketPrice
number
商品市场价
costPrice
number
成本价
shippingTplId
integer <int64>
商品销量
productStatus
integer <int32>
商品状态
productType
integer <int32>
商品类型
categoryId
integer <int32>
商品分类ID
brandId
integer <int32>
商品品牌ID
shopId
integer <int32>
商品店铺ID
keywords
string
商品关键词
shopCategoryId
integer <int32>
商品店铺分类ID
checkStatus
integer <int32>
商品审核状态
checkReason
string
商品审核原因
clickCount
integer <int32>
商品点击量
productWeight
number
商品重量
isPromote
integer <int32>
商品是否促销
isPromoteActivity
integer <int32>
商品是否活动
promotePrice
number
商品促销价格
promoteStartDate
string
商品促销开始时间
promoteEndDate
string
商品促销结束时间
seckillMaxNum
integer <int32>
商品秒杀商品数量
productBrief
string
商品秒杀库存
productDesc
string
商品描述
picUrl
string
商品图片
picThumb
string
商品缩略图
picOriginal
string
商品原图
productServiceIds
array[integer <int32>]
商品服务
freeShipping
integer <int32>
商品是否包邮
integral
integer <int32>
商品积分
addTime
integer <int64>
商品添加时间
sortOrder
integer <int32>
商品排序
storeSortOrder
integer <int32>
商品店铺排序
isDelete
integer <int32>
商品是否删除
isBest
integer <int32>
商品是否精品
isNew
integer <int32>
商品是否新品
isHot
integer <int32>
商品是否热销
lastUpdate
integer <int32>
商品最后更新时间
remark
string
商品备注
giveIntegral
integer <int32>
商品赠送积分
rankIntegral
integer <int32>
商品评价积分
suppliersId
integer <int32>
商品供应商ID
virtualSales
integer <int32>
商品虚拟销量
limitNumber
integer <int32>
商品限购数量
productCare
string
商品收藏数
productRelated
array[integer <int32>]
商品关联商品
isSupportReturn
integer <int32>
商品是否支持退货
isSupportCod
integer <int32>
可选
productVideo
string
商品视频
prepayPrice
number
商品预存款支付价格
productDescArr
array[object (ProductDescDTO) {3}]
商品描述
type
string
类型
pic
string
图片
html
string
内容
imgList
array[object (ProductGallery) {8}]
商品相册
picId
integer <int32>
商品图片ID
productId
integer <int32>
商品ID
picUrl
string
商品图片
picDesc
string
商品图片描述
picThumb
string
商品图片缩略图
picOriginal
string
商品图片原图
picLarge
string
商品图片大图
sortOrder
integer <int32>
商品图片排序
productVideoInfo
array[object (ProductVideo) {6}]
视频信息
id
integer <int32>
主键
videoId
integer <int32>
视频id
productId
integer <int32>
商品id
videoUrl
string
视频url
videoCover
string
视频封面
format
string
视频格式
productArticleList
array[integer <int32>]
商品文章
attrList
object (ProductAttrsDTO)
商品属性参数
normal
array[object (Attribute) {1}]
可选
spe
array[object (Attribute) {1}]
可选
extra
array[object (Attribute) {1}]
可选
productList
array[object (ProductSkuDTO) {10}]
商品SKU
skuId
integer <int32>
规格ID
productId
integer <int32>
商品ID
skuValue
string
商品规格值
skuData
array[object (SkuData) {2}]
可选
skuSn
string
货品编码
skuStock
integer <int32>
货品库存
skuTsn
string
条形码
skuPrice
string
货品价格
marketPrice
number
市场价(划线价)
costPrice
number
成本价
cardGroupId
integer <int32>
卡密组
virtualSample
string
虚拟商品
paidContent
array [object]
付费内容
noShipping
integer <int32>
可选
示例
{
"productId": 0,
"productName": "string",
"productSn": "string",
"productTsn": "string",
"productStock": 0,
"productPrice": 0,
"marketPrice": 0,
"costPrice": 0,
"shippingTplId": 0,
"productStatus": 0,
"productType": 0,
"categoryId": 0,
"brandId": 0,
"shopId": 0,
"keywords": "string",
"shopCategoryId": 0,
"checkStatus": 0,
"checkReason": "string",
"clickCount": 0,
"productWeight": 0,
"isPromote": 0,
"isPromoteActivity": 0,
"promotePrice": 0,
"promoteStartDate": "string",
"promoteEndDate": "string",
"seckillMaxNum": 0,
"productBrief": "string",
"productDesc": "string",
"picUrl": "string",
"picThumb": "string",
"picOriginal": "string",
"productServiceIds": [
0
],
"freeShipping": 0,
"integral": 0,
"addTime": 0,
"sortOrder": 0,
"storeSortOrder": 0,
"isDelete": 0,
"isBest": 0,
"isNew": 0,
"isHot": 0,
"lastUpdate": 0,
"remark": "string",
"giveIntegral": 0,
"rankIntegral": 0,
"suppliersId": 0,
"virtualSales": 0,
"limitNumber": 0,
"productCare": "string",
"productRelated": [
0
],
"isSupportReturn": 0,
"isSupportCod": 0,
"productVideo": "string",
"prepayPrice": 0,
"productDescArr": [
{
"type": "string",
"pic": "string",
"html": "string"
}
],
"imgList": [
{
"picId": 0,
"productId": 0,
"picUrl": "string",
"picDesc": "string",
"picThumb": "string",
"picOriginal": "string",
"picLarge": "string",
"sortOrder": 0
}
],
"productVideoInfo": [
{
"id": 0,
"videoId": 0,
"productId": 0,
"videoUrl": "string",
"videoCover": "string",
"format": "string"
}
],
"productArticleList": [
0
],
"attrList": {
"normal": [
{
"attrName": "string"
}
],
"spe": [
{
"attrName": "string"
}
],
"extra": [
{
"attrName": "string"
}
]
},
"productList": [
{
"skuId": 0,
"productId": 0,
"skuValue": "string",
"skuData": [
{
"name": "string",
"value": "string"
}
],
"skuSn": "string",
"skuStock": 0,
"skuTsn": "string",
"skuPrice": "string",
"marketPrice": 0,
"costPrice": 0
}
],
"cardGroupId": 0,
"virtualSample": "string",
"paidContent": [
{}
],
"noShipping": 0
}