接口地址 /supplierApi/goods/receive/updateSkuInfo
请求方式 POST
consumes ["application/json"]
produces ["*/*"]
接口描述 修改商品SKU信息
请求参数
参数名称 | 说明 | 参数类型 | 是否必须 | 类型 | schema |
---|---|---|---|---|---|
a_token | header中a_token字段用于认证 | header | true | string | |
goodsSkuInfo | 商品SKU信息 | body | true | SupplierGoodsSkuInfoApiParam | SupplierGoodsSkuInfoApiParam |
schema属性说明
SupplierGoodsSkuInfoApiParam
参数名称 | 说明 | 参数类型 | 是否必须 | 类型 | schema |
---|---|---|---|---|---|
poolSn | 商品池编号 | body | true | string | |
skuInfoList | 供应商商品SKU信息列表(添加必为同一SPU下的SKU) | body | true | array | SupplierProductsApiParam |
supplierSpu | 供应商商品编号 | body | true | string |
SupplierProductsApiParam
参数名称 | 说明 | 参数类型 | 是否必须 | 类型 | schema |
---|---|---|---|---|---|
barCode | 69码 | body | true | string | |
jdQiPrice | 京东旗舰价格(与对应链接同时存在) | body | false | number | |
jdQiUrl | 京东旗舰链接(如果没有线下图片,至少传入一个线上链接) | body | false | string | |
jdZiPrice | 京东自营价格(与对应链接同时存在) | body | false | number | |
jdZiUrl | 京东自营链接(如果没有线下图片,至少传入一个线上链接) | body | false | string | |
marketPrice | 市场售价(元,精确2位小数) | body | true | number | |
offlineImg | 线下图片图片(分辨率:800*800,格式:jpg)(线下图片与线上链接价格上传一个即可) | body | false | string | |
onStatus | 上架状态(0:上架,1下架) | body | true | int32 | |
shopPrice | 本店售价(元,精确2位小数) | body | true | number | |
skuAttrValue | 规格参数(格式(颜色:红色,尺码:170)字符串) | body | true | string | |
skuBannerImgs | sku轮播图(5-10张用 | 分割),(分辨率:800*800,格式:jpg) | body | true | string |
skuImg | SKU图片(分辨率:800*800,格式:jpg) | body | true | string | |
startNum | 起购量 | body | false | int32 | |
stock | 库存(件) | body | true | int32 | |
subGoodsSn | 子货号 | body | false | string | |
supplierSku | 供应商SKU编码 | body | true | string | |
supplyPrice | 供货价(元,精确2位小数) | body | true | number | |
thirdPrice | 三方价格(与对应链接同时存在) | body | false | number | |
thirdUrl | 三方链接(如果没有线下图片,至少传入一个线上链接) | body | false | string | |
tmallPrice | 天猫旗舰价格(与对应链接同时存在) | body | false | number | |
tmallUrl | 天猫旗舰链接(如果没有线下图片,至少传入一个线上链接) | body | false | string | |
volume | 商品体积(m³) | body | false | double | |
weight | 商品重量(kg) | body | false | double |
响应状态
状态码 | 说明 | schema |
---|---|---|
200 | OK | 接口统一返回«string» |
响应参数
参数名称 | 说明 | 类型 | schema |
---|---|---|---|
code | 接口返回码 | int32 | |
data | 接口返回数据 | string | |
message | 接口返回消息 | string |
响应示例
{
"code": 0,
"data": "",
"message": ""
}
作者:周宁 创建时间:2024-11-13 15:25
最后编辑:周宁 更新时间:2025-04-08 14:18
最后编辑:周宁 更新时间:2025-04-08 14:18