{
"createBy": 0,
"createTime": "2019-08-24T14:15:22Z",
"updateBy": 0,
"updateTime": "2019-08-24T14:15:22Z",
"params": {
"property1": {},
"property2": {}
},
"createUser": "string",
"updateUser": "string",
"sortParams": {
"property1": "string",
"property2": "string"
},
"id": 0,
"name": "string",
"type": "string",
"value": 0,
"minSpend": 0,
"issueLimit": 0,
"perUserLimit": 0,
"startTime": "2019-08-24T14:15:22Z",
"endTime": "2019-08-24T14:15:22Z",
"durationDays": 0,
"description": "string",
"status": "string",
"startUpdateTime": "2019-08-24T14:15:22Z",
"endUpdateTime": "2019-08-24T14:15:22Z",
"itemType": "string",
"itemId": 0,
"redeemItemId": 0,
"validityType": "string"
}
curl --location --request PUT 'http://localhost:8027/marketing/coupon' \
--header 'Authorization: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"createBy": 0,
"createTime": "2019-08-24T14:15:22Z",
"updateBy": 0,
"updateTime": "2019-08-24T14:15:22Z",
"params": {
"property1": {},
"property2": {}
},
"createUser": "string",
"updateUser": "string",
"sortParams": {
"property1": "string",
"property2": "string"
},
"id": 0,
"name": "string",
"type": "string",
"value": 0,
"minSpend": 0,
"issueLimit": 0,
"perUserLimit": 0,
"startTime": "2019-08-24T14:15:22Z",
"endTime": "2019-08-24T14:15:22Z",
"durationDays": 0,
"description": "string",
"status": "string",
"startUpdateTime": "2019-08-24T14:15:22Z",
"endUpdateTime": "2019-08-24T14:15:22Z",
"itemType": "string",
"itemId": 0,
"redeemItemId": 0,
"validityType": "string"
}'
{
"code": 0,
"msg": "string",
"data": {}
}