Authorization: Bearer ********************
{
"card_id": "string",
"client_id": "string",
"end_time": "2019-08-24T14:15:22Z",
"name": "string",
"promotion": [
{
"free_coupons": [
{
"coupon_id": "string",
"cover": "string",
"cover_url": "string",
"desc": "string",
"name": "string",
"qty": 0,
"show_name": "string",
"type": "BLANK"
}
],
"free_point": 0,
"price": 0,
"value": 0
}
],
"start_time": "2019-08-24T14:15:22Z",
"user_id": "string"
}
curl --location --request POST '/cmc/crmCardPromotion/add?clientId=&userId=' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"card_id": "string",
"client_id": "string",
"end_time": "2019-08-24T14:15:22Z",
"name": "string",
"promotion": [
{
"free_coupons": [
{
"coupon_id": "string",
"cover": "string",
"cover_url": "string",
"desc": "string",
"name": "string",
"qty": 0,
"show_name": "string",
"type": "BLANK"
}
],
"free_point": 0,
"price": 0,
"value": 0
}
],
"start_time": "2019-08-24T14:15:22Z",
"user_id": "string"
}'
{
"code": "string",
"data": {
"card_id": "string",
"card_name": "string",
"client_id": "string",
"create_time": "2019-08-24T14:15:22Z",
"creator": "string",
"creator_name": "string",
"edit_time": "2019-08-24T14:15:22Z",
"editer": "string",
"editer_name": "string",
"end_time": "2019-08-24T14:15:22Z",
"id": "string",
"name": "string",
"promotion": [
{
"free_coupons": [
{
"coupon_id": "string",
"cover": "string",
"cover_url": "string",
"desc": "string",
"name": "string",
"qty": 0,
"show_name": "string",
"type": "BLANK"
}
],
"free_point": 0,
"price": 0,
"value": 0
}
],
"start_time": "2019-08-24T14:15:22Z",
"state": "OPEN"
},
"message": "string"
}