商品详情
接口概述
该接口用于根据商品ID获取商品详情信息。
GET /api/v3/platform/product/detail
请求参数
| 名称 | 类型 | 必填 | 描述 | 示例值 |
|---|---|---|---|---|
| offerId | Long | 是 | 商品ID | 1 |
| country | String | 否 | 默认中文(zh),繁体(cht),英文(en),韩文(kor) | zh |
返回参数
| 名称 | 类型 | 描述 | 示例值 |
|---|---|---|---|
| code | Integer | 返回状态码 | 200 |
| message | String | 返回信息 | “success” |
| data | Object | 返回数据 | - |
| » offerId | Long | 商品ID | 34513534353434 |
| » categoryId | Long | 类别ID | 32 |
| » categoryName | String | 类目名称 | “猫砂盆” |
| » subject | String | 中文标题 | “猫砂超大号防外溅猫厕所” |
| » subjectTrans | String | 译文标题 | “Cat litter box extra large” |
| » description | String | 详细描述 | “详细描述信息” |
| » mainVideo | String | 主视频 | “1” |
| » detailVideo | String | 详细视频 | “1” |
| » productImage | Object | 图片模型 | 1 |
| » » images | String[] | 图片 | [“https://cbu01.alicdn.com/img/ibank/O1CN01pEsVS41Bs2uny9oka_!!0-0-cib.jpg“] |
| » » whiteImage | String | 白底图 | “https://cbu01.alicdn.com/img/ibank/O1CN01pEsVS41Bs2uny9oka_!!0-0-cib.jpg“ |
| » productAttribute | Object[] | 商品CPV属性 | 1 |
| » » attributeId | String | 属性ID | “1” |
| » » attributeName | String | 属性名称 | “颜色” |
| » » value | String | 属性值 | “红色” |
| » » attributeNameTrans | String | 属性名称翻译 | “Color” |
| » » valueTrans | String | 属性值翻译 | “Red” |
| » productSkuInfos | Object[] | 商品SKU信息 | 1 |
| » » amountOnSale | Integer | 库存 | 100 |
| » » price | String | 价格 | “19.99” |
| » » jxhyPrice | String | 精选货源价格 | “18.99” |
| » » skuId | Long | SKU | 123456 |
| » » specId | String | specid | “specid” |
| » » skuAttributes | Object[] | 属性 | 1 |
| » » » attributeId | Long | 属性ID | 1 |
| » » » attributeName | String | 属性名称 | “颜色” |
| » » » attributeNameTrans | String | 属性名称翻译 | “Color” |
| » » » value | String | 值 | “红色” |
| » » » valueTrans | String | 值翻译 | “Red” |
| » » » skuImageUrl | String | SKU图片 | “https://example.com/sku.jpg“ |
| » » pfxhyPrice | String | 库存 | “18.99” |
| » » consignPrice | String | 代发价格 | “19.99” |
| » » cargoNumber | String | SKU别名 | “SKU123” |
| » » promotionPrice | String | 营销价 | “17.99” |
| » » fenxiaoPriceInfo | Object | 分销价格 | 1 |
| » » » onePiecePrice | String | 一件代发价格 | “15” |
| » » » offerPrice | String | 分销价 | “12” |
| » productSaleInfo | Object | 商品销售信息 | 1 |
| » » amountOnSale | Integer | 商品库存 | 99999 |
| » » priceRangeList | Object[] | 价格区间 | - |
| » » » startQuantity | Integer | 起批量 | 10 |
| » » » price | String | 批发价 | “10” |
| » » » promotionPrice | String | 营销价 | “9” |
| » » » quoteType | Integer | 0-无sku按商品数量报价,1-按sku规格报价 2-有sku按商品数量报价 | 1 |
| » » unitInfo | Object | 单位信息 | - |
| » » » unit | String | 中文单位 | “盒” |
| » » » transUnit | String | 译文单位 | “Box” |
| » » fenxiaoSaleInfo | Object | 分销销售信息 | 1 |
| » » » onePieceFreePostage | Boolean | 是否一件代发包邮 | true |
| » » » startQuantity | Integer | 分销起批量 | 2 |
| » » » onePiecePrice | String | 一件代发价格 | “15” |
| » » » offerPrice | String | 分销价 | “12” |
| » productShippingInfo | Object | 商品包装配送相关数据 | 1 |
| » » sendGoodsAddressText | String | 地址 | “地址” |
| » » weight | Double | 重量,单位kg | 200 |
| » » width | Double | 宽,单位cm | 1 |
| » » height | Double | 高,单位cm | 3 |
| » » length | Double | 长,单位cm | 2 |
| » » skuShippingInfoList | Object[] | SKU信息 | “sku信息” |
| » » » specId | String | 规格id | “2b36920d5139fd431a2030090d1e2599” |
| » » » skuId | Long | SKU | 5104790281451 |
| » » » width | Double | 宽,单位cm | 1 |
| » » » length | Double | 长,单位cm | 2 |
| » » » height | Double | 高,单位cm | 3 |
| » » » weight | Long | 重,单位kg | 4 |
| » » shippingTimeGuarantee | String | 发货保障 | “shipIn24Hours-24小时发货” |
| » » skuShippingDetails | Object[] | SKU重量集合 | 1 |
| » » » skuId | String | SKU | “12123313” |
| » » » width | Double | 宽,单位cm | 10 |
| » » » length | Double | 长,单位cm | 10 |
| » » » height | Double | 高,单位cm | 10 |
| » » » weight | Double | 重,单位kg | 1.2 |
| » » » pkgSizeSource | String | 件重来源 | “预估-同款放大,商家自填,官方测量” |
| » » pkgSizeSource | String | 件重尺数据来源 | “预估-同款放大,商家自填,官方测量” |
| » isJxhy | boolean | 是否精选货源 | true |
| » sellerOpenId | String | 商家账号ID | “23tsdvcjdsngp30j4j3i5” |
| » minOrderQuantity | Integer | 最小起批量 | 1 |
| » batchNumber | Integer | 一手数量 | 200 |
| » status | String | 商品状态 | “published” |
| » tagInfoList | Object[] | 商品服务标签 | 1 |
| » » key | String | 服务名,isOnePsale-一件代发,select-跨境select货盘 | isOnePsale |
| » » value | Boolean | 是否开通 | true |
| » traceInfo | String | 打点信息 | “object_id@620201390233^object_type@offer” |
| » sellerMixSetting | Object | 变更设置 | 1 |
| » » generalHunpi | Boolean | 是否普通混批 | true |
| » » mixAmount | Integer | 混批金额 | 100 |
| » » mixNumber | Integer | 混批数量 | 2 |
| » productCargoNumber | String | 商品货号 | “1” |
| » sellerDataInfo | Object | 商家质量数据 | 1 |
| » » tradeMedalLevel | String | 卖家交易勋章 | 5 |
| » » compositeServiceScore | String | 综合服务分 | 3.5 |
| » » logisticsExperienceScore | String | 物流体验分 | 4.5 |
| » » disputeComplaintScore | String | 纠纷解决分 | 3.0 |
| » » offerExperienceScore | String | 商品体验分 | 4.0 |
| » » consultingExperienceScore | String | 咨询体验分 | 5.0 |
| » » repeatPurchasePercent | String | 买家回购率 | 0.4666 |
| » » afterSalesExperienceScore | String | 退换货体验分 | 3.0 |
| » » collect30DayWithin48HPercent | String | 最近30天48小时收货率 | 1 |
| » » qualityRefundWithin30Day | String | 最近30天品质退款率 | 2 |
| » soldOut | String | 商品库存量 | 12342 |
| » channelPrice | Object | 渠道价格数据 | “如下” |
| » » channelSkuPriceList | Object[] | 渠道sku价格列表 | “如下” |
| » » » skuId | Long | SKU id | 435234325 |
| » » » currentPrice | String | 渠道价格 | “23.41” |
| » promotionModel | Object | 营销 | - |
| » » hasPromotion | Boolean | 是否有促销 | true |
| » » promotionType | String | 促销类型 | “plus-plus会员” |
| » tradeScore | String | 货品评分 | “5.0” |
| » topCategoryId | Long | 一级类目 | 1 |
| » secondCategoryId | Long | 二级类目 | 2 |
| » thirdCategoryId | Long | 三级类目 | 3 |
| » sellingPoint | String[] | 多语言卖点描述 | [“卖点1”, “卖点2”] |
| » offerIdentities | String[] | 商家身份 | [“超级工厂”, “实力商家”] |
| » createDate | String | 创建时间 | “2024-05-24 00:00:00” |
| » isSelect | String | 跨境select货盘 | “true” |
| » certificateList | Object[] | 商品证书列表 | [ { “certificateCode”: “ZL 2018 3 065 8542.7”, “certificatePhotoList”: [“https://cbu01.alicdn.com/img/ibank/test“], “certificateName”: “外观专利证书” } ] |
| » » certificateName | String | 证书名称 | “外观专利证书” |
| » » certificateCode | String | 证书编号 | “ZL 2018 3 065 8542.7” |
| » » certificatePhotoList | String[] | 证书图片 | [“https://cbu01.alicdn.com/img/ibank/test“] |
| » promotionUrl | String | 商品详情页链接 | “商品详情页链接” |
示例请求
{"offerId": 1}
示例返回
{"code": 200,"message": "success","data": {"offerId": 34513534353434,"categoryId": 32,"categoryName": "猫砂盆","subject": "猫砂超大号防外溅猫厕所","subjectTrans": "Cat litter box extra large","description": "详细描述信息","mainVideo": "1","detailVideo": "1","productImage": {"images": ["https://cbu01.alicdn.com/img/ibank/O1CN01pEsVS41Bs2uny9oka_!!0-0-cib.jpg"],"whiteImage": "https://cbu01.alicdn.com/img/ibank/O1CN01pEsVS41Bs2uny9oka_!!0-0-cib.jpg"},"productAttribute": [{"attributeId": "1","attributeName": "颜色","value": "红色","attributeNameTrans": "Color","valueTrans": "Red"}],"productSkuInfos": [{"amountOnSale": 100,"price": "19.99","jxhyPrice": "18.99","skuId": 123456,"specId": "specid","skuAttributes": [{"attributeId": 1,"attributeName": "颜色","attributeNameTrans": "Color","value": "红色","valueTrans": "Red","skuImageUrl": "https://example.com/sku.jpg"}],"pfxhyPrice": "18.99","consignPrice": "19.99","cargoNumber": "SKU123","promotionPrice": "17.99"}],"productSaleInfo": {"amountOnSale": 99999,"priceRangeList": [{"startQuantity": 10,"price": "10","promotionPrice": "9","quoteType": 1}]},"productShippingInfo": {"sendGoodsAddressText": "地址","weight": 200,"width": 1,"height": 3,"length": 2,"skuShippingInfoList": [{"specId": "2b36920d5139fd431a2030090d1e2599","skuId": 5104790281451,"width": 1,"length": 2,"height": 3,"weight": 4}],"shippingTimeGuarantee": "shipIn24Hours-24小时发货"},"isJxhy": true,"sellerOpenId": "23tsdvcjdsngp30j4j3i5","minOrderQuantity": 1,"batchNumber": 200,"status": "published","tagInfoList": [{"key": "isOnePsale","value": true}],"traceInfo": "object_id@620201390233^object_type@offer","sellerMixSetting": {"generalHunpi": true,"mixAmount": 100,"mixNumber": 2},"productCargoNumber": "1","sellerDataInfo": {"tradeMedalLevel": "5","compositeServiceScore": "3.5","logisticsExperienceScore": "4.5","disputeComplaintScore": "3.0","offerExperienceScore": "4.0","consultingExperienceScore": "5.0","repeatPurchasePercent": "0.4666","afterSalesExperienceScore": "3.0","collect30DayWithin48HPercent": "1","qualityRefundWithin30Day": "2"},"soldOut": "12342","channelPrice": {"channelSkuPriceList": [{"skuId": 435234325,"currentPrice": "23.41"}]},"promotionModel": {"hasPromotion": true,"promotionType": "plus-plus会员"},"tradeScore": "5.0","topCategoryId": 1,"secondCategoryId": 2,"thirdCategoryId": 3,"sellingPoint": ["卖点1", "卖点2"],"offerIdentities": ["超级工厂", "实力商家"],"createDate": "2024-05-24 00:00:00","isSelect": "true","certificateList": [{"certificateName": "外观专利证书","certificateCode": "ZL 2018 3 065 8542.7","certificatePhotoList": ["https://cbu01.alicdn.com/img/ibank/test"]}],"promotionUrl": "商品详情页链接"}}
