Data Type: Coupon
Parameter | Type | Description | Required/Optional | Notes |
---|---|---|---|---|
coupon_id | String | Coupon ID | required | |
coupon_name | String | Coupon Name | required | |
coupon_count | Integer | Coupon Count | required | |
begin_time | Long | Begin Time | required | timestamp (milliseconds), UTC, Jan 1, 1970 |
expire_time | Long | Expire Time | required | timestamp (milliseconds), UTC, Jan 1, 1970 |
coupon_type | String | Coupon Type | optional (strongly recommended) | enumeration: fixed_discount discount threshold other |
coupon_rate | Double | Coupon Discount Rate | optional (strongly recommended) | Range: 0 - 1.00, example: 90% off: 0.9 |
coupon_threshold | String | Coupon Threshold | optional (strongly recommended) | |
cash_back_amount | Amount | Cash_back Amount | optional (strongly recommended) |
{
"coupon_id": "NOHF08938",
"coupon_name": "Limited Time Discount Coupon",
"coupon_count": 1,
"begin_time": 1596358039000,
"expire_time": 1616358039000,
"coupon_type": "discount",
"coupon_rate": 0.85,
"coupon_threshold": "10",
"cash_back_amount": {
"currency": "USD",
"amount_local": 68,
"amount_usd": 10,
"amount_cny": 6.8
}
}