接口地址 /supplierApi/goods/provide/getSpuInfo

请求方式 POST

consumes ["application/x-www-form-urlencoded"]

produces ["*/*"]

接口描述 根据商品SPU,查询平台商品SPU信息

请求参数

参数名称 说明 参数类型 是否必须 类型 schema
a_token header中a_token字段用于认证 header true string
poolSn 商品池编码 body true string
spuList 平台SPU编码列表,条数(取值范围1~100) body true array string

响应状态

状态码 说明 schema
200 OK 接口统一返回«List«SupplierApiSpuInfoVo»»

响应参数

参数名称 说明 类型 schema
code 接口返回码 int32
data 接口返回数据 array SupplierApiSpuInfoVo
message 接口返回消息 string

schema属性说明

SupplierApiSpuInfoVo

属性名称 说明 类型 schema
bannerImgs 商品轮播图 string
brandId 品牌ID int64
brandName 商品品牌 string
cateId 产品线ID int64
cateName 产品线 string
createTime 商品创建时间 date-time
deliveryCycle 商品发货时效(单位小时) string
deliveryPlace 发货地 string
deliveryTemplateId 运费模板ID int64
description 描述 string
expiration 保质期(单位:天) string
goodsDelivery 商品发货物流(多值”,”分割) string
goodsDeliveryIds 商品发货物流类型ID(多值”,”分割) string
goodsDetail 商品详情图 string
goodsImg 商品主图 string
goodsName 商品名称 string
goodsSn 商品货号 string
keywords 搜索关键字 空格 隔开 string
listedSeason 上市季节(1春季、2夏季、3秋季、4冬季) int32
material 材质 string
noShipRange 不发货区域id(通过地址接口查询),多值英文逗号分开 string
place 产地 string
poolSn 商品池编号 string
produceSeason 适用季节(0通用、1春季、2夏季、3秋季、4冬季) int32
produceYear 上市时间(数字年份) int32
sexual 性别,0男女同款,1男款,2女款 int32
showCateId 展示分类ID int64
showCateName 展示分类 string
spu 平台商品编号 string
supplierName 商品供应商名称 string
supplierSpu 供应商商品编号 string
taxCode 税收分类编码 string
taxRate 商品税率(单位%) int64
transName 运费模板名称 string
unit 商品单位 string
updateTime 商品更新时间 date-time

响应示例

{
    "code": 0,
    "data": [
        {
            "bannerImgs": "",
            "brandId": 0,
            "brandName": "",
            "cateId": 0,
            "cateName": "",
            "createTime": "",
            "deliveryCycle": "",
            "deliveryPlace": "",
            "deliveryTemplateId": 0,
            "description": "",
            "expiration": "",
            "goodsDelivery": "",
            "goodsDeliveryIds": "",
            "goodsDetail": "",
            "goodsImg": "",
            "goodsName": "",
            "goodsSn": "",
            "keywords": "",
            "listedSeason": 0,
            "material": "",
            "noShipRange": "",
            "place": "",
            "poolSn": "",
            "produceSeason": 0,
            "produceYear": 0,
            "sexual": 0,
            "showCateId": 0,
            "showCateName": "",
            "spu": "",
            "supplierName": "",
            "supplierSpu": "",
            "taxCode": "",
            "taxRate": 0,
            "transName": "",
            "unit": "",
            "updateTime": ""
        }
    ],
    "message": ""
}
作者:周宁  创建时间:2024-11-13 15:32
最后编辑:周宁  更新时间:2025-04-09 17:02