{
"name": "满100减20",
"description": "满100元可使用",
"coverUrl": "https://example.com/cover.png",
"discountRate": 85,
"maxDiscount": 5000,
"thresholdAmount": 10000,
"reduceAmount": 2000,
"giftDescription": "赠送一杯饮品",
"totalCount": 1000,
"claimLimit": 1,
"validityDays": 30,
"storeScope": 0,
"storeIds": "string"
}curl --location --request PUT 'http://10.168.1.163:48080/open-api/v1/coupon-templates/?merchantId&templateId=1' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "满100减20",
"description": "满100元可使用",
"coverUrl": "https://example.com/cover.png",
"discountRate": 85,
"maxDiscount": 5000,
"thresholdAmount": 10000,
"reduceAmount": 2000,
"giftDescription": "赠送一杯饮品",
"totalCount": 1000,
"claimLimit": 1,
"validityDays": 30,
"storeScope": 0,
"storeIds": "string"
}'{
"code": 0,
"msg": "",
"data": false
}