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

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

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

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

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

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