公开  
参数名称 类型 是否必填 参数描述 备注
api_key String 系统分配的ApiKey
api_target String 调用接口名称 com_cmall_familyhas_api_ApiGetSkuInfo
api_input String 输入参数 应用输入参数的JSON格式
参数名称 类型 必填 示例 参数描述 备注
picWidth Integer 600 图片宽度
app_version String app版本 app版本
integralDetailId String 积分活动ID 商品参与积分活动标示
liveRoomId String 直播房间编号 为了统计直播房间商品点击次数
hjfEventCode String 惠积分活动编号 惠积分活动页面兑换跳转商品详情使用
isPurchase Integer 是否显示内购 默认值为0,显示内购活动传递1
version int 版本号 仅用于扩展,无需传入
productCode String 商品编号
fxFlag String 是否显示分销券后加 默认值为0,显示传递1
buyerType String 4497469400050001:内购会员,4497469400050002:注册会员 用户类型 用户类型
shortCode String 小程序推广赚分享参数唯一编号 推广赚,用于区分分销
huDongCode String 互动活动编号 互动活动编号
channelId String 渠道编号 惠家有app:449747430001,wap商城:449747430002,微信商城:449747430003,惠家有PC订单:449747430004
参数名称 类型 参数描述 备注
gift String 其他相关显示语 赠品
discount BigDecimal 折扣差价 市场价-当前售价
sellPrice BigDecimal 销售价
flagIncludeGift int 是否包含赠品 1:是;0:否
labelsList String[] 商品标签
productName String 商品名称
collectionProduct int 是否被收藏 0未收藏,1已收藏
priceLabel String 商品活动相关显示语 闪购,内购,...
brandCode String 品牌编号
discriptInfo String 商品描述
brandName String 品牌名称
exitVideo int 是否有视频 1:是;0:否
saleNum String 近30天销量
otherShow String[] 其他相关显示语 赠品
vipSpecialTip String 内购提示信息 内购每个账号每月最多购买5种商品,单个商品每月限买2件
shareUrl String 分享链接
commonProblem CommonProblem[] 常见问题 现在只有跨境通商品有常见问题
disMoney BigDecimal 返现金额 返现金额,默认是售价的5%
maxBuyCount int 最大购买数 程序里暂时默认为99
marketPrice BigDecimal 市场价 商品市场价
skuList ProductSkuInfoForApi[] sku信息
resultCode int 返回标记 如果返回标记1则为API调用成功 否则则是错误编号
vipSpecialPrice String 内购价格 内购价格,正在参加内购活动时此字段有效
videoUrl String 商品视频链接
maxSellPrice String sku最高销售价
productComment CdogProductComment[] 商品评论列表
showFXPrice String 小程序详情页是否展示分销价 0:否,1:是
flagCheap int 是否参加闪购 1:是;0:否
propertyInfoList Propertyinfo[] 商品属性 商品的自定义属性
flagSale Integer 是否在售
authorityLogo PcAuthorityLogoModel[] 权威标志
highPraiseRate String 好评率
limitBuyTip String 促销系统限购数提示 限购99件
propertyList PropertyInfoForProtuct[] 商品规格 商品的规格
productStatus String 商品上下架状态
minSellPrice String sku最低销售价
resultMessage String 返回消息 返回的消息描述
pcPicList PicInfo[] 轮播图
sysDateTime String 服务器时间
mainpicUrl PicInfo 商品图片 原图地址:picOldUrl;
新图地址:picNewUrl;
图片宽度:width;
图片高度:height
productCode String 商品编号
vipSecKill int 是否参加促销活动 0未参加,1正在参加活动
familyPriceName String 家有价 文本"家有价"
vipSpecialActivity int 是否参加内购 0未参加,1正在内购
discriptPicList PicInfo[] 内容图片
buttonMap Map 按钮相关 callBtn:电话;
shopCarBtn:加入购物车;
buyBtn:立即购买;
获取到map中对应的值为1的时候
endTime String 闪购结束时间
commentSumCounts Integer 全部评价数量
flagTheSea String 是否海外购 0:否,1:是
CcVideo
参数名称 类型 参数描述 备注
ccvid String 视频CCVID
img String 视频图片
time Integer 视频时长 单位:秒
status Integer 视频状态 0:未处理好视频,1:正常可播视频,2:其他状态(违规视频)

