POST promotion/add_user_coupon
Request Information
URI Parameters
None.
Body Parameters
UserCouponAddViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| coupon_id | integer |
None. |
|
| date_coupon | boolean |
None. |
|
| app_id | integer |
None. |
|
| client_id | integer |
None. |
|
| path | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"coupon_id": 1,
"date_coupon": true,
"app_id": 1,
"client_id": 1,
"path": "sample string 3"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
DataResponseOfUserCouponResponseViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| message | string |
None. |
|
| success | boolean |
None. |
|
| data | UserCouponResponseViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"message": "sample string 2",
"success": true,
"data": {
"user_coupon_id": 1
}
}