Skip to content

价格修改

接口状态: 已完成
接口URL: POST http://商城域名/openapi/supplier/Goods/EditPrice
Content-Type:application/json
认证方式: 无需认证

Body请求参数

json
{
  "id": 102, //商品ID
  "price": 1.25 //商品单价
}
参数名参数值是否必填参数类型描述说明
id102Integer商品ID
price1.25Number商品单价

响应示例

成功(200)

json
{
  "code": 0,
  "message": ""
}
参数名参数值参数类型描述说明
code0Integer
messageString

失败(404)

json
{
  "code": 1,
  "message": "商品不存在"
}
参数名参数值参数类型描述说明
code1Integer状态码
message商品不存在String错误信息