接口地址 /supplierApi/goods/receive/updateSpuInfo
请求方式 POST
consumes ["application/json"]
produces ["*/*"]
接口描述 修改商品SPU信息
请求参数
参数名称 | 说明 | 参数类型 | 是否必须 | 类型 | schema |
---|---|---|---|---|---|
a_token | header中a_token字段用于认证 | header | true | string | |
goodsSpuInfo | 商品SPU信息 | body | true | SupplierGoodsSpuInfoApiParam | SupplierGoodsSpuInfoApiParam |
schema属性说明
SupplierGoodsSpuInfoApiParam
参数名称 | 说明 | 参数类型 | 是否必须 | 类型 | schema |
---|---|---|---|---|---|
poolSn | 商品池编号 | body | true | string | |
spuInfo | 商品SPU信息 | body | true | SupplierGoodsApiParam | SupplierGoodsApiParam |
SupplierGoodsApiParam
参数名称 | 说明 | 参数类型 | 是否必须 | 类型 | schema |
---|---|---|---|---|---|
bannerImgs | 轮播图(5-10张用‘|’分割)(分辨率:800*800,格式:jpg) | body | true | string | |
brandId | 品牌ID | body | true | int64 | |
cateId | 产品线ID | body | true | int64 | |
deliveryCycle | 商品发货时效(单位小时)填24或48 | body | true | int32 | |
deliveryPlace | 发货地id | body | true | string | |
deliveryTemplateId | 运费模板ID | body | true | int64 | |
description | 描述(不超过1000个字符) | body | false | string | |
ditchId | 渠道id | body | true | int64 | |
expiration | 保质期(只填数字,单位:天) | body | false | string | |
goodsDeliveryIds | 商品发货物流类型ID(多值”,”分割) | body | true | string | |
goodsDetail | 商品详图,(分辨率:宽:790,格式:jpg) | body | true | string | |
goodsImg | 商品主图(分辨率:800*800,格式:jpg) | body | true | string | |
goodsName | 商品名称(品牌+空格+名称+空格+货号)如:BENEUNDER蕉下 胶囊伞太阳伞 ST643453 | body | true | string | |
goodsSn | 商品货号(不超过50个字符) | body | true | string | |
invoiceStatus | 开票状态 0是不开票 1是开票 | body | true | int32 | |
isLive | 是否支持直播,0 否,1是 | body | true | int32 | |
keywords | 搜索关键字 | body | false | string | |
listedSeason | 上市季节(1春季、2夏季、3秋季、4冬季) | body | true | int32 | |
logisticsPrice | 京东顺丰增补运费 | body | false | number | |
material | 材质 | body | false | string | |
noShipRange | 不发货区域(以逗号分隔的地址id字符串) | body | false | string | |
place | 产地 | body | false | string | |
produceSeason | 适用季节(0通用、1春季、2夏季、3秋季、4冬季) | body | true | int32 | |
produceYear | 上市时间(数字年份,如:2024) | body | true | int32 | |
recordNumber | 商品备案号 | body | false | string | |
sexual | 性别,0男女同款,1男款,2女款 | body | true | int32 | |
showCateId | 展示分类ID | body | true | int64 | |
supplierSpu | 供应商SPU编号(不超过50个字符) | body | true | string | |
taxCode | 税收编码 | body | true | string | |
taxRate | 税率 | body | true | int32 | |
unit | 单位 | body | true | string |
响应状态
状态码 | 说明 | schema |
---|---|---|
200 | OK | 接口统一返回«string» |
响应参数
参数名称 | 说明 | 类型 | schema |
---|---|---|---|
code | 接口返回码 | int32 | |
data | 接口返回数据 | string | |
message | 接口返回消息 | string |
响应示例
{
"code": 0,
"data": "",
"message": ""
}
作者:周宁 创建时间:2024-11-13 15:25
最后编辑:周宁 更新时间:2025-06-13 14:37
最后编辑:周宁 更新时间:2025-06-13 14:37