修改商品会员折扣(单规格)
POST
/goods/operation/update-member-price
最后修改时间:2024-08-14 08:45:36
请求参数
Body 参数multipart/form-data
goods_id
integer
要修改的商品ID
示例值:
7295
type
integer
必需
0不支持
1系统默认
2指定等级
示例值:
2
data
string
可选
data.type 数据值类型 1折扣 2金额
data.discount 数据值,折扣或者金额。 折扣时, 值为0.1-9.9
data.level_id 会员等级id
示例值:
[{"discount":"1","level_id":"22","type":1},{"discount":"5","level_id":"62","type":1},{"discount":"2","level_id":"176","type":1},{"discount":"3","level_id":"177","type":1},{"discount":"4","level_id":"178","type":1}]
示例代码
返回响应
修改于 2024-08-14 08:45:36