ProductSkuInfoForApi
参数名称 类型 参数描述 备注
disMoney BigDecimal 返现金额 返现金额,默认是售价的5%
limitBuy int 每用户限购数
marketPrice BigDecimal 市场价
keyValue String sku规格
stockNumSum int 总库存 各个仓库库存之和
vipSpecialPrice String 内购价
showLimitNum int 是否显示限购数,0:不显示,1显示
sellPrice BigDecimal 销售价
activityInfo ActivitySell[] 促销信息 在新商品详情页已作废
skuName String sku名称
miniOrder int 起订数量 最少购买数,默认为1
maxLimit int 用户最大限购个数
integral BigDecimal 积分
skuMaxBuy int 限购数 暂时为促销系统限购数所用
buyStatus String 购买状态 状态值对应:1(允许购买),2(活动尚未开始),3(活动已结束),4(活动进行中但是不可购买),5(其他状态位)
skuCode String sku编码

PropertyValueInfo
参数名称 类型 参数描述 备注
propertyValueCode String 属性Value编号
propertyValueName String 属性Value名称

Propertyinfo
参数名称 类型 参数描述 备注
propertykey String 属性名称
propertyValue String 属性值

PcAuthorityLogoModel
参数名称 类型 参数描述 备注
logoContent String 权威标志说明
logoPic String 权威标志图标
logoLocation Integer 位置

ActivitySell
参数名称 类型 参数描述 备注
flagCheap int 是否闪购 1:是;0:否
activityCode String 活动编号
activityPrice BigDecimal 活动价
activityName String 活动名称
remark String 活动描述
startTime String 开始时间
endTime String 结束时间

CommonProblem
参数名称 类型 参数描述 备注
title String 标题
content String 内容

CdogProductComment
参数名称 类型 参数描述 备注
opposeNum int 反对数
skuStyle String sku规格
commentContent String 评论内容
skuColor String sku颜色
commentAppendList ProductCommentAppend[] 追评列表
commentTime String 评论时间
replyTime String 回复时间
uid String uid
opposeFlag String 对反对的的态度:Y做了反对点击操作 N无操作
videoList CcVideo[] 商品评论视频 评论视频信息
userMobile String 用户手机号
gradeType String 评分类型
grade String 评分
commentPhotoList PicAllInfo[]
approveFlag String 对赞成的的态度:Y做了支持点击操作 N无操作
replyContent String 回复内容
skuCode String sku编号
userFace String 用户头像
approveNum int 赞成数

PicInfos
参数名称 类型 参数描述 备注
width Integer 图片宽度
picUrl String 图片url
height Integer 图片高度

PropertyInfoForProtuct
参数名称 类型 参数描述 备注
propertyKeyCode String 属性Key编号
propertyKeyName String 属性Key名称
propertyValueList PropertyValueInfo[] 属性Value信息列表

PicAllInfo
参数名称 类型 参数描述 备注
picInfo PicInfos 原图
bigPicInfo PicInfos 大图
smallPicInfo PicInfos 小图

ProductCommentAppend
参数名称 类型 参数描述 备注
replyTime String 回复时间
videoList CcVideo[] 商品追评视频 追评视频信息
commentPhotoList PicAllInfo[] 追评图片
commentDay String 追评天数
commentContent String 评论内容
replyContent String 回复内容
commentTime String 评论时间

PicInfo
参数名称 类型 参数描述 备注
originHeight int 数据库中图片高度
picOldUrl String 原图片地址
originWidth int 数据库中图片宽度
width Integer 图片宽度
oldHeight Integer 原图片高度
picNewUrl String 现图片地址
oldWidth Integer 原图片宽度
height Integer 图片高度

Map
参数名称 类型 参数描述 备注

String
参数名称 类型 参数描述 备注