公开  
根据productCode获取商品信息
参数名称 类型 是否必填 参数描述 备注
api_key String 系统分配的ApiKey
api_target String 调用接口名称 com_cmall_gogpay_product_api_QueryProductinfoApi
api_input String 输入参数 应用输入参数的JSON格式
参数名称 类型 必填 示例 参数描述 备注
productCode String 商品编码 商品编码
version int 版本号 仅用于扩展,无需传入
参数名称 类型 参数描述 备注
resultCode int 返回标记 如果返回标记1则为API调用成功 否则则是错误编号
data QueryProductInfoResult 数据
resultMessage String 返回消息 返回的消息描述
ProductPropertyInfo
参数名称 类型 参数描述 备注
propertyValue String 商品属性描述
propertyKey String 商品属性key

QueryProductInfoResult
参数名称 类型 参数描述 备注
authorityLogoList AuthorityLogo[] 商品服务标识
smallSellerName String 供应商名称
taxRate BigDecimal 商品税率 0.17
product_adv String 广告语
productCode String 商品编号
expiryDate Integer 保质期时间 30
smallSellerCode String 供应商编码
mainpicUrl String 商品主图
labels String 商品标签 纯铜电机,经典小巧
productVolume BigDecimal 商品体积 0
propertyInfoList ProductPropertyInfo[] 商品材质描述信息
skuList SkuInfoResult[] Sku列表
descriptionPic String 商品描述图
brandName String 品牌名称
productTradeType String 贸易类型 0为保税贸易,1为海外直邮,2为一般贸易
category Category[] 所属分类
productStatus int 上架状态 0 上架 1 下架
expiryUnit String 保质期单位
pcList String[] 商品轮播图
descriptionInfo String 商品描述
productVolumeItem String 长宽高
productStoreType String 存储方式 (0:常温,1:冷藏,2:冷冻)

Category
参数名称 类型 参数描述 备注
level String 层级
name String 分类名称
code String 编码

参数名称 类型 参数描述 备注
content String 名称 正品保障,七天无理由退换
location Integer 排序 1正序排列
pic String 图片 图片链接地址

SkuInfoResult
参数名称 类型 参数描述 备注
sellPrice BigDecimal 销售价
costPrice BigDecimal 成本价
marketPrice BigDecimal 市场价
saleYn String 是否可卖 Y可卖 N不可卖
stockNum Integer 库存数
skuName String sku名称
picurl String sku主图
keyvalue String 颜色款式 颜色=蓝色&款式=42
skuCode String sku编码

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